beautypg.com

Getinstrumentattribute – Teledyne LeCroy PXA125 User Manual

Page 129

background image

User Manual PXA125

Programming Reference 4-11

GetInstrumentAttribute

Purpose

Use this function to fetch instrument identity, options, slot location, serial number etc

.

C Syntax

GetInstrumentAttribute (int hInstr, INSTRATTR* pInstrAttr)

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()

pInstrAttr

Attributes structure. The structure is available in TEComm.h (INSTRATTR).

Return Values

Completion Codes

Description

PCI_SUCCESS

Function executed without errors