LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to link files together in labview

Solved!
Go to solution

Hi guys,

I am trying to link two files together so that when I read from one file and plot the data,

I open up a file that is associated to that file for the user to look through if he so wishes.

These arent the same files, the file I'm plotting from is a file that only has the magnitude

and frequency, the larger file has a lot more info.

0 Kudos
Message 1 of 5
(3,275 Views)

I think the question is: How are the two files related? Do they have similar names? Then it would just be a case of selecting one file and then automatically building the path to the second and opening that.

 



Remember Cunningham's Law
0 Kudos
Message 2 of 5
(3,248 Views)

In theory they would have similar names, I'm attempting to build a database so that when a user enters paramters, those parameters pass through to a funcition that filters through a folder and displays files that are similar to the inputs.

The only problem with the files having similar names is user error, someone can decide to name a file unlike it's associated file and store it in the folder, or thats how I see it anyways.

I hope that helps and isn't entirely convoluted.

0 Kudos
Message 3 of 5
(3,238 Views)
Solution
Accepted by topic author ztjackson

Need more info on how the two files are created.

 

You have the large file and then make a small file from it.  Have the program that makes the small file name it based on the large file name.  Then you have a pattern to open both files at once.

 

Or have the user manually choose both files...... 

Message 4 of 5
(3,214 Views)

Thanks that helped!

0 Kudos
Message 5 of 5
(3,205 Views)