I am using labview7.0 and need to know how to display and update current time and date on x-axis of waveform chart and waveform graph.
In waveform chart or graph to select the x-scale as a time stamp, select the graph or chart property. Select the display format and according to your requirement select relative time or absolute time settings.
Thanks for the reply, but i did all those changes in waveform chart and graph. The problem is it is not showing current date and time. Its displaying time as 5:30 and date as 01/01/04.
Kindly tell me how can i start chart x-axis with current time and date and update it after every 1 sec.
It appears you are not setting the timestamps of the data you send to the chart (we would need your code to know for sure). The easiest way to set a timestamp on data is to use the waveform datatype and set the timestamp in the datatype before writing to the chart/graph. You can certainly use single point waveforms.
Give it a try. If you still have problems, post your attempt so we can help correct the problem.
I have attached the code for x-axis timestamp. I tried many options but still facing the same problem of wrong timestamp on x-axis. My requirement is to start accumulating values of all plots as soon as the vi gets executed, so the
x-axis timestamp also should get accumulated from the start.
Please help me to solve this problem as its very important for further development.
You have two major issues with your code:
So learn about the different types of data that a graph can accept. Learn about using wires instead of front panel controls. Use shift registers to cache data in loops.
Good luck! Keep us posted on your progress.