Chapter 5
S Mode Functions
© National Instruments Corp.
5-55
GPIB-SCSI-A User Manual
onl
(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 go offline. This means that the
GPIB-SCSI-A ignores all GPIB activity, just as if the GPIB cable were
removed from the GPIB-SCSI-A.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xCB
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x00
Byte 4 = 0x00
Byte 5 = 0x00
2.
Request the GPIB-SCSI-A to come back online and reset certain
operating characteristics back to their default conditions.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xCB
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x01
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 ...