LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing to file

Solved!
Go to solution

I am a little stuck on a problem. I have a VI that writes to a file when I hit the run button. I want to hit the run button again and I want this to create a duplicate of the file. Instead I get a error. 

0 Kudos
Message 1 of 5
(3,016 Views)
Solution
Accepted by topic author Rayzab

Look in the File I/O->Advanced File Functions palette.  There is a Create File With Incrementing Suffix.vi in there that should do what 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
Message 2 of 5
(2,993 Views)

This worked. THANKS SO MUCH!

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

@crossrulz wrote:

Look in the File I/O->Advanced File Functions palette.  There is a Create File With Incrementing Suffix.vi in there that should do what you want.


Holy cow - when did they add that in???

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(2,984 Views)

Hi Bill,

 

LV2015

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 5
(2,960 Views)