I need to use PXI-5105 with external clock and external digital trigger. Since 5105 only has 1 PFI input on the front panel (PFI1), I decided to use it to input external clock (10MHz) and route the external trigger through another PXI board front panel input, namely "AI Start Trigger" input (PFI0) of the PXI-6133 board. I use Labview VI "DAQmx Connect Terminals" and select PFI0 on 6133 as a source and PXI_Trig0 on 5105 as a destination. I configure 5105 with PFI1 as clock timebase source and RTSI0 as digital reference trigger source.
This setup worked fine until I powered down the system, installed a new PCI-5922 board on the PC and turned it back on. Now from the looks of it the 5105 does not see the trigger routed as described above when it fires. I do not get any error messages from Labview BTW.
I found the source of my problem. I was calling "niScope Initialize.vi" with "reset device" parameter set to "TRUE". It was resetting the above trigger route. What is beyond me though why the same code was working before.
As a follow-up question, is it possible to establish "permanent route" like that within the PXI chassis so that it would remain in place through device resets and possibly through power cycling? I looked through MAX and Labview but didn't find anything.
Hi Fedor, Good to hear that it is working for you. There is no completely permanent way to route the signals since the routing is through transistors whose values will be lost when power is lost.
However a "permanent solution" for you could be to create an executable that uses the "DAQmx Connect Terminals" VI and selects PFI0 on 6133 as a source and PXI_Trig0 on 5105 as a destination. Then put this exe in your windows start menu -> Programs -> Startup folder. Then every time you start windows, the connection will automatically be made.
John E. Applications Engineering National Instruments