Chapter 5 wibic–Windows Interface Bus Interactive Control Utility
© National Instruments Corp. 5-3 NI-488.2 User Manual for Windows
4. Write the function, range, and trigger source instructions to your device. Refer to the
instrument's user manual for the command bytes that work with your instrument.
ud0: ibwrt
enter string: "*RST; VAC; AUTO; TRIGGER 2; *SRE 16"
[0100] (cmpl)
count: 35
or
ud0: ibwrt "*RST; VAC; AUTO; TRIGGER 2; *SRE 16"
[0100] (cmpl)
count: 35
5. Trigger the device as follows:
ud0: ibtrg
[0100] (cmpl)
6. Wait for a timeout or for your device to request service. If the current timeout limit
is too short, use ibtmo to change it. Use the ibwait command as follows:
ud0: ibwait
enter wait mask: TIMO RQS
[0900] (rqs cmpl)
or
ud0: ibwait TIMO RQS
[0900] (rqs cmpl)
7. Read the serial poll status byte. This serial poll status byte varies depending on the
device used.
ud0: ibrsp
[0100] (cmpl)
Poll: 0x40 (decimal : 64)