Hey guys,
I'm new to this forum and if its ok would like to butt into this thread because it is exactly what i am looking for, rather than creating a new one altogether.
Basically I am trying to do the same thing. Instead of using the DDK i simply want to read in ASCI data from a remote TCP port using cicode.
Currently I have the board and port set up as follows..
Board: Board TCPIP Type TCPIP, Address 0
Port: Name X Number 1 Board TCPIP Special Opt -I10.200.61.1 -P50030 -T
Now i have checked using a command line that i can connect to that port with that IP address and it definately works, however when i use the ComOpen command I get a return value of -1.
I have tried both 0 and 1 as Mode on the ComOpen(Port, Mode) section but still get the same return value.
Can you suggest a reason why this isn't working? Is it to do with the fact that the device im communicating to needs to return a certain string value back to citect? or is it because i can only talk to a listening port not a slave port?