09-05-2014 04:47 AM
Hello
I currently have a serial device being read through a hardware RS232 to TCP/IP converter.
On the computer with labview I use a third party virtual serial port that reads the TCP/IP data and converts it pack to COM port data.
I then read the COM port normally with VISA.
I would like to remove the third party TCP/IP to RS232 software and have LabView read the TCP/IP port and convert to serial.
How would I achieve this?
More details on the hardware and 3rd party sofware;
thydzik.com/monitor-cms2000-inverter-via-tcpip-usr-tcp232-e4-rs232ip-convertor/
More details ont he labview code here;
thydzik.com/log-solar-generated-to-pvoutput-with-labview/
Solved! Go to Solution.
09-05-2014 01:35 PM
You can do this through VISA as explained here, or using the TCP VIs for which there are examples and help documents.
09-05-2014 07:35 PM
thanks.
But looking for a bit more details about the TCP VI and interfacing it with the VISA VIs for serial.
09-05-2014 08:26 PM
It might be possible to capture the TCP/IP traffic using a port sniffer (such as WireShark) and deduce required protocol.
WireShark is free. 😉
09-05-2014 08:39 PM
09-05-2014 10:54 PM
thanks, you were right, I didn't think it was so simple, literally changing the VISA VIs to TCP equivalent.
thanks all for your help.
09-07-2014 06:53 PM - edited 09-07-2014 06:54 PM
Check your settings for your converter. Most Serial port Servers have different modes of operation. (Raw Data, TCP or UDP, ect) This would allow you to directly access the serial port and would remove the requirement of a virtual port. I use B&B electronics. They have a good priced serial port servers for around $125.