Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Identifying PXI properties to decide whether to route triggers on PXI bus segments

Solved!
Go to solution

I have a PXIe-1075 and a PXIe-1062Q chassis.  Each has a similar card configuration. 

 

I initially developed my application for the PXIe1062Q chassis, routing a trigger from the timing card signal generators and a digitizer.  When I run it on the 1075 chassis, I have to route the triggers from bus segment 2 to bus segment 1 so that the triggers from the timing cards reach the digitizers and signal generators. On the 1062Q chassis, this isn't necessary since everything is on the same segment.

 

I have used the article Programmatically Routing PXI Trigger Lines Across a Multi Segment PXI Chassis to successfully route my trigger. 

 

Is there a way to identify how many bus segments I have, or what chassis I am using, so that I can automatically connect the triggers (or not), so that I can use the same VI to control both hardware configurations?  I don't know what happens if you try to connect triggers across bus segments that may not exist, but I wanted to know what the correct way to deal with this situation is.

0 Kudos
Message 1 of 4
(3,576 Views)
Solution
Accepted by topic author gregoryng

You could pull the trigger bus number using NI VISA.  Just give your devices a VISA alias in MAX and you can use a VISA property node to pull the PXI trigger bus number.  This should help you out.

 

 

trigbusnumber.png

 

Best,

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 2 of 4
(3,558 Views)

Thanks, that makes sense.  I bet that will work.

0 Kudos
Message 3 of 4
(3,554 Views)

Yep, this worked.  It took me a bit to figure out where to name the alias (as it already had a DAQmx alias), but this worked exactly as I wanted.

 

Thanks,

 

0 Kudos
Message 4 of 4
(3,458 Views)