Programming reference, Chapter 4 – Teledyne LeCroy PXA125 User Manual
Page 119
Chapter 4
PROGRAMMING REFERENCE
What’s In This
Chapter
This Chapter lists and describes the software drivers that are supplied
with the instrument. It also lists and describes the set of SCPI-
compatible (Standard Commands for Programmable Instruments)
commands used to operate the PXA125. To provide familiar
formatting for users who have previously used the SCPI reference
documentation, the command descriptions are dealt in a similar
manner. In particular, each sub-system's documentation starts with a
short description, followed by a table showing the complete set of
commands in the sub-system; finally the effects of individual
keywords and parameters are described. Complete listing of all
commands used for programming the PXA125 is given in Table 4.1.
What’s Required
In order for you to start programming the Model PXA125, you’ll need
to have some files, libraries and header files installed in various
folders of your computer. Check that you have all of these files before
you start with your own application.
When you run the install program from the supplied CD, the
installation program will automatically generate a folder with the name
PXA125. In this folder you’ll have three other sub-folders: Bin, Include
and Lib/MSC. Check in the Bin sub-folder that you have TEComm.dll
and te5200drv.dll, check in the Include sub-folder that you have
TEComm.h and te5200drv.h and check in the Lib/MSC folder that you
have TEComm.lib and te5200drv.lib. Source code for an application
example is also included in the main folder.
To program the PXA125, you’ll need to copy the header and library
files to your application folder. You’ll also need the above two libraries
and a set of SCPI commands. Description of the libraries and their
functions is given below, followed by detailed introduction to SCPI
format and syntax.
The TEComm.dll
Functions
The TECom.dll controls communication with the PCI bus. There are
five library functions that call this dll. These functions are described in
the following.