02-12-2019 04:08 AM - edited 02-12-2019 04:09 AM
Hi,
We have a PCO camera linked on NI-1483 camera-link adapter (FlexRIO). I try to configure the camera to auto sequence via serial interface(SerTC) port of NI-1483. I already setup all hardware and software. Now I can detect the camera clock via NI-1483. I want to utilize serial sever.vi to communicate with the camera via serial port(SerTC). However, I cannot connect the serial server as following figure. Is there anyone know or have experience on the work of TCP serial communication via UART? Thanks. The information about the example code UART and serial server.vi is not much.
Best,
Yong
Solved! Go to Solution.
02-13-2019 01:08 AM
Hi Yong,
Here are some methods for the errors:
Error 56
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Lz2SAE&l=en-MY
Get TCP Listen and/or TCP Wait on Listener VI's to return an IP address
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LRASA2&l=en-MY
Error 1 at TCP close
https://forums.ni.com/t5/LabVIEW/Error-1-at-TCP-close/td-p/1044680
You can also try to close the firewall while running the program.
I don't have experience on the work of TCP serial communication via UART, therefore I can just only provide some information for your reference.
02-13-2019 04:48 AM
Hi, AlysaOng,
Thanks for reply. Let me try above methods. Thanks.
Best,
Yong
02-19-2019 08:31 PM
I got is works. I just need to let the TCP server run first, and then utilize the PCO SDK for the generic serial connection. The FlexRIO interface clsernif.dll is necessary to establish the serial communication to camera via NI-1483 as following figure.
Thanks
Best,
Yong