LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Correlate Data File Name to Results File

Solved!
Go to solution

Hello,

 

My vi performs statistics on multiple data files, and I was wondering if it is possible to correlate the new file names (of the results) to their original data sets. For example: data files names: data1 & data2 will output result files: data1_result & data2_result.

Is this possbile to do?

 

Thank you?

Download All
0 Kudos
Message 1 of 7
(2,938 Views)

Sure it's just a matter of taking the file paths you are starting with and doing some file path strips and builds to generate a new file path from that.  It seems like you are already doing some file path building in your VI so I'm sure you can figure out what you want to do.

Message 2 of 7
(2,924 Views)

Cool, thanks, I haven't thought about striping the path....

0 Kudos
Message 3 of 7
(2,913 Views)
Solution
Accepted by simply_me

Just for future reference, if someone will have a similar question, see attached file.

0 Kudos
Message 4 of 7
(2,907 Views)

Hi simply_me,

 

for future reference: You should avoid hidden wires when you post a solution as picture. Your picture is very hard to read due to bad wiring...

Best regards,
GerdW


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

I hope this one is better 🙂

0 Kudos
Message 6 of 7
(2,891 Views)

So if file path stripping and building was the solution to your problem, then shouldn't my message #2 be marked as the solution?  Smiley Wink

0 Kudos
Message 7 of 7
(2,879 Views)