08-05-2011 12:16 PM
Hi rschmeling,
I have another idea to try. With your history property node, if you drag it down, you can select x-scale>>scale-fit. Then, right click the property node and change all to write. The context help tells you what to wire in with the constants. I believe you would want to wire a 2 in for the autoscaling.
The history aspect of the property node will take care of resetting your chart to begin at zero every time.
Hope this helps!
08-05-2011 01:21 PM
I will try that with the x scale node on monday, Im not in the office now, but will be back then. I thought the history was supposed to set it to zero but all it does is clear the chart, it doesnt set the scale to zero.
08-05-2011 01:54 PM
rschmeling,
The history does set it to zero, and I believe this does clear it... are you looking to keep the data on the same graph every time you run and then just have one graph with multiple runs starting from zero?
08-05-2011 03:47 PM
This is set up to a conductivity detector for a chromatography system. It is saving the file so I don't need to see the graph after I stop the run, so it just need to have the current run on there and I have set up for sweep mode, and just pull the data up and graph it in origin.
I currently do have the history data property node and tried running the VI with the property node in the sequence loop and not in the sequence loop and it does clear the chart but it does not start the x-axis at 0. That is the part that is confusing to me. I was under the assumption that it would set the scale to 0, but like I said I have taken classes and we were working in version 10 and Im sure there is something that needs to be done different since it is an older version.
08-08-2011 09:53 AM
Hi rschmeling,
I've been playing around in LabVIEW 7.1 and trying to recreate the issue. I have a basic sine wave that goes to a waveform graph and a waveform chart. I'm using the property node with the xscale fit and when I run the program it's setting that axis to 0. I've attached what I'm looking at.