LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot discontinuous data in labview graph/chart

Hi,

 

I would like to plot discontinuous data in a graph in labview. 

 

The data is aquired and plotted over time - butduring certain periods there is no data aquired.

I don't want during these times any "line" between the adjescent points - I just want simply "no line".

 

Maybe the best way to show it is this example of a javascript chart

 

http://www.highcharts.com/stock/demo/data-grouping

 

- zoom into the time around november 2005

 

During certain times there is no data - this is implemented in the datastream as "null" instead of a vaild floating point number - similar to NaN for floating point numbers - the javascript code knows that in this case there should be no interpolation.

 

Is there any way to have a similar behaviour with labview charts or graphs ? 

 

0 Kudos
Message 1 of 2
(3,022 Views)

Yes.  Place an NaN value in the array where you data break is before sending it to the graph.

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