56
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
3
Getting Started
Programming the Oscilloscope
•
•
"Opening the Oscilloscope Connection via the IO Library"
•
"Using :AUToscale to Automate Oscilloscope Setup"
•
"Using Other Oscilloscope Setup Commands"
•
"Capturing Data with the :DIGitize Command"
•
"Reading Query Responses from the Oscilloscope"
•
"Reading Query Results into String Variables"
•
"Reading Query Results into Numeric Variables"
•
"Reading Definite-Length Block Query Response Data"
•
"Sending Multiple Queries and Reading Results"
•
Referencing the IO Library
No matter which instrument programming library you use (SICL, VISA, or VISA
COM), you must reference the library from your program.
In C/C++, you must tell the compiler where to find the include and library files (see
the Keysight IO Libraries Suite documentation for more information).
To reference the Keysight VISA COM library in Visual Basic for Applications (VBA,
which comes with Microsoft Office products like Excel):
1
Choose
Tools > References...
from the main menu.
2
In the References dialog, check the "VISA COM 5.5 Type Library".
3
Click
OK
.