I am still unable to subscribe to the alarm and events notifications from a remote machine. I started working on the machine hosting the shared variables and made a discovery. This machine is not on a windows domain and has a static ip with no dns entry. On this machine, if I request alarm and event notifications and provide a list of shared variables in the format of
\\mttorocontrol\.... or
\\localhost\... then the alarm events are recieved. If I change the address to use the ip address in the path,
\\134.89.45.10\... then no alarm events are ever recieved. It appears that the list of shared variables in the array must use a hostname for the alarm and events notification vi to work. I was going to try and verify this somehow. Perhaps on another machine adding 134.89.45.10 as mttorocontol in the windows XP hosts file.
I have a workaround for now. I can read alarm status remotely using the request value change notifications and provide a path to the remote shared variables in the form of "
\\134.89.45.10\toro\EMS Motion Sensor State.Alarms.Lo.Set" with the whole string in quotes being the path. Unfortunately I can not ack the alarms using this approach.
Eric Nelson