12-28-2009 05:45 PM
12-28-2009 11:13 PM
hi,
Have you checked the system time?
regards
Shrek
12-29-2009 09:06 AM
Shrek is absolutely right. LabVIEW pulls its time from the OS system time. Try using a Get Date in Seconds VI and I would imagine that it will be four hours off as well. It might also be a time zone setting on your computer, so you could try checking that as well.
Nick Keel
Applications Engineering
National Instruments
12-29-2009 12:15 PM
12-29-2009 12:16 PM
12-29-2009 12:21 PM
01-02-2010 11:33 AM
01-02-2010 11:46 AM
Hi Dragon,
well, what do we see on this frontpanel?
- There are no plots visible, so the formatting might just show some standard values instead.
- In the table above the plot you only show times in seconds with a value of 8.65s.
- The plot xscale is set to show a range of 9s - wow, this might be connected with that 8.65s shown in the table.
- There is no indication how you set the xscale...
- And yes, there is a difference between computer time and time shown on xscale. But see point 4
How is the plot generated? How is it set to 3:16PM? Can you show your vi instead of the frontpanel? Can you show a stripped down version just showing the problem with some default values in the controls? A frontpanel is not enough - I can generate the same...
01-02-2010 10:47 PM
Sorry I am new to this. Does this Vi. help? One version is in 2009, the other in 8.6.
Thanks
01-02-2010 10:59 PM
You are not writing any time information to the graph. A graph or chart does NOT automatically read the system time. It is something that you have to programatically provide. There are several ways to do it. Since this example is obviously not the same as the image you posted, we still have no idea what you are doing and really no idea how to fix it exactly. Why won't you post your real code? How many more posts are required to get some real information from you?
If you are acquiring DAQ data, then request a waveform data type. That dattype includes timing information. Otherwise, get the current time and use a property node to set the offset and multiplier. Look at the exampe programs. One is called Real Time Chart.