From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-27-2018 09:47 AM
I have 7 counter channels running on the 6614 timer card. Each channel is triggered by an externally generated digital pulse. I would like to generate a single back plane trigger if any of these channels are triggered. There is a lot of information on triggering multiple channels from a single source trigger, but I can't find any information on setting a trigger from multiple sources. Is this possible? What degree of timing accuracy can I expect?
11-27-2018 12:06 PM
You could do this using a DI task with timing set for "Change Detection". According to the manual, change detection is supported on both port 0 and port 1.
Be sure the signals that trigger the counters are wired into lines of port 0 or port 1, configure a DI change detect task that's sensitive to the appropriate triggering edge, and then export the "change detect" signal to the PXI backplane.
There's a shipping example for change detection DI and down below is a LV 2016 snippet of the code that shows how to export the change detection event to the PXI backplane. (Note that you need to configure this signal export before starting the task, as shown.)
-Kevin P
12-04-2018 10:51 AM
This method worked well. It was best to use the change detect lines to trigger a counter output to drive the PXI trigger. There is a good example on the forums.
12-05-2018 06:55 AM
Thanks for the helpful follow-up and link! (The more robust method allows for a longer pulse. Some PXI chassis models can't propagate the very short "change detect" internal pulse signal (50 nanosec pulse width I think?) to all the slots reliably.)
-Kevin P