BASICA/QuickBASIC GPIB-PC Function Calls
Section Four A
GPIB-PC User Manual
4A-102
©National Instruments Corp.
c.
Serially poll the DVM to determine if the measured data is
valid (status byte = &HC0) or if a fault condition exists
(the &H40 bit and another bit of the status byte, other than
&H80, are set).
d.
If the data is valid, read 16 bytes from the DVM.
6.
End the session.
The example programs that follow are based on these assumptions:
•
The GPIB-PC is the designated System Active Controller of the
GPIB.
•
There is no change to the GPIB-PC default hardware settings.
•
The only changes made to the software parameters are those
necessary to define the device DVM at primary address 3.
•
There is only one GPIB-PC in use, which is designated GPIB0.
•
Its primary listen and talk addresses are &H20 (ASCII space
character) and &H40 (ASCII @ character), respectively.