Chapter 5
S Mode Functions
© National Instruments Corp.
5-57
GPIB-SCSI-A User Manual
pct
(continued)
Examples:
Note:
Because the only difference between Examples 1 and 2 is the
CDB, only the place where the CDB is created is repeated.
Example 2 contains the entire program sequence.
1.
Request the GPIB-SCSI-A to send TCT to the GPIB device with
primary address 3, secondary address 0.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xCC
Byte 1 = 0x18
Byte 2 = 0x04
Byte 3 = 0x00
Byte 4 = 0x00
Byte 5 = 0x00
2.
Request the GPIB-SCSI-A to send TCT to the GPIB device with
primary address 12 with no secondary address.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xCA
Byte 1 = 0x60
Byte 2 = 0x00
Byte 3 = 0x00
Byte 4 = 0x00
Byte 5 = 0x00
SCSIArbitrate
SCSISelect(GPIB-SCSI-A id)
SCSICmd(CDB)
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 ...