You have a handshaking problem here. Once you write a value to a datasocket, the server will remember it. Just because your slave PC reads a value does not mean that the value should go back to default or even change at all. You must write to that datasocket to change it. I would suggest that you have your slave VI detect the shutdown boolean and then write a FALSE to it before shutting down. That way, the next time the VI is run, the boolean will be back in its default state.
WARNING: I have noticed that the VI that writes to the datasocket must keep running for a bit after the write operation. For some reason, if a VI writes to a datasocket and then terminates, the data sometimes fails to get to the server. That is odd behavior for sure. I have sp
oken to NI support about it too. Just make sure that before your VI terminates, that it writes to the datasocket and then confirms it by reading it back.
Good luck,
Daniel L. Press
NI Certified LabVIEW Developer
PrimeTest Corporation
www.primetest.com