User Manual PXA125
Programming Reference 4-15
The TE5200drv.dll
Functions
The TE5200drv.dll controls the complete functionality of the
instrument. You also have to use this dll to communicate with your
instrument. Communication with the instrument is done using SCPI
commands. The SCPI commands by themselves cannot program the
instrument but must be used with conjunction with the TE5200drv.dll.
There are two library functions that call this dll. These functions are
described in the following..
SendCommand
Purpose
Use this function to send SCPI commands to the instrument
C Syntax
INSTRUMENTSTATE SendCommand (int hInstr, char *inbuf)
Resource Classes
PXI, PCI
Parameters
Name
Description
hInstr
Instrument handle number. Must be out of a range of instruments that were found in the PXI baskets.
The numbers start at 0 (for first device) to n-1. This value is extracted using the TEComm.dll function
FindInstrument()
inbuf
Contains one or more SCPI commands. 256 characters limit the number of characters in this buffer.
The commands must be terminated by ‘\0’. If the inbuf contains queries, the returned strings will be
placed in the inbuf and also in this case, the size is limited by 256 characters.
Summary of Contents for PXA125
Page 14: ...User Manual PXA125 xiv This page intentionally left blank ...
Page 58: ...User Manual PXA125 2 44 Installation Figure 2 30 Communicating with your Instrument ...
Page 118: ...User Manual PXA125 3 104 ArbConnection This page intentionally left blank ...
Page 120: ...User Manual PXA125 Programming Reference 4 2 ...
Page 161: ...User Manual PXA125 Programming Reference 4 43 ...
Page 167: ...User Manual PXA125 Programming Reference 4 49 MAXimum 10 in units of volts ...
Page 179: ...User Manual PXA125 Programming Reference 4 61 ...
Page 186: ...User Manual PXA125 Programming Reference 4 68 ...
Page 193: ...User Manual PXA125 Programming Reference 4 75 ...
Page 208: ...User Manual PXA125 Programming Reference 4 90 This page intentionally left blank ...
Page 219: ...User Manual PXA125 Specifications A 101 This page intentionally left blank ...