Racal Instruments 3155 Spezifikationen Seite 114

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 204
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 113
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Seitenansicht 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 203 204

Kommentare zu diesen Handbüchern

Keine Kommentare