Disable objects based on IP address or name of HMI

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
williephillips
Posts:9
Joined: Thu Nov 04, 2010 11:57 am

Disable objects based on IP address or name of HMI

Post by williephillips »

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

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Disable objects based on IP address or name of HMI

Post by leoknipp »

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

williephillips
Posts:9
Joined: Thu Nov 04, 2010 11:57 am

Re: Disable objects based on IP address or name of HMI

Post by williephillips »

this.enabled = (myManNum() == 9); also will work. change the 9 to the manger number you are using on the HMI

3 posts • Page 1 of 1