Hi all,
I'm trying to find out if shared variables are a good candidate for arbitrating shared access devices.
The system architecture involves two PC's networked to several TCP/IP devices. Each TCP/IP device only allows a single connection from a client PC.
I was hoping to use a shared variable to indicate that a particular TCP/IP device is currently 'locked' and being controlled by the first PC. The status of this shared variable could then be read by the second PC to disable control areas of its front panel accordingly.
Unfortunately there is a chance that one of the PC's (could be either one) may not be running, so I'm not sure how to control the deployment of the shared variable. Also the IP addresses of the workstations may be changed when the system is deployed.
Is is possible to search for the existance of a shared variable or create a new shared variable if required at run-time?
Best regards
Phill