04-01-2013 11:02 AM
I need a suggestion for reading a response from a TCPIP command before writing again.Each of the following are commands. Each of the comands gives a response but when I create a file for labview to write and then read the response, it only does one and quits. I tried just putting it in an array, through a for loop etc. I just can't get a response from each command.I just need a suggestion.
SC,C:\Program Files(x86)Aircraft)_Example.scn
RU
0 00:00:10,EN,1,1
04-01-2013 11:23 AM
What port are you using? What are you talking to? I have some code that communicates with an Omega temperature controller and port 1000 is of the nature that the iServer will control (& close) the connection. My notes indicate that port 1000 in general works this way but I'm not 100% sure. I ended up using port 1000 because that's what the device wanted. Maybe there's a timeout too. How much time is there between requests for info?
Albert
04-01-2013 11:30 AM
My port is 15650. I am communicationg with the software. Their is a local utility on the same machine that can read the command and operates correctly but when I try to communicate with a different machine I can't get my file to operate correctly. Example: I send
RU
0 00:00:10,EN,1,1
The following two commands mean run the scenario and the second command means end the scenario after 10 seconds and rewind.
04-01-2013 11:36 AM
Hopefully someone who knows more about this can help. My only recommendatios at this point is to get sample code or maybe reopen the connection for every request even though it sounds ugly.
Albert
04-01-2013 02:51 PM
Without seeing your code it is virtually impossible to solve your issue. You really need to post what you have written so far so we can see what the issue is.