04-25-2019 10:51 AM
May I please have a suggestion on the best way to implement the below pictured graph and control. This will be a front panel display only, there is no real control happening here. Basically I want the user to be able to draw a ramp and hold plot and then save the image. I have the saving image portion, but am struggling with selecting the correct graph/data type for this and how to implement the logic. Any help is appreciated.
04-25-2019 11:58 AM
There is no "best" way. You seem to be using the terms "Chart" (see title of post) and "Graph" (see body of post) as though they are the same thing -- I hope you realize that, in LabVIEW, these are different types of indicators that have different inputs and different behaviors.
Your data appear to consist of an array of clusters that contain the following three values:
These three values give you two plot points:
where "Elapsed" means taking into account the time since the beginning of the plot.
You can plot this pair of points as Dots, Squares, etc. as you wish. You can also "connect the dots" in a variety of ways.
Think, please, about Graph vs Chart.
Bob Schor
04-25-2019 02:50 PM
Using a Graph will let you use cursors.
Your user can use the cursors to compose the waveform as they please by dragging cursors around. One cursor for each point of inflection. Sort them in ascending X value order...
Ben