FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I get graphics to dislay the actual time rather than starting as 7 am dec 31/1903?

I am trying to use the temperature vi to show temp vs time. But i am unable to get the x axis to show me realtime. It always insists on starting at 7 am dec 31 1903???? Why is that and how do I force it to read my time server to get the real time and date? Thanks
0 Kudos
Message 1 of 3
(3,811 Views)
The time is 7am dec 31 because that is what the X0 on the chart is set at. The VI can be modified by adding a case statement inside the while loop. The case statement condition should be wired to the iteration terminal. This allows the chart to be initialized. Within case 0 the Timestamp from the FPRead(Advise) should be wired to the X-Scale minimum in a property node from the chart. This will make the X-axis show the time from fieldpoint. Make case 1 the default and leave it with the FPRead Advise. I have attached code to demonstrate this.
0 Kudos
Message 2 of 3
(3,811 Views)
Hi

Thanks for the response. YEs indeed your vi sets the scale correctly initially, but now the data does not display. If I "autoscale X " suddenly the data displays but we are back to the 7:00 am 1903 scale on the x axis.

It appears your vi sets the scale correctly initially, but the data is "off scale" now in some way and so does not display.

Any other suggestsion would be appreciated.

Thanks again.
0 Kudos
Message 3 of 3
(3,811 Views)