beautypg.com

Agilent Technologies E1364A User Manual

Page 51

background image

printf ("\n\nConnect DMM HI and LO to E1364A NO line and
mainframe chassis");
getchar ();
ipromptf (dm, "TRIG SGL\n", "%t", reading);
printf ("\nDC Isolation -- Normally Open Channels to Chassis");
printf ("\n R = %s", reading);

printf ("\n\nConnect DMM HI and LO to E1364A NC line and
mainframe chassis");
getchar ();
iprintf (id, "OPEN (@100:115)\n");
ipromptf (id, "*OPC?\n", "%t", reading);
ipromptf (dm, "TRIG SGL\n", "%t", reading);
printf ("\nDC Isolation -- Normally Closed Channels to Chassis");
printf ("\n R = %s", reading);

iclose (id);

/* Close instrument session */

iclose (dm);
}

Appendix A

Example C Programs 51