03-12-2004 05:14 PM
03-14-2004
08:48 AM
- last edited on
12-11-2024
10:04 AM
by
Content Cleaner
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 wit
h 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
Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com