Maqsood

Need Help for Cx-Supervisor Push Button Action

3 posts in this topic

Dear All

              Could you people help me to solve this issue. I need a Function in cx-supervisor with Push Button.I want Bit ON, when I pressed the button, and when I release the button then this bit goes OFF.

Sorry for my bad English its not my native language.

Share this post


Link to post
Share on other sites

Use both MouseDown and MouseUp action.
On MouseDown, set the Point value to True. On MouseUp, set the Point value to False.

Share this post


Link to post
Share on other sites

Hi Masqood,

The short answer is to us the Toggle Button, and click “Toggle While Pressed”. This will work exactly like you said. 

But this question is quite similar to your last, and you should protect against any failures (network, BSOD etc) which might mean the Toggle-off might never get sent. 

Regards

BB

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now