Aci_Cancel - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

/* Switch the barcode reading off for robot 1 */
int rc = 0;
char *cRobNum = "1";
char *Action = "OFF";
rc = aci_barcode( cRobNum, Action );
if( rc )
{
}
else
{
Figure 4-2

aci_cancel

#include "aci.h"
int aci_cancel( unsigned long request_id )
Figure 4-3
Table 4-2
Parameter
request_id
21 Dec 2001
aci_perror( "Command failed: " );
printf( "barcode reading switched off \n" );}
Example of the aci_barcode Function
The aci_cancel function cancels a specific DAS request. See
Figure 4-3.
aci_cancel Function Call
See Table 4-2 for a description of the parameter for the
aci_cancel function call.
Parameter for the aci_cancel Function Call
DAS command sequence number, get information on the sequence
number with the aci_list function
The aci_cancel function cancels a previously issued and not
completed client request. Before using this function, use the
aci_list function to get the request_id in order to cancel the
correct request.
Description

aci_cancel

4-7

Advertisement

Table of Contents
loading

Table of Contents