1256E User Manual
SCPI Command Basics 5-16
Racal Instruments
©
2002
*STB? Query
This query reads the value of the
Status Byte Register
. Each bit of
this register indicates a true/false status condition. When the bit is
set, the corresponding condition is TRUE; when the bit is cleared,
the condition is FALSE. The bit assignments are defined by the
IEEE-488.2 specification. The bit assignments are described in the
Status Byte Register section of this chapter.
The value returned by the *STB? Query may also be read using
the GPIB serial poll command.
Note that bit 6 (MSS) of the
Status Byte Register
remains set until
all enabled conditions are cleared. This is in contrast to the GPIB
serial poll operation, where the SRQ bit is set until it is read once,
and cleared after.
*OPC Command
The *OPC command will cause the Operation Complete bit of the
Standard Event Status Register to be set when the command is
executed. This is bit 0 of the register.
This command could be used to cause an interrupt (if bit 0 of the
Standard Event Status Enable Register
is set, and bit 5 of the
Service Request Enable Register
is set). This provides a means of
synchronizing the application program with the 1256 and ensuring
that all commands have been parsed and executed before
continuing execution of the application program.
The *OPC command has no parameters. The only valid syntax for
this command is:
*OPC
*OPC? Query
The *OPC? query causes the 1256 to reply with the value of “1"
when the query is executed. This query may be used to ensure
that all previous commands have been executed so the application
program may be sure that relays have been programmed to their
desired states before continuing execution of the application
program.
Содержание 1256E
Страница 5: ......
Страница 6: ...This page was left intentionally blank...
Страница 20: ...1256E User Manual Introduction 1 6 Racal Instruments 2002 This page was left intentionally blank...
Страница 30: ...1256E User Manual Getting Started 2 10 Racal Instruments 2002 This page was left intentionally blank...
Страница 96: ...1256E User Manual Computer Interfaces 4 32 Racal Instruments 2002 This page was left intentionally blank...
Страница 104: ...1256E User Manual SCPI Command Basics 5 8 Racal Instruments 2002 Figure 5 1 IEEE 488 2 Status Reporting Model...
Страница 146: ...1256E User Manual SCPI Command Reference 6 6 Racal Instruments 2002...
Страница 179: ...1256E User Manual Racal Instruments 2002 Advanced SCPI Operations 8 15 select input and output trigger sources and so on...
Страница 190: ...1256E User Manual Product Support 9 4 Racal Instruments 2002 This page was left intentionally blank...