LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Convert Time Stamp to String for Filename use

Hi ewjammer & Stergios,

 

strong advice: please use "build path" and "strip path" from the file functions palette when dealing with filenames and path.

Using string functions is not entirely wrong, but will lead to errors the sooner or the later...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 13
(1,659 Views)

GerdW wrote:

Hi ewjammer & Stergios,

 

strong advice: please use "build path" and "strip path" from the file functions palette when dealing with filenames and path.

Using string functions is not entirely wrong, but will lead to errors the sooner or the later...


To further clarify the "buld path" and "strip path" VIs have support for all the various formats across different platforms. Using them ensures your code is portable. The string functions can be used but as stated above you may run into problems with different file and path name formats. This includes fully qualified paths on a network.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 12 of 13
(1,641 Views)
Thank you Gerd and Mark!
0 Kudos
Message 13 of 13
(1,632 Views)