Has anyone created a script to disable certain objects on a panel based on the name or IP address of the computer the operator is using?
I have some pumps I want to be able to stop and the status to be seen on all the HMI's but only started on one.
Thanks
Disable objects based on IP address or name of HMI
- williephillips
- Posts:9
- Joined: Thu Nov 04, 2010 11:57 am
Disable objects based on IP address or name of HMI
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Disable objects based on IP address or name of HMI
Hello,
you already got the information from our product support that you can use the function getHostname() to identify on which computer the user-interface is running.
Best Regards
Leopold Knipp
Senior Support Specialist
you already got the information from our product support that you can use the function getHostname() to identify on which computer the user-interface is running.
Best Regards
Leopold Knipp
Senior Support Specialist
- williephillips
- Posts:9
- Joined: Thu Nov 04, 2010 11:57 am
Re: Disable objects based on IP address or name of HMI
this.enabled = (myManNum() == 9); also will work. change the 9 to the manger number you are using on the HMI