ADIC Server manual Aciunload Function Call, See -51 for an description of the parameter for

Models: Server

1 218
Download 218 pages 15.53 Kb
Page 164
Image 164

aci_unload

The aci_unload function presses one or more buttons on a drive in the AML. See Figure 4-113.

#include "aci.h"

int aci_unload(char *szDrive)

Figure 4-113

aci_unload Function Call

 

 

See Table 4-51for an description of the parameter for the

 

 

aci_unload function.

Table 4-51

Parameter for the aci_unload Function Call

 

 

 

Parameter

 

Description

 

 

 

 

szDrive

 

 

Name of the drive for unload, defined in Description in the

 

 

 

AMS configuration

 

 

 

 

Return Values

0: The call was successful

1: The call failed

The external variable d_errno is set to one of the following

DAS error codes

EAMU

EAMUCOMM

EROBOTCOMM

EPROBDEV

ERPC

EINVALID

EDASINT

ETIMEOUT

ESWITCHINPROG

EINVALIDDEV

ENOROBOT

EDATABASE

ENOTSUPPHCMD

EAREAEMPTY

EPROBDEV

4-122 DAS ACI Functions

601626-B

Page 164
Image 164
ADIC Server manual Aciunload Function Call, See -51 for an description of the parameter for, Aciunload function