LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control pull down menu while VI is running

i am new to LabView, i am a student.  I am working on a vacuum chamber and want to put in some extra controls for the heater.  right now i have it designed so that there is a simple pull down menu set as "contorller", has options of heat off, low, mid, high.  i want to check while my VI is running if the heat rises above a set temp, 150, and if it does i want to turn my heater off. this part i can do, i used a simple pid case.  what i can not seem to do is to change the value on the pull down menu.  i am not sure if this can even be done, since the pull down menu is a "controller" and not an "indicator". i have a indicator too on the front panel and it will display the correct value after the pid loop.  so i guess this is more for the "look" and to try and eliminate any user errors from them not knowing if the heat is on or not.   lol i am sure there are nicer ways of doing this so if anyone has a solution other than what i was thinking please let me know. i would love to get some feed back from more experienced users.  thanks for the help.

0 Kudos
Message 1 of 9
(3,234 Views)

Can you post your code? In labview 2009?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 2 of 9
(3,231 Views)

oh i am sorry i forgot to mention that i am using LabView version 8.2.  it is at least not the student verison.  lol

 

 

 

as for the code request i will have to do it tomorrow morning.  it is on my comp in the lab and i dont have remote access to it

0 Kudos
Message 3 of 9
(3,228 Views)

Hi,

 

I have attached some code that might help.

 

Regards

Martin

Message 4 of 9
(3,214 Views)

hi thank you for your help.  i happen to be running on an older version, i am a grad student.  we have version 8.2.0. is their any way that you can send me that code in 8.2.0. i can not open it as of right now, so that i can look at it

0 Kudos
Message 5 of 9
(3,188 Views)

You should post your code. Generally, a control should be selectable at any time unless you've done something silly like place a while loop inside an event and have the front panel locked.

Message 6 of 9
(3,184 Views)

ok here is the code with no pid controls in it yet.  i am also having trouble with reading my temp and being able to keep that value while i read another then compare the two together to see if the temp has risen.  if you could help with either of these it would be a great help.  thank you very much for your help

0 Kudos
Message 7 of 9
(3,178 Views)

There is no while loop in your code so it will only run once and selecting any pull down after clicking run does not make any sense. If you are using the run continuous button, STOP doing that and place a while loop around the part of your code that you want to run.

 

p.s. Your block diagram is huge and I am unable to see all of it without a lot of scrolling. Make it smaller.

Message 8 of 9
(3,175 Views)
Message 9 of 9
(3,142 Views)