LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I disable the Dialog Box Pop Up when using the "Open/Create/Replace File" VI? - I've already tried setting the "advisory dialog" node to "false" with no success!

I would simply like to write data in real-time to a file without the operator being prompted by a Dialog Box.
Please see attachment for the code I used.
 
Thank you!
0 Kudos
Message 1 of 8
(3,768 Views)
Your dialog is being generated by the lonely "Write to Spreadsheet File" function that you have there that isn't wired up. Delete it.
0 Kudos
Message 2 of 8
(3,760 Views)
Thanks for your feedback...that's not the problem unfortunately since the "Run" button is not executable when that VI left unwired.
0 Kudos
Message 3 of 8
(3,751 Views)
Errr... OK, then what exactly did you post? You said that's the code you used, but now you say that your program doesn't run if that VI isn't wired. So what's wired to it? Your screenshot shows nothing wired to it. Also, which one are you using to do the file write - the Write to Spreadsheet file, or the individual file I/O functions?
0 Kudos
Message 4 of 8
(3,749 Views)
That's the code I used without the "Write Characters to File" VI in the Sequencer window. I was checking out different I/O File functions & I inadvertently left that "Write Characters to File" VI on the screen when I did a Print Screen. To do the data transfer, I simply use the "Open/Create/Replace File", "Write File" & "Close File" VIs as shown. This particular data transfer code setup prompts the operator with a pop up dialog window to "Save" the file. I would like to bypass this pop up window and directly send the info to the file. I attempted to change the "advisory dialog" node to "false" in the "Open/Create/Replace File" VI, but that did not work. I can't seem to find a VI from the I/O File palette that will simply open the data file & transfer the data without the inconvenience of a pop up Dialog Box.
0 Kudos
Message 5 of 8
(3,740 Views)
Try putting the entire path including the file name (and not just the folder) as a path constant (and not use the string to path function) to the file path input.
 

Message Edited by Dennis Knutson on 04-25-2007 01:37 PM

Message 6 of 8
(3,739 Views)


@Dennis Knutson wrote:
Try putting the entire path including the file name (and not just the folder) as a path constant (and not use the string to path function) to the file path input.

Dennis,

Good lesson for me ! Smiley Happy

I m also not familiar with this thing of putting the entire path of a file, even if I wire a False to the Advisory Dialog inout.

I thought that it is the maximum feasibility in LV. You opened my eyes & brain. Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 8 of 8
(3,674 Views)