Racal Instruments 3155 User Manual page 116

100ms/s arbitrary waveform generator
Table of Contents

Advertisement

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 o p-
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.
Programming Reference 4-6
User Manual 3155
.

Advertisement

Table of Contents
loading

Table of Contents