Johnner,
I understand the need to set the x-axis rate. I’ve managed to do that part. As I read Bex’s last comment I realized that I’m trying to do something a bit different. Whether it is the correct method remains to be seen. Here is my situation.
I have a test where I record about 8 values every 15 seconds (written to a spreadsheet file) The test lasts about 4 hours. I would like to plot the data I’ve recorded in real-time on a chart/graph so we can monitor performance. The x-axis of this plot is the ‘elapsed time’ that I’ve recorded in the file. I originally used the Datalogger to Spreadsheet.vi example with some small modifications. It actually worked pretty well. Unfortunately, I’ve changed to a Fieldpoint system that doesn’t allow ‘virtual’ channels. In addition, I also needed to be able to switch between different inputs, which the original vi would not let me do easily. I’ve been trying to record the data to spreadsheet file and at the same time update a chart with the same wire. If I use an X-Y graph, I get the x-axis right, but only 1 data point in the Y-axis. If I use a chart, I either get all the data plotted sequentially across my graph (i.e. each channel plotted with one line vs. time) or all the channels plotted separately as a different line, including time vs. current time.
This seems like it should be simple, but I’ve been messing with this for quite a while.