05-10-2013 05:48 AM
Hi,
I built a labview file (view attach) to read and visualize measures from photovoltaic panel. This file allows me to read a .txt tab delimited with climatic measures or electrical measures, and visualize possible correlations through graphics. There is a way to read two .txt tab delimited files, one with electrical measures and one with climatic measures, in the same dialog box? Because i need to see correlations between electric and climatic data. Until now I didn't find any solutions,
Thanks,
Poisson
05-14-2013 03:59 AM
Hi Poisson
I haven't understood very well your question.
You have already developed the LabVIEW code to read a tab delimited text file; now, why don't you reuse the same code to read a second txt file??There is no way to set a File Dialog Box to read two file paths. Anyway, even if you acquire two file paths (by means of a cluster of File Dialog Box control for example) then you have to process them one at a time because the Read Spreadsheet File function open a reference to a single file at a time.
In other words, why don't you include the code after the Read Spreadsheet File function in a subVI; in this way you can set two reading chains that work together.....
Best!!
05-16-2013 11:04 AM
Hi bronzacuerta (your nickname suggest me that you are italian, it's possible?...in tal caso ciao!)
I think that i've understood your approach that in effect is linear and logic but i'm totally new with "labview modus operandi" so i'm sorry if i said somenthing wrong. So if i use the same code after Read Spreadsheet File function in two subVI,then i can visualize climatic and electric data in front panel and combining them in graphics?
Thank you,
Poisson
05-16-2013 11:06 AM
Ok le discussioni del tuo profilo mi confermano che sei italiano
05-16-2013 01:39 PM
If you have to files with a known naming relation (say they are day1_electrical.txt and day1_climate.txt) then you could use the file path from the first load to programatically create the file path for a second one. This, unfortunately, requires strict naming conventions for your files.