06-29-2016 05:45 PM
Given I have the following from MAX:
visa://192.168.1.12/PXI14::4::INSTR
PCI Bus = 14
PCI Device = 4
VISA resource name = PXI14::4::INSTR
is there a way I can determine the slot location of my third-party card in the PXI chassis?
I am using a PXI-1042Q chassis with a PXI-8106 controller running LabVIEW RT 2015
06-30-2016 03:09 PM
faustina,
If you know the Bus and Device number, you should be able to find the slot number by looking in the pxisys.ini file from C:\Windows. This KB has some general information and notes about limitations but considering you have the VISA resource name, you may be able to read back the slot in software.
Hope this helps!
Trent W
NI Applications Engineer
07-01-2016 10:43 PM
faustina,
Some other comments: the PCI device number stays the same for a given slot, though the bus number can change. For example, the device numbers in a PXI-1042Q will start at 15 for slot 2 and decrement until they hit 9 for slot 8. Other chassis will have different arrangements of device numbers.
Because your card is device 4 I can tell that there's a bridge on the card. This means it will have the same device number regardless of the slot. The bridge on the card will have a device number that corresponds to the slot, but it's harder to find that.
- Robert