NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best way to Query for a PXI Chassis in TestStand

Solved!
Go to solution

Hi All,

I have some benches that have a PXI Chassis and others without. 

 

I would like to Query for the Chassis and if it isn't there I will use another method of testing.

 

Is there a way to query for the chassis and if there is how?

 

Thanks

Message Edited by glennjammin on 10-09-2009 09:23 AM
Glenn Ellis
0 Kudos
Message 1 of 3
(3,116 Views)
Solution
Accepted by glennjammin

Hi,

 

You could use the VISA Find Resource function. If you get back PXI[bus]::device[::function][::INSTR] or PXI[interface]::[bus-]device[.function][::INSTR] then you have a PXI chassis

 

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,104 Views)

Thanks Ray for your response.  I tried something similar (_iviswtch.llb\IviSwtch Initialize.vi) and it worked but I have to close the session right after for the switching to work correctly.  I will try the way you suggested and see if it is a better way to go.

 

Thanks

Glenn Ellis
0 Kudos
Message 3 of 3
(3,080 Views)