EasyManua.ls Logo

Keysight 81150A - Page 593

Keysight 81150A
672 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Programming Reference
81150A and 81160A User’s Guide 593
// Turn on output (channel 2)
viPrintf(vi, "OUTPut2 on\n");
// Turn sweep on
viPrintf(vi, "SWEep2:STATe ON\n");
ViChar err_msg[256];
ViInt32 err_num;
// Check for first error
viQueryf(vi, "SYSTem:ERRor?\n", "%d,%t", &err_num, err_msg);
printf("Error Number: %d; Error Message: %s\n", err_num,
err_msg);
/* Close session */
viClose (vi);
viClose (viRm);
return 0;
}

Table of Contents

Related product manuals