Hello Everybody,
I am a very Beginner to the NI DAQ Cards.
I use X Series Cards and want to programm it in C.
My Problem:
I need to measure the Changes of three Digital Pulse Signals over Time , very important is the Phase Shift of the three Pulse Signals to each other.
For that Reason I use 3 Counters connected with the 100 MHz internal Clock as Clock Source.
The three Gates are connected with three PFI Inputs.
I configure the three Counters for Implicit Buffered Semi Period Measurement.
That is, the Measurement starts with Arming the Counters.
The First Starting Egde of the three Counters is set depending on the current ( when Arming ) Level of the respective Signals to measure the Duration between Arming and the next Edge.
After the Measurement has finished, the three Signals are processed considering the Phase of the Signals to each other.
Now my Question: How can I let start the three Counters simultaneously ?
Is it possible to enable / disable the Clock Source of the three Counters simultaneously ?
Could I use another Counter, which outputs a 20 MHz or 100 MHz Clock as Clock Source for the three Counters ?
Extending the Number of Signals to 5 will require to use 2 DAQ Cards.
Can the Counterstart be synchronized via RTSI Bus in this Case ?
Is there any C Code Example how to implement Synchronization of the Counterstart ?
Many Thanks for Your Help !
Kind Regards