Chapter 5
S Mode Functions
© National Instruments Corp.
5-113
GPIB-SCSI-A User Manual
wrt
(continued)
Examples:
1.
Use
wrt
without the SCSI disconnection/reconnection capability to
write 50 bytes of data to the GPIB device at primary address 9 and
secondary address 1.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xDB
Byte 1 = 0x48
Byte 2 = 0x0C
Byte 3 = 0x00
Byte 4 = 0x32
Byte 5 = 0x00
SCSIArbitrate
SCSISelect(GPIB-SCSI-A id)
SCSICmd(CDB)
SCSIWrite(databuffer, 50)
SCSIStatus(Sbyte)
SCSIMesgIn(Mbyte)
ErrorCheck
Содержание GPIB-SCSI-A
Страница 20: ......
Страница 27: ......
Страница 355: ...Appendix C Operation of the GPIB National Instruments Corp C 7 GPIB SCSI A User Manual Figure C 2 Linear Configuration ...
Страница 356: ...Operation of the GPIB Appendix C GPIB SCSI A User Manual C 8 National Instruments Corp Figure C 3 Star Configuration ...