LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save files (example:csv) from the different subVI to the same folder of main VI?

I would like to save files (example:csv) from the subVI to the same folder of main VI? Please help! Thanks.

0 Kudos
Message 1 of 4
(2,740 Views)

@CP_AT wrote:

I would like to save files (example:csv) from the subVI to the same folder of main VI? Please help! Thanks.


I don't understand the problem. You write in the program where to save files, and it saves them there. Do you mean something else?

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 2 of 4
(2,733 Views)

Yes, It works only the first time. When I created the new folder from the main VI front panel, It did not copy it to the sub VI.

For example:

I create the folder name C:\Users\name\Desktop\one. The files from both main VI and subVI go to the folder "one". Now I create the new folder name "two" from the main VI front panel, the only file from main VI goes to folder "two", the file from subVI still goes to folder "one". I used local variable but it may be the wrong choice.

0 Kudos
Message 3 of 4
(2,729 Views)

Attach your code (not a picture of it), and then it'll be possible to help.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 4 of 4
(2,727 Views)