LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make text scroll in a chart/graph

I am trying to make a small example labview app.

 

I need to show a graph/chart with continuous data measurements, plotted over time. So far I have been using charts, since they suit my needs. I have seen though, that graphs are also a possibility. So if a solution calls for that, it might be ok.

 

Now I have two things that i dont know how to do. I have attached a picture of what i want to do.

I need to have time on the x axis, but i can only get it in the end points of the scale, can this be fixed (see the attached picture example)

 

I also need to mark phase starts endings. This means I need to have text scrolling along with the plot, keeping a white marker line at the starte point of the phase. Can thios be done somehow? I have already looked into Annotations, but I dont think thats it. (see the attached picture.)

 

If further explanation is needed, I would be happy to supply it.

 

Kind regards Daniel

0 Kudos
Message 1 of 2
(2,525 Views)

One option with graphs is to right click the graph when the code is running, select "Create Annotation". This will add a label to the graph that moves as the graph updates.

 

An alternative, and probably prettier approach, was discussed recently here;

http://forums.ni.com/t5/LabVIEW/Two-background-colors-for-the-same-waveform-graph/td-p/1139000

 

Hope that helps,

Ian

0 Kudos
Message 2 of 2
(2,503 Views)