if connected

Post Reply
Franswa
Posts: 6
Joined: Sun Feb 07, 2016 1:39 pm

if connected

Post 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

User avatar
Jae V
Posts: 117
Joined: Wed Jan 15, 2020 11:00 am

Re: if connected

Post 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.
Best regards,
Jason
(801) 708-6690
Technical Support
Contact Us



Beijer Electronics AB
http://www.beijerelectronics.us

Post Reply