Chapter 5 Remote Interface Reference

The SCPI Status System

l} ghgf2 y

You must configure your computer to respond to the IEEE-488 service request (SRQ) interrupt to use this capability. Use the Status Byte

zvw ”z (*SRE command) to select which condition bits will assert the IEEE-488 SRQ line. If bit 6 (RQS) transitions from a “0” to a “1”, then an IEEE-488 service request message is sent to your computer. The computer may then poll the instruments on the interface bus to identify which one is asserting the service request line (the instrument with bit 6 set in its Serial Poll response).

Flz v gzv d zy3 w B /feg0 xzvy z gv O /z v““zxy0 vy z zz zz xzvy5

To read the Status Byte condition register, send an IEEE-488 Serial Poll message. Querying the condition register will return a decimal value which corresponds to the binary-weighted sum of the bits set in the register. Performing a Serial Poll will not affect measurement throughput.

Fi gzv d zzxzy vz hz“z3 yxv w gzv d xzv

yxvz v““zx

xz5 iz z

*OPC? x

”vvzz v xz

z v

 

xzy wz“ zzx” v gzv d5

 

l*STB? y

The *STB? command is similar to a Serial Poll but it is processed like any other instrument command. The *STB? command returns the same

result as a Serial Poll but bit 6 cleared as long as the enabled conditions remain.

The *STB? command is not handled automatically by the IEEE-488 bus interface hardware and will be executed only after previous commands have completed. You cannot clear an SRQ using the *STB? command.

278

Page 276
Image 276
HP 34970A manual Ghgf2 y, Gzv d zzxzy vz hzz3 yxv w gzv d xzv Yxvz vzx Xz5 iz z, Vvzz v xz Xzy wz zzx v gzv d5