LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital input change detection

"Hi

I am using a Cont Change Detect (Async).vi came with LabVIEW 7.0 TO Detect Changes in the States of 4 Digital Line with the DIO-32-HS board and i store all data read in array.
i would like to get the timing array for every change.
i have an 6024E board connected with via RTSI to the DIO.
i call national instruments technical supports and they suggest me to buy a counter board pci-6602. i am really need a fast solution for my application so i would like to use the counter of the pci-6024E.
how can i modify the example below?""
0 Kudos
Message 1 of 2
(2,794 Views)
Hello,

Yes, I believe you can use the 6024E's counter for this. If I understand you correctly, you want to get a timestamp from the counter on every change detection from the DIO-32HS. The counters on the 6024E are certainly cabable of timestamping, although the example program you'll use is called "Count Buffered Edges." Knowing the period of the timebase, you can multiply by the number of edges counted to get units of time.

So, first look at this example to see how the change detection signal is routed to the RTSI bus. You'll use the RTSI Control VI found on the Data Acquisition
- Calibration and Configuration palette.

For the timestamping, you'll use the "Count Buffered Edges" LabVIEW shipping example. There is a control for what is driving the gate of the counter on the front panel. Make sure you have this selected to the RTSI line you've routed to.

So you'll definitely need a RTSI cable.

I hope this helps.

Russell
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 2
(2,794 Views)