Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 rating:
 1 out of 5     Rate this Document

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:

  1. Install just the PXI chassis and controller hardware
  2. Boot
  3. Open MAX, and identify your chassis and controllers
  4. Shut down
  5. Install DAQ devices
  6. Boot. Now your DAQ devices should be named "PXInSloty"
To rename the devices to the "PXInSloty" notation after they have already been recognized in the "DevX" notation, you first need to identify your chassis in MAX, and then go to "Tools>>NI-DAQmx Configuration>>Reassign Device Names to Default Values..."

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

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit