Naming PXI Devices in MAX as DevX or PXInSloty Hardware: Modular Instruments
Problem: How does MAX name PXI devices by default? Sometimes they show up as PXInSloty and sometimes as DevX . I am trying to programmatically get the VISA name from LabVIEW, to be able to reference the device. What determines whether a device will be assigned resource name as PXIxSloty or DevX? Solution: NI-DAQmx names devices "DevX" or "PXInSloty" (chassis n, slot y), not NI-VISA. NI-VISA device names are of the form "PXIn::y::INSTR" (PCI bus n, PCI device number y). NI-DAQmx names its devices when they are first installed. Devices get the "DevX" moniker when NI-DAQmx can't figure out which chassis and slot the device is in when the device is first installed. This is immediately after you complete the Windows "Add Hardware Wizard" for your DAQ devices. When NI-DAQmx names its devices "PXInSloty", it means that it did know the chassis and slot the device was in when it added the device. For this to happen, you must have already identified your controller and chassis in MAX before going through the "Add Hardware Wizard" for DAQ devices. For a new system, the correct order of installation is:
Related Links: Programmatic PXI Slot Detection Programmatically Change PCI Bus Number of PXI Resource Name Attachments:
Report Date: 05/05/2006 Last Updated: 05/23/2007 Document ID: 3X4E98G4 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
