User Manual 3155
Programming Reference 4-5
CloseInstrument
Purpose
Terminates communications with one of the instruments
C Syntax
CloseInstrument (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_INDEX_OF_INS_NOT_EXIST
Illegal index number used to identify an instrument
Description
Use this function if you want to remove the handle from one or more instruments. After you free the
handle, you will not be able to access the instrument before you use the Openinstrument() function
again.
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...