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: 

Tdms file language question

Hi,

 

I have a program that will create & write to a tdms file.

The naming of the file involving using Format Date/Time String Function to return the date & time zone.

 

For example,

abc_date_time PM.tdms

abc_date_time AM.tdms

 

If a PC is using Chinese to display character, the tdms file will be in chinese character for the word PM & AM instead including the content.

I cannot properly read & load the file from my program.

 

Anyone can enlighten me?

How do I resolve if one were to prefer to use other PC language? 

 

 

 

0 Kudos
Message 1 of 2
(745 Views)

The nuances of applications that operate across multiple languages may be beyond me, but in this case, would a solution using a 24 hour time be better than formatting your file name string with a localizable character?

 

<abc>_<YYYY><MM><DD>_<%H><%M>.tdms

Doug
NI Sound and Vibration
0 Kudos
Message 2 of 2
(733 Views)