Hello,
I have a C library I've been using for a while which allows text
messages to be embedded unto UDP datagrams and sent from one
application to another over a local Ethernet. I've used it for several
years with no problems.
At the moment, I'm trying to take one of the application which uses
this library, and send some of its results over the network to a
Labview application. I've been trying to start by looking at the
udpex.lib example VI's, and loading the Spray Receiver VI.
I figured that if I set the Spray Receiver's port number to the same
port as I'm broadcasting messages to, then I should see the messages
that are being passed around. However, I don't- the receiver always
times out. Similarly, if I use the Spray Sende
r to broadcast to the
same port as I'm listening to, I would expect to receive a datagram in
my C code, but nothing appears.
Running the Spray Sender and Spray Receiver VI's together seems to
work fine- I see the messages bouncing back and forth between them.
I'm pretty sure I have the port numbers and other parameters set
appropriately, but I'm stumped as to why I'm getting no indications of
messages passing back and forth between the Labview and C sides. Can
anyone suggest anything to look for, particularly something that might
help someone who (at least, thinks) knows the win32 UDP well, but is
just getting started with LabView?
Thanks,
Les Elkins
Spatial Inttegrated Systems, Inc.