03-14-2006 01:47 AM
03-14-2006 08:45 AM - edited 03-14-2006 08:45 AM
You can make the x axis display either absolute or relative time. Right click on the graph/chart and select X Scale>Formatting. You'll also have to do some things to display actual time. You can get the current time and write that to the graph's property XScale>Offset & Multiplier>Offset. The sample period would be written to the Multiplier property. The shipping example called Real Time Chart demonstrates this method. You can create a waveform data type from the Y data and write the current time to t0 with a Build Waveform function. The sample rate would be written to dt of the waveform data type. If you are using DAQ, you shuld have the option of returning data as a waveform or signal data type. Then you don't have to do any extra conversion. If using waveform or signal data, right click on the graph and make sure Ignore Time Stamp is not checked.
Message Edited by Dennis Knutson on 03-14-2006 07:45 AM
03-15-2006 07:14 PM
03-16-2006 08:26 AM