From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find and Read the Target Spreadsheet File from Target Folder

Solved!
Go to solution

I'm trying to find and read the target spreadsheet file from the target folder. Please help. Thanks.

Capture.PNG

 

 

0 Kudos
Message 1 of 7
(2,593 Views)

What's your question?

 

What is it doing? What is it not doing?

 

We need more information.

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

My question is how to find the target spreadsheet file from the folder that I'm looking for.

For example:

I have 2 different folders (folder A and folder B). In each folder, there are 3 files (file 1, file 2, file 3). I want to point to the target folder and call out the file that I want to read.

0 Kudos
Message 3 of 7
(2,570 Views)

Use the File Dialog Express VI?

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

It worked, but I do not like the popup everytime. Any idea how to make it automatic? Thanks

 

Capture.PNG

0 Kudos
Message 5 of 7
(2,555 Views)

If you know the folder, you could do a List Folder Contents to get a list of files in that folder.  You can then just use Array Index to get the file you want.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 7
(2,551 Views)
Solution
Accepted by topic author CP_AT

Build Path VI will solve the problem.

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