S Mode Functions
Chapter 5
GPIB-SCSI-A User Manual
5-48
© National Instruments Corp.
lines (continued)
Example:
Request the GPIB-SCSI-A to return the current state of the eight GPIB
control lines.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xC3
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x00
Byte 4 = 0x00
Byte 5 = 0x00
SCSIArbitrate
SCSISelect(GPIB-SCSI-A id)
SCSICmd(CDB)
SCSIRead(linesinfo,2)
SCSIStatus(Sbyte)
SCSIMesgIn(Mbyte)
ErrorCheck