LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chart time base formatting

Solved!
Go to solution

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.

0 Kudos
Message 1 of 5
(1,124 Views)

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.

Redhawk
Test Engineer at Moog Inc.

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.

0 Kudos
Message 2 of 5
(1,121 Views)

 

SenFell_2-1636496613189.png

 

0 Kudos
Message 3 of 5
(1,102 Views)

Try the below mentioned string.

 

%<%H:%M %m/%d/%Y>T


CLD Using LabVIEW since 2013
0 Kudos
Message 4 of 5
(1,083 Views)
Solution
Accepted by topic author SenFell

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.

 

0 Kudos
Message 5 of 5
(1,045 Views)