I ma not sure if you have to use TCP/IP.

What if Bob had a seperate loop that just used UDP to repeatedly
broadcast a count that is incremented each time a read completes.

Alice could listen for the broadcast and and act depending on if it
saw Bob count change in a resonable amount of time.

The next variation I would concider is using to use VI server (based
on TCP/IP but the low level stuff is done for you). Bob could invoke a
VI on Alice that told her to start. If she does not hear from Bob to
stop she just keep blasting away.

Otherwise the approach you have outlined MAY work. I can not say the
will not be complications becuase I ussaully write my code to avoid
errors so I can not speak from experience. I seem to remember people
having some trouble with restarting/reopening TCP sessions over
extended periods of time. That may have been some time ago, not sure
on that.

I hope this help. Fire away if you have follow-ups.

Ben


<a
href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner</a>
<a href="
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer </a>
www.DSAutomation.com

Reply via email to