Page 1 of 1

if connected

Posted: Mon Feb 15, 2016 2:52 am
by Franswa
Hello,
I would to execute a script which say "if i m connected, when I press the button1, tagA take the value 1 to show screen1 else it take the value 0 to show screen0". But I don't know what can I put in my condition.

public partial class s0start
{
static s0start()
{
void Button1_Click(System.Object sender, System.EventArgs e)
{
If (User is connected)
{Globals.Tags.tagA.Value=1;}
else{Globals.Tags.tagA.Value=0;}
}
}
}


thank you for your interest in my message.

François

Re: if connected

Posted: Wed Jan 29, 2020 2:54 pm
by Jae V
Hello,
We understand that this is a very old post. We would need more clairification on what you meant by USER. Would you want the screen to change on a logged in user or on feedback (touching the screen) from a user (i.e. screensaver). If you or if there is anyone who is still experiencing this or similar issues and require assistance, please visit us at https://www.beijerelectronics.us/en-US/ ... ___support or give us call at 801.708.6690. Thank you.