Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

toggling digital output with analog input value

A totally new Labview DAQ system user here.

 

I have this project where i use USB 6002 to read analog input signal and convert the increasing voltage values to distance.

I was successful at this point.

My next step is to trigger/toggle my digital output with respect to the distance interval.

How ever, the digital output reacts only at the first interval.

 

Attached is the simple program i made.

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

Please avoid using Express VIs, you can find example VIs on using the low level VIs for data acquisition in LabVIEW example finder. 

 

You are also running a greedy loop which executes the code as fast as it can, please use a time delay in the loop. 

 

If your DO is not responding as expected you may have to take a re-look onto your algorithm.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 2
(4,676 Views)