取消
显示结果 
搜索替代 
您的意思是: 

menu ring values

已解决!
转到解答

saludos cordiales

 

dentro de mi proyecto tengo establecida una maquina de estados controlada con un menu ring.

 

cuando paso a traves de los estados y se realiza la accion especificada en el estado, en alguno de estos estados se requiere volver al inicio para que el usuario pueda volver a seleccionar alguna opcion.

 

el problema surge por que al volver al estado inicial, el menu ring ya esta marcando una opcion (la que se habia elegido inicialmente) y vuelve al mismo estado en el que se encontraba el programa.

 

en realidad no se de que forma pueda haber una solucion, agradezco mucho me puedan colaborar con este topic

 

 

gracias

 

Grettins

in my project i have a states machine controled by a menu ring.

 

when i start the program, the action is executing normally for every state but in some of this states is importan return to the first state because the user have to choose some action.

 

the problem begins because when the program return to the first state, the menu ring is already in an option (the option we chose initially) and the program take that value, so the program go to the same state..

 

i hope that someone can answer this problem...

 

thanks a lot

0 项奖励
1 条消息(共 7 条)
4,526 次查看

Usually, state machines use an enum datatype to define the states and not a menu ring.  It's unclear what you are doing by your description.  Perhaps you can post a VI that demonstrates your problem.  It sounds like you are somehow connecting your state machine to a cldontrol on the front panel, which would not be something you would normally want to do in a state machine architecture.

0 项奖励
2 条消息(共 7 条)
4,517 次查看

Hi Cristhianow,

 

I think you must have left the connections between the two terminals of the shift register unwired. You must wire both the shift register terminals in all the cases. Cross check your code. Go through the vi i have attached here. If your problem still persists, do attach your code.


Regards,

Nitzz

(Give kudos to good Answers, Mark it as a solution if your problem is Solved;)) 

0 项奖励
3 条消息(共 7 条)
4,505 次查看

 

thanks a lot por answer this topic, someone told that I can solve my problem with a property node: value, but I tryed to add this property node to my project and search about his use but I couldn´t know how it worked

 

I add my project´s VI, and it´s important say that I learned Labview empirically  so apologize for something wrong in my work.

 

when the VI Stars, the menu ring is in the value " seleccionar alguna opcion", so the program wait for the user´s choice

for example, the option that always I will choose is "Registrar Datos", and it´s importan that the program show me if I wanna start the data registry and if I want to keep that process, but when I choose "no", the program have the order to go to "inicio" where supposedly the program have to wait an user´s choice, but the menu ring keep the same value so the program go to the same state, and this is I wanna change.

 

thanks a lot for your colaboration...

 

 

 

下载全部
0 项奖励
4 条消息(共 7 条)
4,492 次查看
解答
接受人 Cristhianov

Right-click your menu selector in your block diagram. Then select Create -> Property Node -> Value.

 

Place it and right-click the property value. Select Change to read. Then right-click the terminal and select Create Constant.

 

This will change the value of the control on your front panel. 

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
5 条消息(共 7 条)
4,486 次查看

thankssssssssssssssss a looooooot. I can make it!!

0 项奖励
6 条消息(共 7 条)
4,481 次查看

That's great! Good luck with your work高兴表情

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 项奖励
7 条消息(共 7 条)
4,478 次查看