![](http://pdfasset.owneriq.net/0/3c/03cbb79d-5073-4dca-95c4-0d8a91ff249a/03cbb79d-5073-4dca-95c4-0d8a91ff249a-bg3f.png)
Agilent E1441A Application Information 63
Chapter 2
/* 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;
}