11-09-2021 03:11 PM
I am running a strip chart using Absolute Time on the x-axis. I set the time by wiring a time stamp to the x-axis offset. It works well but I cannot change the format of the time display. I would like to show time as Hours:Minutes without seconds. No matter what I try in the Chart Properties menu or programmatically, Absolute Time is always displayed as Hours:Minutes:Seconds with seconds shown to 3 decimal places. Is it possible to show Absolute Time without seconds?
The custom time settings in the Chart Properties menu would appear to be the answer but once I run the program, the custom settings revert back to the full Absolute Time display.
Solved! Go to Solution.
11-09-2021 03:25 PM
Seems trivial enough, the custom time settings are probably the answer. The new question is, why are the custom settings reverting. Upload your code and we can take a look.
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
11-09-2021 04:31 PM
11-09-2021 09:48 PM
Try the below mentioned string.
%<%H:%M %m/%d/%Y>T
11-10-2021 06:35 PM
It appears my problem was related to the Ignore Timestamp property. This must be set to False to show Absolute Time but by setting it False programmatically, it seems to reset the Custom time base settings to show full System Time. I don't know of anyway to set Custom time base settings programmatically.
Once I stopped setting the Ignore Timestamp property programmatically and used only the Chart Menu to make it False, the problem went away. I can now use the Custom time axis settings to format my time base.