User Guide

4-16 Ampex 1308910-01
Model No.
Running Head
aclGetStatus ACL Application Programmer’s Guide
unsigned int robot_warn;
unsigned int frame_warn;
unsigned int stacker_mode;
cart_sz_enum cartridge_sz;
} aclStatus_t;
STRUCTURE MEMBERS
valid Bit mask that indicates which members of the aclStatus_t structure
contain valid data. The following definitions apply:
ACL_COND_VALID cond member valid
ROBOT_POSN_VALID posn member valid
DOOR_STATUS_VALID door member valid
ROBOT_FAIL_VALID warn member valid
ROBOT_WARN_VALID robot_err member valid
ROBOT_ERR_VALID robot_err member valid
FRAME_WARN_VALID frame_warn member valid
STACKER_MODE_VALID stacker_mode member valid
CART_SIZE_VALID cartridge_sz member valid
skey Sense Key - SCSI sense key value describing the condition (see Table A-1).
scode Sense Code - SCSI ASC/ASCQ value describing the condition (see
Table A-2).
door Door Status - indicates whether the door(s) on the ACL are open or closed.
Will be returned as DOOR_OPEN whenever aclGetStatus() is invoked
with the door open. It will be returned as DOOR_CLOSED once, on the
first invocation of aclGetStatus() after the door is closed.
typedef enum
{
DOOR_CLOSED = 0,
DOOR_OPEN
} door_enum;
posn CHS Position:
DST 412 – Parked (0), or the address of the storage bin positioned in front
of the tape drive (1000-1006 / 0x3E8-0x3EE).
DST 712 – The address of the location at which the cartridge handler is
positioned:
Tape drive (2000 - 2001).
Storage bin (5000 - 5114) (maximum number of bins).
IMEX bin (10 - 11).