06-08-2012 12:05 PM
I'm using the "Write to measurement file.vi" and I want it to ask for confirmation if I try to save with a filename that already exists and then allow me to choose another file name or overwrite the old one. How can I do this?
Solved! Go to Solution.
06-08-2012 01:07 PM - edited 06-08-2012 01:07 PM
In this Express VI, select the box "Ask user to choose file."
06-08-2012 01:35 PM
I've done this. The only options it has are:
But I want to have it ask for confirmation to overwrite, then let you save it as a different name if you want. Is there any way to combine something with this vi to do this, or do I need to find another vi that would let me do this?
06-08-2012 01:41 PM
That Express VI does not have the capability you are seeking. You will need to either convert it to a regular VI and modify it, or simply add some code to do what you seek. THis can be accomplished quite easily with the File I/O functions.
06-08-2012 01:56 PM
@smercurio_fc wrote:
That Express VI does not have the capability you are seeking. ...
Help us Obe Wan, you're our only hope.
Ben
06-08-2012 01:59 PM
@Ben wrote:
@smercurio_fc wrote:
That Express VI does not have the capability you are seeking. ...
Help us Obe Wan, you're our only hope.
Ben
Did I misunderstand the question again?
06-08-2012 02:12 PM
@smercurio_fc wrote:
@Ben wrote:
@smercurio_fc wrote:
That Express VI does not have the capability you are seeking. ...
Help us Obe Wan, you're our only hope.
Ben
Did I misunderstand the question again?
No.
SpoilerYour wording reminded me of the scene from Star Wars when Ben Kanobe di dthe force thing on the strorm troopers telling them "These are not the droid you seek."
Its just Friday.
Ben
06-08-2012 04:21 PM
Ben wrote:
No.
SpoilerYour wording reminded me of the scene from Star Wars when Ben Kanobe di dthe force thing on the strorm troopers telling them "These are not the droid you seek."
Its just Friday.
Ah. Gotcha, Kimosabe.
06-11-2012 09:30 AM
Is there a way to combine the "write to measurement file express vi" with the "open/create/replace file" function? Or, more basically, is there a way to wire any file path through another function and into the "write to measurement" vi?
06-11-2012 09:39 AM
@SuSto wrote:
Or, more basically, is there a way to wire any file path through another function and into the "write to measurement" vi?
Of course, but you don't want to modify any LV functions (I don't know that you can). This question seems so basic (too basic) perhaps I misunderstand what you are saying, but you can wire any reference through one of your VIs.