05-21-2016 01:53 PM
Hi,
I have to rebuild a system that was defined some years ago, a system that uses one NI PXI-1045 chassis with several NI PXI cards and Pickering PXI cards.
The problem is that the actual system has assigned different Bus and Device (slot) numbers to the Pickering cards and I don't know how to change them.
The test software cannot be change and searches for some particular values of Bus and Device numbers.
It's not a problem for the NI cards, because I can change their Device Names in MAX, but the Pickering driver searches only for those particular Bus & Device #.
Any idea how can I change them in order to match the particular values?
For example, one Pickering card has to be on Bus 19 and Device (Slot) 11.
But now, after I installed the cards exactly in the same slot numbers as they should be, I have the Bus 18 and Device 13 assigned...
Any help, please?
Best regards,
Paul
05-23-2016 08:48 AM
Paul,
Device numbers are a function of slot, but they're not equal. Slot 2 is usually device 15, and the device numbers decrease as you move to the right. Until you hit a new segment, and they'll start over at 15. There may also be a skipped number because of the backplane bridge.
Bus numbers are assigned by the BIOS and generally reflect the sum of the buses between the device and the system. So to change bus numbers you need to change the number (or order) of buses. In practice you can affect this in a few ways. 1) If using a 2-port PCIe MXI card, switch which port you're using. 2) Switch PCIe slots in the host computer (if using MXI). 3) Change bus segments in the PXI-1045 (move a segment to the right to increase the bus number). 4) Add a card with a bridge to a segment above you.
You may be able to get your Pickering cards to work by shifting them a segment to the right and finding the slot with the correct device number.
- Robert