beautypg.com

Closeinstrument – Teledyne LeCroy PXA125 User Manual

Page 127

background image

User Manual PXA125

Programming Reference 4-9

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 TEComm.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.