LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[Help] Getting a Device List from all connected PXI Chassis'...

Solved!
Go to solution

I have a PXI Chassis containing a number of cards plus one card that allows another PXI chassis to be piggybacked on to the first. In NI MAX I see two PXI Chassis and a number of cards under each one.

 

In LabVIEW 2012 I have used:

  • Initialize Session
  • Create Filter with "IsChassis" set to true.
  • Find (Hardware)

This returns two items, both chassis, all go so far. 🙂

 

What I want to do now is probe each chassis (similar to above I assume, but with "IsDevice") to create a list of all the installed cards on each one.

 

How do I do this? I assume I need to extract something from the System Hardware Property Node to pass in as the target to the Initialize Session VI?

 

Thanks.

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 1 of 6
(4,028 Views)

Look at this thread, don't have LabVIEW with me. 

 

You will have to filter to what you are looking for, I was looking for DAQmx devices. You can have no filter which will list everything, but it is slow on my system.

 

mcduff

Message 2 of 6
(3,991 Views)

Looking at that I just need to set IsDev to true and IsChassis to false and it should pick up the cards.

 

Basically I have an NI High Speed Serial Card in a remote PXI Chassis. Each card comes with a licence file for some support software. So I need to scan for the card. Get its serial number. Name it in MAX (set an alias). Find and copy the correct licence file into a folder where the software expects the licence file (serial number is in the file name).

 

My code works if the card is in the PXI chassis that the controller is in (and running the VI), but not if it is in the remote PXI chassis. At the moment it only lists to two chassis and no contents.

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 3 of 6
(3,957 Views)
Solution
Accepted by topic author ChristopherPovey

The solution was to ditch the System Filter part altogether! So I just call "Initialize Session", then "Find" set to Hardware with an Expert input set to "ni-rio". This results in three items:

 

  1. NI PXIe-6592R
  2. NI PXIe-6592R
  3. NI PXIe-7953R
  4. Product Name = <<Blank>>

Not sure what 4 is! But it does not matter. From this I can use the System Hardware Property Node to match the pair of "NI PXIe-7953R" cards.

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 4 of 6
(3,888 Views)

How get the same for Non NI cards connected to my PXIe chassie

0 Kudos
Message 5 of 6
(3,128 Views)

I never had to do that for non-NI PXI hardware but PXI allows for basic hardware enumeration that is vendor independent and I was thinking that the NI System Configuration API should at least be able to provide a basic Vendor ID and Product ID information, if not more for all PXI cards, even if they are not from NI.

 

If that fails the NI-VISA API may be able to do that too if the PXI support is installed.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 6 of 6
(3,122 Views)