06-12-2013 08:17 AM
I'm looking to create Horizontal lines on my waveform charts. I realize I can't use cursors on a chart but I want to find a way to draw lines on the y axis of a graph(chart) from a control on my front panel. The reason for this is: I'm measuring a sine wave that changes in amplitude due to deformation of a material. I need to adjust the span using these horizontal lines as reference.
I understand that I could just use the bounds of the graph to due this but then I wouldn't be able to tell how far outside the bounds I'm going. I'm a super novice to Labview and you guys have been such a great help with all my endeavorsso far. Any suggestions?
Solved! Go to Solution.
06-12-2013 09:00 AM
06-12-2013 09:05 AM
How to I create a single plot?
06-12-2013 09:45 AM
Aren't you already creating a single plot? You just do that by wiring a numeric value into the chart. You plot multiple plots by writing multiple values at the same time. Like I said, look at the examples.
06-12-2013 09:59 AM
ok, so I use a bundle to create two values and then I build an array into the waveform graph? Will I be able to change the cluster elements in real time? I need to be able to change the line position on the fly.
06-12-2013 12:27 PM
I really don't know. I don't have LV open in front of me. Look at the examples (Help>>Find Examples). Read the help. Play with it yourself - create a small VI with a chart and a loop and see what happens when you bundle values or build arrays.
06-12-2013 12:39 PM
Got it! I just Initialized an array, created a control and wired it to my Index Array and Bundle which connects to my waveform. Thanks guys,