Manual background

/* close the device session */ viClose(funcgen);

} /* end of main */

/*** Error handling function ***/

void err_handler(ViSession funcgen, ViStatus err)

{

char buf[1024] = {0}; viStatusDesc(funcgen, err, buf); printf("ERROR = %s\n", buf); return;

}

Chapter 2

Agilent E1441A Application Information 63

Page 63
Image 63
Agilent Technologies Chapter, Agilent E1441A Application Information, close the device session */ viClosefuncgen