LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

listbox

Hi Soundarya,

 

it's completely irrelevant where the value is coming from (list- or combobox), when the problem stays to wire the value to a different vi...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 34
(1,406 Views)
Try this
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 12 of 34
(1,405 Views)
Problem Solved?
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 13 of 34
(1,384 Views)

is thery any way to unload a VI?

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 14 of 34
(1,374 Views)

Hi Soundarya,

 

again there is not enough information to give good advice... It depends on context and what you try to achieve!

 

Short answer:

When the vi is loaded by vi server functions you can also unload it! But you better give more info...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 34
(1,360 Views)

hi,

 

I have two vi's. In my first VI, i have a button named Cancel. So when i press Cancel, the particular vi should get closed and it should open the second VI?

 

how can i do this in labview?

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 16 of 34
(1,332 Views)

Go through the Labview Basics 1&2 For programming practices.

Try the attached VIs

Message Edited by Baji on 08-07-2009 11:42 AM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Download All
0 Kudos
Message 17 of 34
(1,326 Views)

Go to File >> VI Properties >> Window Appearance category >> Customize...

 

Check the "Close if originally closed" option, you re done. It ll automatically close the first VI when you click the Cancel button, that is (only if) connected to the conditional terminal of the while loop.

 

Your second VI should be residing inside the case structure that will execute on Cancel=True inside the while loop of the first VI.

 

I suggest you to rename your Cancel button as 'Close', for easy user-understanding.

Message Edited by parthabe on 08-07-2009 01:14 AM
- Partha ( CLD until Oct 2024 🙂 )
Message 18 of 34
(1,322 Views)

hi,

 

thanks for your answer. but i have one more query which is related to vi.

 

so as i already told u that i have one cancel button in one vi. another vi consists of one string control. once i select cancel button, it has to focus to that string control. i mean curson have to be placed in the string control

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 19 of 34
(1,300 Views)
You need to use the Keyfocus property for the Str Ctl, to bring the cursor into it, when your SubVI is opened.
- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 20 of 34
(1,297 Views)