LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read more .txt tab delimited files

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

0 Kudos
Message 1 of 5
(2,571 Views)

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!! Cat Happy

0 Kudos
Message 2 of 5
(2,526 Views)

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

0 Kudos
Message 3 of 5
(2,503 Views)

Ok le discussioni del tuo profilo mi confermano che sei italiano Smiley Very Happy

0 Kudos
Message 4 of 5
(2,501 Views)

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.

 



0 Kudos
Message 5 of 5
(2,490 Views)