I have two vi's on seperate computers which share data via Datasocket over a wireless LAN. I have been trying to create a vi which sends essentially a verifaction signal every set interval from one computer, and if it is not recieved on the second computer, then it assumes the connection has been lost, and sets some variables to zero. I am having trouble implementing this though.
I can send signals peroidically, and recieve them. However, the timing means that it sometimes seems that the connectionis lost when it isn't, as the clocks aren't sycronised exactly. i.e. if the signal from the first computer doesn't arrive via datasocket at the exact instant that the loop on the second computer checks, it appears that no signal
was sent. (example vi's included below)
Is there any way of generating a continuous signal for a period of time from the first computer to send over Datasocket, or alternatively have the vi on the second computer open a 'window' where it would check for the signal to be recieved within a certain time frame? Would this overcome the timing issues, or is there another simpler way of achieving what i want? Any comments or suggestions very gratefully recieved!
Clare