beautypg.com

Openinstruemnt – Teledyne LeCroy PXA125 User Manual

Page 123

background image

User Manual PXA125

Programming Reference 4-5

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