Racal Instruments 3155 Spezifikationen Seite 113

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 204
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 112
User Manual 3155
Programming Reference 4-2
The RIComm.dll
Functions
The RICom.dll controls communication with the PCI bus. There are
five library functions that call this dll. These functions are described in
the following.
FindInstrument
Purpose
Scans PXI baskets for 3155 units and returns the number of instruments found.
C Syntax
INSTRUMENTSTATE FindInstrument (PDWORD pItems)
Resource Classes
PXI, PCI
Parameters
Name
Description
pItems
Returns the number of 3155’s in the system
Return Values
Completion Codes
Description
PCI_SUCCESS
Function executed without errors
Error Codes
Description
PCI_NFOUND_INS_IN_SYSTEM
No 3155’s were found in the system
Description
The FindInstrument() scans the PCI bus for Plug & Play instruments (3155’s only) and detects
how many instruments are plugged into your system. It also initiates communications and sets up
file images with all of the found devices. Therefore, you must use this function in your program
before you use any other functions.
The information that this function provides is handy for the OpenInstrument() function because it
tells you how many instruments established valid communication link. Once you have this piece of
information you can decide which one to open and use in your application.
The FindInstrument() function returns an integer. For example, if it finds one instrument only, then
the pItems returns 0. Likewise, if there are 5 instruments in your system, then this pItems returns 4.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Seitenansicht 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 203 204

Kommentare zu diesen Handbüchern

Keine Kommentare