Chapter 5
ibic—Interface Bus Interactive Control Utility
© National Instruments Corp.
5-33
NI-488.2M SRM for OS/2
6.
Send the group execute trigger message (GET) to trigger a measurement
reading. The GET message is represented by the hex value 8.
gpib0:
[0138] (cmpl cic atn tacs)
count: 1
ibcmd "\x08"
7.
Wait for the DVM to set SRQ or wait for a timeout. If the current timeout
limit is too short, use
ibtmo
to change it.
gpib0:
[1138] (srqi cmpl cic atn tacs)
ibwait (TIMO SRQI)
8.
Set up the device for a serial poll. The question mark (
?
) and underscore
( _ ) characters represent the unlisten (UNL) and untalk (UNT) characters,
respectively, and reset the bus addressing. The underscore ( _ ) represents
the listen address of the Controller. The hex value 18 represents the serial
poll enable function, while
A
represents the talk address of the device.
gpib0:
[1174] (srqi cmpl rem cic atn lacs)
count: 5
ibcmd "?_ \x18A"