I'm attempting to send strings to Labview using the XMLsocket object
in Macromedia Flash MX. I created a layer in Flash with the following
Action script:
mySocket = new XMLsocket();
mySocket.connect("localhost",2055);
Then I created a layer with a button that has the following button
Action script:
on (release) {
mySocket.send("mystring");
}
Then I created a Labview program (on the same machine) that has a
single while loop with code that creates a listener at port 2055 (the
port connected to Flash) and some code for reading the port.
This setup works, except Labview will only receive the string once
from the button push, even though the receive code is in a loop.
Subsequent button pushes in Flash does not resul
t in characters being
received in LV. Has anyone here done this before? Thanks.
gm