LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Folder error on second attempt

Hello,

 

In the attached VIs, the VI named "Data Path_no error" can be run multiple times with no errors.  The VI named, "BuildDataPath_error2nd" cannot be run a second time (if the folder did not exist in the first run). 

 

Can you tell me what is the difference in programming flow that is causing the "no error" case to work each time while the "error2nd" gives an error after the folder gets created?

Download All
0 Kudos
Message 1 of 2
(1,019 Views)

One VI has automatic error handling enabled and one has it disabled (File >> VI Properties >> Execution). The "error free" one still errors out if the folder already exists, but since you don't have error wires properly set up, the error never comes up on screen.

Redhawk
Test Engineer at Moog Inc.

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

Message 2 of 2
(1,008 Views)