10-13-2008 04:37 AM
Hie,
I have several PXI multifunction cards in my PXI chassis : I want to control them with the NiDaqMX library, but I don't want to access themwith their name defined in the MAX software (dev0, dev1 ... or name redefined).
I know exactly the type and where my cards are present in the PXI chassis. I want to access them by using the slot number.
Is there a possibility to do that ??
10-17-2008 08:20 AM
10-18-2008 09:27 AM
10-20-2008 10:48 AM - edited 10-20-2008 10:50 AM
Hi,
It is possible with a bit of programming. I'm not sure what API you're using, but you'll need to use a DAQmx system property node Device names (DAQmxGetSysDevNames() in C) to get the device names in your system, and feed those values into the Active Device (device property node) in LabVIEW and then query the pxi slot number. With C you would use: DAQmxGetDevPXISlotNum().
This should get you the devices at the slots. You can also use the Product type property if you want to search that way (ie PXI-6259).
Hope this helps, please post back if you have any questions.
Andrew S