Chapter 7
G Mode Functions
© National Instruments Corp.
7-37
GPIB-SCSI-A User Manual
mdsct - Mode Select
Type:
SCSI function
Syntax:
mdsct parameter list length
<CR>
Purpose:
Use
mdsct
to command the GPIB-SCSI-A to process the
Group 0 SCSI MODE SELECT command.
Remarks:
The GPIB-SCSI-A uses the following Command Descriptor
Block to command the Target to process
mdsct
. Notice how
the parameter to the
mdsct
command is used in the creation
of the Command Descriptor Block.
Bit
7
6
5
4
3
2
1
0
Byte
0
15
1
LUN
00
2
00
3
00
4
Parameter List Length
5
VCB
00
The Parameter List Length in the Command Descriptor Block
above is given as a parameter to the
mdsct
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.
The Parameter List Length is the number of bytes that the
Initiator can send to the SCSI Target during the Data Out
phase. A Parameter List Length of 0 indicates that no data is
transferred. This condition is not considered an error. Any
other value indicates the number of bytes transferred.