cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

X control display state cluster doesn't keep its value

¡Resuelto!
Ir a solución

Hello,

 

I'm trying to make a Xcontrol vertical graph. I would like the graph to automatically set the "Active Palette Tool" to the Pan Tool if the user press the CTRL key.

 

To do that, I planned to use a invoke node that I'll call when the user press the CTRL Key. My problem is that inside the invoke node code, the reference to my graph gets invalid for some reason. I did set the reference (hold in the "Display State Cluster") when the "Exec State Change Event" is triggered.

 

The problem is that the value is not hold in memory afterward. I really don't know where it get lost.

 

I've looked at some example and the seem to do it the same way but with much better success. What I'm I doing wrong?

 

Simplified code attached...

 

Thanks in advance for your help.

 

Vincent

0 kudos
Mensaje 1 de 3
2.865 Vistas
Solución
Aceptado por el autor del tema vgravel

If you change anything in the Display State control within the facade VI you need to set the "State Changed?" boolean in the Action cluster to TRUE.

 

I've fixed this in your example.

Mensaje 2 de 3
2.838 Vistas

Thank you very much!!

 

Emoticono feliz

0 kudos
Mensaje 3 de 3
2.833 Vistas