PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a way to correlate the pciBus with the PXI slot location

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

0 Kudos
Message 1 of 3
(3,147 Views)

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

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(3,125 Views)

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

0 Kudos
Message 3 of 3
(3,103 Views)