Test Condition:
National Instruments’ TCP Communicator Active.VI
Windows XP computer + a controller.
Case 1:
I call ‘TCP Open connection’ with a remote controller (only in the beginning).
During the program I just use ‘TCP Write’ and ‘CTP Read’. I issue many commands. I get responses
I call ‘TCP Close Connection’ it only at the end of the program.
Connection is present all the time
This works fine.
Case 2:
I call ‘TCP Open connection’ with a remote controller (only in the beginning).
During the program I just use ‘TCP Write’ and ‘CTP Read’.
I issue many commands. I get responses
Controller side network connection is broken.
I DO NOT issue commands.
Controller side network connection reestablished..
I issue many commands. I get responses
I call ‘TCP Close Connection’ it only at the end of the program.
Connection is NOT present all the time
This works fine.
Case 3a :
I call ‘TCP Open connection’ with a remote controller (only in the beginning).
During the program I just use ‘TCP Write’ and ‘CTP Read’.
I issue many commands. I get responses
Controller side network connection is broken.
I DO NOT issue commands.
I call ‘TCP Close Connection’.
I stop the program after proper closing.
Case 3b
I do NOT quit LabVIEW. I do not reset the controller
Now
I call ‘TCP Open connection’ with a remote controller (only in the beginning).
It comes up with the following error:
“Error 63 occurred at TCP Open Connection
Possible reasons:
LabVIEW: serial port receive buffer overflow / the network connection was refused by server.”
Case 3c
Everything same as 3a. Instead of 3b I have following:
I quit LabVIEW . I reset the controller.
I open the LabVIEW program again.
I call ‘TCP Open connection’ with a remote controller (only in the beginning).
During the program I just use ‘TCP Write’ and ‘CTP Read’. I issue many commands. I get responses
I call ‘TCP Close Connection’ it only at the end of the program.
Connection is present all the time
This works fine.
My question:
Q1 Why does this error not come in “case 2” and come in “case 3a” ??
Q2 Why does this error come in “case 3a” and does not come in “case 3b” ??
Thanks
Sandeep