}

 

 

firiderr( )

/*

Indicates that ibfind failed */

{

 

 

printf(“lbfind error: Does device name given match configuration name?\n”);

}

 

 

error(bad_string)

/*

This is a generalized error checking routine. */

char *bad_string;

 

 

{

printf("GPIB error while sending or receiving ‘%s’.\n”, bad_string);

printf("GPIB status: ibsta = 0x%x, iberr = 0x%x, ibcnt = 0x%x\n”, ibsta, iberr, ibcnt);

}

Application Programs 109

Page 108
Image 108
Agilent Technologies 66lxxA manual This is a generalized error checking routine