From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timestamp pulses on multiple digital lines from one counter

Hi guys,

 

I'm trying to get accurate timing of digital inputs using my M-series PCIe-6363 National Instruments card and LabView. What I've done so far is generate a counter on the 100kHz internal clock that is sampled by a digital line that I want to monitor events on. I do this by inputting an edge counter task to a sample clock for my digital channel, which allows me to acquire the current clock count when a rising edge is detected on that input channel. This works fine with one channel (see *_1ch_CFA.vi).

 

However, I need to timestamp multiple channels from the same counter, and my own implementation of this will not work (it won't even start). See *_2ch_CFA.vi.

 

Any help would be greatly appreciated!

- Chris

Download All
0 Kudos
Message 1 of 1
(2,491 Views)