13.07.2015 Views

Model 7002Switch System Instruction Manual - Advanced Test ...

Model 7002Switch System Instruction Manual - Advanced Test ...

Model 7002Switch System Instruction Manual - Advanced Test ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

:STATus SubsystemIEEE-488 ReferenceSee [:EVENt] for register bit descriptions. Note from the status structure (paragraph 5.6) thatthe condition registers precede the transition filters. Thus, only the PTR descriptions apply tothe condition registers.After sending one of these commands and addressing the <strong>Model</strong> 7002 to talk, a decimal valueis sent to the computer. The binary equivalent of this decimal value indicates which bits in theregister are set.For example, if sending :stat:oper:cond? returns a decimal value of 1024 (binary 0000 01000000 0000), bit B10 of the Operation Condition Register is set indicating that the instrument isin the idle state.Programmingexample10 OUTPUT 707; “:stat:oper:cond?”20 ENTER 707; A$30 PRINT A$40 ENDLine 10Line 20Line 30Queries the Operation Condition Register.Addresses the 7002 to talk.Displays the decimal value that defines which bits in the register are set.5.16.6:PREset:STATus:PREsetReturn 7002 to default conditionsShort-formformat:stat:presDescriptionWhen this command is sent, the SCPI event registers are affected as follows:1. All bits of the positive transition filter registers are set to one (1).2. All bits of the negative transition filter registers are cleared to zero (0).3. All bits of the following registers are cleared to zero (0):a. Operation Event Enable Register.b. Questionable Event Enable Register.4. All bits of the following registers are set to one (1):a. Trigger Event Enable Register.b. Arm Event Enable Register.c. Sequence Event Enable Register.Note: Registers not included in the above list are not affected by this command.ProgrammingexampleThe following programming example demonstrates how to use the :PRESet command of theSTATus subsystem:OUTPUT 707; “:stat:pres”5-123

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!