Chapter 3
/* For use with a computer (PC), execute the following lines of code */
/*errStatus = viPrintf(en_mon, "SYST:COMM:SER:PRES:RAW");
CHECKERR(errStatus, __LINE__);
*/
/* Set Baud Rate to 19200 */
errStatus = viPrintf(en_mon, "SYST:COMM:SER:BAUD 19200");
CHECKERR(errStatus, __LINE__);
/* Close the Enhanced Monitor Instrument Session */
errStatus = viClose (en_mon);
CHECKERR(errStatus, __LINE__);
/* Close the Resource Manager Session */
errStatus = viClose (viRM);
CHECKERR(errStatus, __LINE__);
return VI_SUCCESS;
}
Programming the Enhanced Monitor
53