LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating pulse/waveform based on user input

Dear Friends,
I would like to create a waveform/pulse based on two input arrays, each array containing the time durations (in seconds) for high and other for low. I want to read them and create a waveform (pulse).

Eg.
high_array = [h1, h2, h3, h4, ...]
low_array = [l1, l2, l3, l4, ...]

The pulse should look like this:

h1 l1 h2 l2 h3 l3 ... and so on

If you have developed any prototype or can guide to appropriate example would be highly appreciated.

Thanks
Jeguna
0 Kudos
Message 1 of 3
(2,645 Views)
Hi,

I am not sure any direct VI is available for your requirement. I think you can build the waveform in the loop.
I have attached the code, see whether it helps.

Thanks,
Logic
Message 2 of 3
(2,643 Views)
Thanks Logic, that was of great help.
0 Kudos
Message 3 of 3
(2,624 Views)