LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ANALOG INPUT FOR DIGITAL OUTPUT TO BE SYNCHRONIZED

I have a problem regarding labview. I need to provide a digital output to be toggled with every completed period of a sawtooth waveform which is the analog input. That is, a "one" for one period, and a "zero" for the following period. I have tried to do this and the attached file contains my program. I hope to be able to receive some help regarding this and would be more than thankful if anyone can help me modify the program. Thanks. This is for data acquisition use.
0 Kudos
Message 1 of 2
(2,693 Views)
Hi Nebb,

I can not write your code for you (I do that for a living) but I can give you some ideas.

If you were to use LV RT this task could be a little easier.

Otherwise;
Look into setting up an analog trigger from the sawtooth. You can then route that trigger signal via RTSI lines to a counter. Use the out put of the counter as the signal you are after.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 2
(2,693 Views)