07-27-2009 02:44 PM
07-28-2009 09:15 AM
floydyourself,
Hello! Here are a handful of documents that talk about formatting the axis on waveform charts/graphs.
How Can I Plot My X-Axis in Units of Seconds Starting at Zero?
How Do I Set the Time and Date on the X-axis of a Graph in LabVIEW?
Displaying Current Time on a LabVIEW Chart
Configuring the X- and Y-Axes on a Graph or Chart
07-28-2009 10:45 AM
The first link entitled "How Can I Plot My X-Axis in Units of Seconds Starting at Zero?" seems to be exactly what I need, but I can only complete the first 2 steps. I don't know what a DAQmx Timing VI is or what a DAQmx Read Waveform VI or Get Waveform Components VI is.
Attached is my current project as it stands. How do I copmlete the last 2 steps?
07-28-2009 10:46 AM
07-28-2009 05:43 PM
floydyourself,
That first link contained VI's that are part of the DAQmx driver. After looking at your code I realized you weren't using DAQmx so that link wansn't the most relative.
There is a document on our website called "How Do I Display Relative Time on my Waveform Chart and Set the Origin to Zero?" However it is having some issues so I will just post the text here.
"In order to display relative time on the X-axis with the origin set at zero, the initial time or t0 has to be set to zero. The way to do this programmatically is to create a property node for the X-scale and set the left-side of the axis to zero. To do this right-click on the waveform chart in your block diagram and select Create»Property Node»X Scale»Range»Minimum. Right click on the output terminal of the property node and select Change all values to write. Now wire a constant to the input terminal of the property node and set its value to zero. This will display a waveform chart on your front panel where as your VI runs, the origin of the X-axis will remain constant at zero while the right side of the axis updates with the elapsed time. The attached picture shows the property node with the waveform chart"
Also, I know I allready linked this one, but check out the relative time vs. absolute time settings.
Displaying Current Time on a LabVIEW Chart