beautypg.com

Getinstrumentattribute – Teledyne LeCroy PXA125 User Manual

Page 130

background image

User Manual PXA125

Programming Reference 4-12

PCI_INS_ALREADY_OPEN

Trying to establish new communication link while instrument has already been connected.

Error Codes

Description

PCI_ERR_INDEX_OF_INS_NOT_EXIST

Illegal index number used to identify an instrument

Description

The purpose of this function is to allow you to read instrument identity and instrument op-
tions. There are many parameters that this function can supply. These parameters are listed
in the TEComm.h header file. Description of the structure is given in the following.

GetInstrumentAttribute

(continued)

Instrument Attributes Structure - INSTRATTR

m_Type

Describes the model number. For example – PXA125

m_Description

Provides description of the instrument – Arbitrary Waveform Generator

m_BasicModel

Provides in formation on maximum sample clock frequency. 125 MS/s
for the PXA125.

m_MemSize

Provides information on the installed memory. There are 2 Megs avail-
able.

m_ClockOption

Provides information on TCXO. The return will be TCXO.

m_Customer

Provides information on the name of the brand this instrument was la-
beled for. For example, Team Marketing

m_Date

Provides information on the date the instrument was first turned on and
its flash memory loaded with the driver.

m_Rev

Provides information on the hardware revision number of the instrument.
Revision number is given in letters, i.e., A, B, etc.

m_SerialNumber Provides the serial number of the instrument