/* Example 1: use of SEND & ENTER to communicate with an instrument (Keithley 195 meter) */ #include #define K195 16 void main () { int status,l; char r[80]; initialize (21,0); /* make PC a controller at address 21 */ send (K195,"F0R0X",&status); /* device command to set mode */ enter (r,80,&l,K195,&status); /* read a voltage */ printf ("Data received=%s\n",r); }