Lun - Set Logical Unit Number - National Instruments GPIB-SCSI-A User Manual

Scsi-to-ieee 488 controller
Hide thumbs Also See for GPIB-SCSI-A:
Table of Contents

Advertisement

Chapter 7

lun - Set Logical Unit Number

Type:
SCSI Configuration function
Syntax:
lun value<CR>
lun?<CR>
Purpose:
Use lun if you want to change the value that the
GPIB-SCSI-A uses in the Logical Unit Number portion of any
Command Descriptor Block created during a high-level
command sequence.
Remarks:
This command is in effect for any of the high-level
GPIB-SCSI-A commands that communicate with the SCSI.
For more information on the Logical Unit Number or the
command descriptor blocks, refer to Appendix D, Operation
of the SCSI. The default value for lun is 0.
If you enter lun?, the GPIB-SCSI-A places the current value
of lun into the Command and Status Channel buffer followed
by a <CR><LF>.
value represents a 3-bit unsigned number. Correct values
range from 0 to 7. If a number that is too large is entered, or if
there is no question mark and no value following the
command, the GPIB-SCSI-A aborts the command with an
EARG error indication.
The assignment made by this function remains in effect until
you call lun again or turn off the GPIB-SCSI-A.
See Also:
Appendix D, Operation of the SCSI.
© National Instruments Corp.
or
7-35
GPIB-SCSI-A User Manual
G Mode Functions

Advertisement

Table of Contents
loading

Table of Contents