PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Identification of PXI device in the chassis

Hi,
How PXI controller handle device( in particular if there are more than one device with the same ID vendor and ID device how I write or read to one of them?)
If in test time user change device of slot (but no reaset computer from where the application is running) The controller will be know the new olace and write correctly to the device?)

another question: I write DLL for a PXI device? in whitch format the DLL receive identity of the device?

Thanks you for help
0 Kudos
Message 1 of 4
(3,303 Views)
Information about various register and the forms that they take are all contained in the CompactPCI and PXI specifications. This should also outline how the computer handles two devices with the same vendor ID and device ID. These two specs can be found at the following web addresses:

CompactPCI: http://www.picmg.org/
PXI: http://www.pxisa.org/

Trey Hamilton
National Instruments
Applications Engineer
http://www.ni.com/support
0 Kudos
Message 2 of 4
(3,304 Views)
hi,

Does the NI controller 8196 distinguish between two devices having the same vendor ID and device ID ? Does the MAX register them as separate boards as they are in different slots ? Are they assigned different I/O resource names so that while developing drivers for them, the user can select which board he wants. As per my knowledge, the VISA assigns them an ID such as: PXI2::13::INSTR. How does this ID indicate which slot the board is in ??

Any input is appreciated.

Thank you,

Sandeep
0 Kudos
Message 3 of 4
(3,133 Views)
Sandeep,

Yes, the 8196 can distinguish between two different PXI devices having the same PCI device/vendor ID, and they will be assigned unique resources by the BIOS. The BIOS doesn't really care what the PCI vendor/device ID is, those IDs are used by the OS to associate a driver with a card.

If you are using LabVIEW there is a property node that has a VISA resource name as the input and a slot number as the output. I'm not sure of the exact implementation details. You can see an example here.

Collin
0 Kudos
Message 4 of 4
(3,111 Views)