LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arbitrary pulse generation (on a graph)

Solved!
Go to solution

Hello, It's my first question here - hopefully i wont break any rules.

How would one graph a series of pulses corresponding to some values from an array?

Basically i have 8 numeric controls for amplitude, and 8 numeric controls for the pulses width. What i did was build an array with those values and use an xy graph as output. The result was a triangle-signal-looking thingy. I'm a beginner and until now i tried google-ing for solutions but right now i find none which is useful. Thanks in advance!

0 Kudos
Message 1 of 3
(2,130 Views)
Solution
Accepted by topic author Spankake

Hi Spankake,

 

do you notice the small plot legend in the upper right of your graph?

You can change the plot style: try some other interpolation method!

 

On your VI (as far as I can see): why don't you use arrays on your front panel? No need to "manually" build an array from 8 controls…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,110 Views)

Thank you, that worked like a charm!

About the use of 8 different controls - it never came to my mind to do that! Thanks for this idea also!

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