I am trying to read raw data from ThoughtStream RS232 via USB cable but I don't get any of it.
I use SerialPort in C# but it looks like TS never sends any data.
Any help or idea on how to read data from TS?
Printable View
I am trying to read raw data from ThoughtStream RS232 via USB cable but I don't get any of it.
I use SerialPort in C# but it looks like TS never sends any data.
Any help or idea on how to read data from TS?
The TS data is always being streamed, while the machine is on and a session active. That is after calibration.
What USB to UART converter are you using? I have had luck with ones that contain the Prolific chip. Here is one similar to what I have: Plugable USB to RS-232 DB9 Serial Adapter (Prolific PL2303HX Rev D Chipset)
Can you see data in the ThoughtStream software itself. Note the new versions in testing are for the USB TS only but I could make the necessary adjustments to read the RS232 if there is a demand.
Otherwise, check that your baud rate is 4800. I suspect that it is your USB adapter or the port settings.
There's some more info here.
Everything works fine in the original software. USB-to-Serial converter is ATEN. I set baud ratio to 4800 but there is no difference. It read data a couple of times but usually it doesn't. Its strange SerialPort.BytesToRead is just always 0.