User Manual 3155
Programming Reference 4-3
OpenInstruemnt
Purpose
Initiates communications with one of the instruments found using the function FindInstrument()
C Syntax
OpenInstrument (int hInstr)
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()
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_OPEN_INS_FAILED
Could not succeed to initiate communications with the selected instrument.
Description
The OpenInstrument() function can be used only after you initiate communication with your
instruments using the function FindInstrument(). This function enables communication and
assigns a handle to specific device number. For example, if you want to use device number
2, set the value of hInstr to 1. Likewise, if you want to use device number 8, set the value of
hInstr to 7.
Содержание 3155
Страница 4: ...This page was left intentionally blank...
Страница 14: ...User Manual 3155 1 2 Overview Figure 1 1 3155 Series...
Страница 16: ...User Manual 3155 1 4 Overview Figure 1 3 WaveCAD Wave Composer Figure 1 4 WaveCAD FM Wave Composer...
Страница 41: ...User Manual 3155 Installation 2 15 Figure 2 15 Device Manager...
Страница 44: ...User Manual 3155 2 18 Installation Figure 2 19 Customer Information Step...
Страница 110: ...User Manual 3155 3 58 ArbConnection This page was left intentionally blank...
Страница 150: ...User Manual 3155 Programming Reference 4 40...
Страница 184: ...User Manual 3155 Programming Reference 4 74 This page was left intentionally blank...
Страница 202: ...User Manual 3155 Specifications A 8 This page was left intentionally blank...