
Chapter 6 157
Advanced Operations
Status Reporting
Accessing the Hardware Status Register #2 Group’s Registers
The following sections show the syntax and give programming
examples (using the IBASIC programming language) for the STATus
commands used to access the Hardware Status Register #2 Group’s
registers.
Reading the Condition Register
Example 6-69 Syntax
STATus:HARDware2:CONDition?
Example 6-70 Example
OUTPUT 714;"STAT:HARD2:COND?"
ENTER 714;Register_value
Reading the Transition Filters
Example 6-71 Syntax
STATus:HARDware2:PTRansition?
STATus:HARDware2:NTRansition?
Example 6-72 Example
OUTPUT 714;"STAT:HARD2:PTR?"
ENTER 714;Register_value
Writing the Transition Filters
Example 6-73 Syntax
STATus:HARDware2:PTRansition <integer>
STATus:HARDware2:NTRansition <integer>
Example 6-74 Example
OUTPUT 714;"STAT:HARD2:PTR 256"
Reading the Event Register
Example 6-75 Syntax
STATus:HARDware2:EVENt?
Example 6-76 Example
OUTPUT 714;"STAT:HARD2:EVEN?"
ENTER 714;Register_value
Comentários a estes Manuais