National Instruments GPIB-PC User Manual

Page 212

Advertising
background image

IBIC

Section Five

GPIB-PC User Manual

5-24

©National Instruments Corp.

Write the function, range, and trigger source instructions to the DVM.
Be sure an error has not occurred before proceeding with the sample
program.

Example:

GPIB0:

[01A8] (cmpl lok cic tacs)

count: 6

ibwrt "F3R7T3"

Send the group execute trigger message (GET) to trigger a
measurement reading. The GET message is represented by the hex
value 8.

Example:

GPIB0:

[0188] (cmpl lok cic atn tacs)

count: 1

ibcmd "\x08"

Wait for the DVM to set SRQ or for a timeout; if the current timeout
limit is too short, use

IBTMO

to change it.

Example:

Advertising