Chapter 7
G Mode Functions
© National Instruments Corp.
7-103
GPIB-SCSI-A User Manual
tstur - Test Unit Ready
Type:
SCSI function
Syntax:
tstur
<CR>
Purpose:
Use
tstur
to command the GPIB-SCSI-A to process the
Group 0 SCSI TEST UNIT READY command.
Remarks:
The GPIB-SCSI-A uses the following Command Descriptor
Block to command the Target to process
tstur
.
Bit
7
6
5
4
3
2
1
0
Byte
0
00
1
LUN
00
2
00
3
00
4
00
5
VCB
00
The LUN corresponds to the last value assigned with the
lun
command. The VCB corresponds to the last value assigned
with the
vcb
command.
During the execution of this command, if the GPIB-SCSI-A
encounters a phase which it does not expect, an EPHS error
indication results. For a list of the expected phases, refer to
the section titled Handling of SCSI Phases in G Mode in
Chapter 6, Programming in G Mode.
Refer to your SCSI device documentation for the expected
values in each byte of the Command Descriptor Block and the
SCSI phases that the device creates.
If there is anything following the command, the GPIB-SCSI-A
aborts the command with an EARG error indication.