VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Worksapce Custom Controls: Register event generated by another Control

Hi everybody,

I have implemented two custom control (slider tool) for the veristand workspace but i have a problem.

There is a way to generate an event in the first custom control and register the same event in the second custom control?

My idea is to change the value of an indicator in the second control when a condition becomes true in the first control.

I need to use events because I want to avoid the use of polling.

I try to use user events but they don't work.

 

Someone can help me?

0 Kudos
Message 1 of 3
(5,202 Views)

Hi Fefo,

 

i think that you talk about how active an event on value change of an indicator. It is possible if you use a property node called Value Signaling. You can find more info in the attacchement below:

 

http://digital.ni.com/public.nsf/allkb/024828947672E68586256ADB0071FB1B?OpenDocument

 

Mario

0 Kudos
Message 2 of 3
(5,183 Views)

Hi Mario, thanks for your reply.

I know labview events and I used them within my controls.

But the problem is that if I generate an event in a control and I register the same event in another control (both opened in the veristand workspace), the second control doesn't receives nothing.

Is there a way to send en event to a whole workspace so that all the opened control can receive it?

0 Kudos
Message 3 of 3
(5,174 Views)