Teledyne LeCroy PXA125 User Manual
Page 122

User Manual PXA125
Programming Reference 4-4
PCI_NFOUND_INS_IN_SYSTEM
No PXA125’s were found in the system
Description
The
FindInstrument() scans the PCI bus for Plug & Play instruments (PXA125/1’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.