10-21-2010 08:25 PM
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.
Solved! Go to Solution.
10-22-2010 04:45 PM
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.
Best,
10-22-2010 06:21 PM
Thanks, that makes sense. I bet that will work.
11-10-2010 04:14 PM
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,