
User Manual 3155
Programming Reference 4-6
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 RIComm.dll function
FindInstrument()
pInstrAttr
Attributes structure. The structure is available in RIComm.h (INSTRATTR).
Return Values
Completion Codes
Description
PCI_SUCCESS
Function executed without errors
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 RIComm.h header file. Description of the structure is given in the following.
Summary of Contents for 3155
Page 4: ...This page was left intentionally blank...
Page 14: ...User Manual 3155 1 2 Overview Figure 1 1 3155 Series...
Page 41: ...User Manual 3155 Installation 2 15 Figure 2 15 Device Manager...
Page 44: ...User Manual 3155 2 18 Installation Figure 2 19 Customer Information Step...
Page 110: ...User Manual 3155 3 58 ArbConnection This page was left intentionally blank...
Page 150: ...User Manual 3155 Programming Reference 4 40...
Page 184: ...User Manual 3155 Programming Reference 4 74 This page was left intentionally blank...
Page 202: ...User Manual 3155 Specifications A 8 This page was left intentionally blank...