LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Signal-Time Record

Hello Everyone.....

I am a new user in programing. I try to connect a digital line signal into PCI 6601 with Lab View 8.
I want to make a data aqcuisition that could record what time the signals change (0 to1 and vise versa) continuously.
I tried but it doesn't work like I want.
I've attached my VI program below

Anyone could help me please......
Thank's before
0 Kudos
Message 1 of 3
(2,577 Views)

Since you are only looking at one line, and you are looping frequently (10/second), set your DAQ acquisition to a singe boolean 1 sample.

Feed that value into a shift register.  If the new value is not equal to the old, then execute the true case where you have the write to measurement file VI.

See attached.

Message Edited by Ravens Fan on 06-11-2007 11:40 PM

0 Kudos
Message 2 of 3
(2,570 Views)
Thank you for replying Ravens Fan

I tried the direction you suggested....
but when I run the program, there is an error message told that the number of lines doesnt match with the number of lines in the channel.
Maybe there were mistakes I did when revised the program. Hopefully you will give me some suggestion again.
I attach my new program.Thank You before


0 Kudos
Message 3 of 3
(2,556 Views)