From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change format of all timestamp

 Hi!

I would like to change the display format of all timestamp controls of my project. Is there a way to select all timestamp controls (or to find them) at the same time?

Thanks!

 

 

0 Kudos
Message 1 of 3
(2,292 Views)

Hi Raffa,

 

you can use property and invoke nodes to

- get all VIs in a project

- to get all controls on the frontpanel of a VI

- to check the control type (is it a timestamp control?)

- to set the display format of the timestamp controls…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,277 Views)

@GerdW wrote:

Hi Raffa,

 

you can use property and invoke nodes to

- get all VIs in a project

- to get all controls on the frontpanel of a VI

- to check the control type (is it a timestamp control?)

- to set the display format of the timestamp controls…


In addition to Gerds advice, Swap all timestamp controls with a strict typedef! that way you can globally change it for when the client changes their mind again.


"Should be" isn't "Is" -Jay
Message 3 of 3
(2,271 Views)