AnsweredAssumed Answered

VRF-Sockets

Question asked by VRFuser on Jun 25, 1996
>From goldbren@husc.harvard.edu Tue Jun 25 10:08 MDT 1996

from: Greg Goebel / HP-MXD
      gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
to:   David Goldbrenner
date: Tuesday, 25 June 1996 1018 MDT

Sir: 

As a polite suggestion, you might consider the usefulness of putting a text
header in your message ... the mailers don't necessarily identify you very
clearly and if a message is forwarded to someone else, all return
identification can be lost -- and it's also useful for the recipient to know
who the message is intended for.

Forgive me for belaboring this, but we've had a lot of minor problems that
became major ones because we couldn't get back to people.

   "The Internet is about as reliable as the Russian phone system."

> Hey guys,
>         Hope someone out there is a HP VEE expert. I need some advice
> regarding the To/From Socket function. Basically, I have a program that
> runs continuously, all day long, recording data from an instrument. I want
> to be able to read that data from another computer on our local network, in
> real time. In other words, I want to be able to just sit down at a remote
> computer at any time, and load another HP VEE program which, when run, will
> connect to the other computer and read the data coming in from the
> instrument.
>         The problem is, if I include a To/From Socket object in the
> original program, the program sits there waiting for a connection before it
> will start running its other threads, i.e. collecting data from the
> instrument. Eventually, it times out. I've looked through the manuals and
> can't find any way to handle this. Is there any way I can get my program to
> continuously collect data WHILE it also waits for a remote connection?
> Thanks alot.

What you want to do is poll -- have a separate branch in your program that
is executed periodically with a To/From Socket object that has a half-sec
timeout and an error pin output to determine if the connect succeeded or
failed.

If you have more questions, let us know.

[<>] regards -- gvg

Outcomes