04-30-2010 04:43 AM
i have a system that captures and graph a values on waveform chart and i want the waveform chart that graph the values of full day.... how i can graph values of full day?
Solved! Go to Solution.
04-30-2010 05:44 AM
I am not sure what you ask.
So here are some questions:
1) What version of LV are you running?
2) What are these values (what type)?
3) How often you send them to the graph?
4) What do you mean by "Can i graph values of full day?"
In fact if you can post your code it would be much easier to give you some help
Dimitrios
04-30-2010 05:51 AM
the waveform chart graph 3 value acquired from NI 6008 as double. I use a labview 2009 Enviroment.
The system acquire h24 and i want that a waveform chart have a x-axis 00.00 to 23.59 of day and change in the next day.
sorry for my english but i'm italian.
04-30-2010 07:34 AM
Right that’s better although you haven’t answered how fast you acquiring data. I never had a requirement like that but I put something together. I am not sure if that’s the best way of doing that but I couldn’t think of anything else.
So what I did, I have created a while loop that runs once a second (1000ms delay) and used some random number 0-100 to be displayed on the chart.
To get the 24Hr I have right-clicked the chart and chose Properties ---->Display Format (tab). I have selected Time(X-Axis) type to be Absolute Time and ticked the 24-hour option. Then I have changed Chart History Length to 100000 and manually changed the Axis end point to 23:59:59. Have a look on the VI below.
Make sure that X-Axis is not Auto-Scaling.
I think it works but I am not that happy with that solution. Any other ideas?
Dimitrios