Chapter 7
G Mode Functions
© National Instruments Corp.
7-67
GPIB-SCSI-A User Manual
rdfct - Read Defect Data
Type:
SCSI function
Syntax:
rdfct configure byte, allocation
length
<CR>
Purpose:
Use
rdfct
to command the GPIB-SCSI-A to process the
Group 1 SCSI command READ DEFECT DATA.
Remarks:
The GPIB-SCSI-A uses the following Command Descriptor
Block to command the Target to process
rdfct
. Notice how
the parameters to the
rdfct
command are used in the
creation of the Command Descriptor Block.
Bit
7
6
5
4
3
2
1
0
Byte
0
37
1
LUN
00
2
Configure Byte
3
00
4
00
5
00
6
00
7
Allocation Length (Most Significant Byte)
8
Allocation Length (Least Significant Byte)
9
VCB
00
The Configure Byte and Allocation Length in the Command
Descriptor block above are given as parameters to the
rdfct
command. The LUN corresponds to the last value assigned
with the
lun
command. The VCB corresponds to the last
value assigned with the
vcb
command.