ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing file name to Write to measurement file

Hello,

I want to supply an external file to "Write to measurement file" block. But, I want to change the name of the file every time I am in a case/loop. Is there any function which can do this programmatically taking regex or otherwise?

 

Or should I pass an array of names and select one each time?

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

Hi JohnDoe,

 

there is a palette full of file functions called "File functions": In there you also find functions to split and join parts of file paths.

 

And there is a palette full of string functions (I guess you know their name): here you will find several functions to manipulate strings…

 

LabVIEW is a programming language. All you need to do is "programming"…

Best regards,
GerdW


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