Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Actual time of digital input

I am trying to record the actual time of the change in digital input pattern.
0 Kudos
Message 1 of 3
(2,214 Views)
A few more deatils would help us help you.

If you do a triggered acquisition and use the digital input as the trigger, the "t0" of the waveform should reflect the trigger time.

Is this what you need?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,215 Views)
Hello;

You will probably need a combination of the digital board you have with a counter board.
Then you can catch the intial time that the application starts, and then to count the PCKL pulses with the counter. You will need to stop the counter when the pattern you are looking for is matched (you can configire the 6534 board to generate a pulse when the pattern is match, and use that pulse to stop the counter).

Since you know the TimeBase that the counter is using, to have the accurate time that the pattern was matched, you will need just to multiply the number of pulses the counter registered by the timebase, and add the initial time. I suggest you to work with the 660x counter board for that purpose.

Hope this helps.
Filipe A.
Applications Engineer

National Instruments
0 Kudos
Message 3 of 3
(2,214 Views)