Ano Ano Posted December 8, 2011 Report Share Posted December 8, 2011 Hello, I need to programmatically set the chart x-axis to Zero time when the Labview software starts. Does anyone know how to do it? Quote Link to comment
Saverio Posted December 8, 2011 Report Share Posted December 8, 2011 Are you referring to the start? If so, the Range:Start will do that: http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/scl_rangestart/ Quote Link to comment
GregR Posted December 8, 2011 Report Share Posted December 8, 2011 That would work for a graph. However, on a chart the X is calculated based on the amount of data. To reset it you have to reset the data. Writing an empty array to the "History Data" property will accomplish this. http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/wvfrmchart_hist_dat/ Quote Link to comment
Saverio Posted December 8, 2011 Report Share Posted December 8, 2011 Oops. Read graph instead of chart. I have a genetic predisposition to hate charts for some reason. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.