LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph/Chart Timestamp

Hello,

 

I'm trying to measure the flow rate and show it in the form of a graph/chart on the front panel however I'm having some difficulty. I'd like it to show the flow rate throughout the whole experiment, with the x-axis being in mins elapsed. Does anyone have an idea on how to do this? Thanks.

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

Hi Scott,

 

Just having a quick look at your code where you write to the waveform graph this will only happen when the while loop finishes as it is placed outside of the while loop. If you wanted the graph to update in real time whenever a sample is obtained you will need to put this in the while loop so that it is updated with every iteration of the while loop rather than only when it finishes.

 

Little bit of info on Auto-Indexing Tunnels

http://digital.ni.com/public.nsf/allkb/B85025233861378A86256CE700491E34

 

If you wanted the graph scale to be in minutes then you will need to correctly scale the x axis of the graph. You can do this by right clicking on the graph >> X-axis >> Properties, there you should then be able to select scaling factors and rename the graph. 

 

Best regards,

 

Luke 

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