LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to plot datetime against temperature in waveform chart

Hi Kyle,

 

sorry for late response.

 

 


@K Smith wrote:

 

Try extending the Chart History Length by right clicking the chart and selecting "Chart History Length."  By default the chart is set to 1024 points to display then the chart shifts, try extending this to the point where you can see your entire sample.  Then set the leftmost to 0secs.  

 

Kyle


I don't think I understood this but finally i have found some solution.

 

block_diagram_.PNGfront_panel_.PNG

 

Data si still updating from right to left side, but i think that is not big problem 🙂

 

Thank You for all your help and time!

0 Kudos
Message 11 of 14
(1,334 Views)

Try changing the chart to a sweep update mode.  This will always start from left to right instead of pointing to this first instance in time correlating to your data and then auto scaling the x axis to that point.  

 

You can change it by right clicking, going to properties, appearance tab, and Update Mode>Sweep.  

 

Another way you could achieve this is by writing to the offset property node to set your x axis to the first data point as soon as it starts plotting.   

 

Kyle

Regional Account Manager
NI
0 Kudos
Message 12 of 14
(1,328 Views)

 


@K Smith wrote:

Try changing the chart to a sweep update mode.  This will always start from left to right instead of pointing to this first instance in time correlating to your data and then auto scaling the x axis to that point.  

 

You can change it by right clicking, going to properties, appearance tab, and Update Mode>Sweep.  

 


 

Yes, this works, but i cannot use sweep update mode.

 

 


K Smith wrote: 

 

Another way you could achieve this is by writing to the offset property node to set your x axis to the first data point as soon as it starts plotting.   

 

 


What should I write to the offset property node?

 

0 Kudos
Message 13 of 14
(1,312 Views)

Hi Tukan,

 

I think that there is a way for you to accomplish what you want without adding a property node. If you change the chart update mode to scope chart it will do what youy want it to do.

This will always start from left to right instead of pointing to this first instance in time correlating to your data and then auto scaling the x axis to that point.  

 

You can change it by right clicking on the chart, going to properties, appearance tab, and Update Mode>Scope Chart.

 

Regards,

 

Perry S.

Applications Engineer

National Instruments

ni.com/support

Applications Engineer
National Instruments
0 Kudos
Message 14 of 14
(1,296 Views)