LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid the prompt window

Hello,
 
i'd like to give a specific adress to this VI. I tried to remove the file dialog fonction and to replace it by string to path vi but it doesn't work. does someone know how to this ? i attached the vi in question.
 
Best Regards
 
Tchou
0 Kudos
Message 1 of 10
(3,742 Views)

Oups!!!

i forgot to attached the file.

 

0 Kudos
Message 2 of 10
(3,733 Views)

Hello again:

Don't wire an empth path constant instead of a string.  Also you don't need to create a local variable of that output array,  just directly wire it into the for loop.  This way you don't need to specify the number of iterations or wire the interation count to index the array.

Joey Cao
CLD

0 Kudos
Message 3 of 10
(3,729 Views)
0 Kudos
Message 4 of 10
(3,724 Views)
0 Kudos
Message 5 of 10
(3,724 Views)

Hello Joeycao,

i don't really understand what you say. I want this program to go reading to the specific path instead of prompting me everytime to choose the file. i'd like to have constant path.

thanks

Tchaou

0 Kudos
Message 6 of 10
(3,721 Views)
Please review the picture I attached, I think you said you tried not using the file dialog vi and wire a string to the input instead.  What I was trying to say was to use a empty path constant instead of a string.
 
Joey Cao
CLD
0 Kudos
Message 7 of 10
(3,713 Views)
i tried to do as you pictured, but it gives me an error because of the close file function. let me tell you that i disable the dialog file function cause i told you that i don't want the program to prompt me a pop-up window. what i want to do is to run the program without a prompt window, which means that i got a constant path.
 
Regards
 
Tchaou
0 Kudos
Message 8 of 10
(3,704 Views)
Did you right click on the path constant and browse for the path of the file you want to read?
 
Joey Cao
CLD
0 Kudos
Message 9 of 10
(3,698 Views)

Hello Mr joeycao ,

Thank you so much for help and patient. Everything does as i wanted. tanks a lot.

Tchaou

0 Kudos
Message 10 of 10
(3,692 Views)