06-24-2015 02:23 PM
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.
Solved! Go to Solution.
06-24-2015 03:22 PM
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.
06-24-2015 03:29 PM
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.
06-24-2015 03:55 PM
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......
06-24-2015 04:00 PM
Thanks that helped!