LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting value from sub vi

i having problem passing a value from a sub vi to main vi..plz help me i attached my vi's with this..thk u.
Download All
0 Kudos
Message 1 of 5
(2,615 Views)

I saved it for LV 8.0 from 8.6

 

Hope it's okay for you.

 

It's just that your output in try.vi was not connected to anything.

Download All
0 Kudos
Message 2 of 5
(2,607 Views)

Hi,

 

In your attached vi (try.vi), Use"value'' property while writing to an indicator than  text and as you have a seperate event structure for change in value of "File name" control, you have type the string and then click on any part of the front panel before clicking "save". This will update "FIle name 2" ( value property).

 

Try and let me know if this works.

 

 

 

-Mallya

" Appreciate and motivate those who help"
Message 3 of 5
(2,601 Views)
In your subVI, right click on "File name" control and select "update value while typing". This will allow "File name : value change" event generation each time you will type a letter in "file name" control (and so, before you click on save button)
0 Kudos
Message 4 of 5
(2,569 Views)
Your use of property nodes does not make any sense (nor do some of the answers in this thread). The event structure is not correct either and far too complicated. I don't understand the purpose of the one button dialog function but I left it in the modified VI.
Download All
0 Kudos
Message 5 of 5
(2,552 Views)