Hey people, I want to stream EMG Signals via TCP into Labview.
When I connect my hardware for the sensors, it shows the signals in the manufacturer software, so the hardware works fine.
In the manufacturer software you can look up the port, and in the manual it says it transfers the data via TCP.
So I tried via TCP port to input the data and show it in a graph, however the graph only shows me a flat line. When I write some random number in the port, it shows me an error. So that means the port is ok. The manufacturer software shows me the signals, so the hardware is also working.
I think the problem is in the data conversion or something, has anyone an idea how to fix this ?
I made screenshots of the blockdiagram and the user manual where the data type is discused.
thanks
lepina
EDIT: I added a screenshot with the diagram and probes. maybe it will help
已解决! 转到解答。
Hi lepina,
I think the problem is in the data conversion or something
Maybe…
Do you get any errors from TCPRead?
Which string do you receive? How does it look (in Hex display mode)?
You don't need this TimedWhileLoop, just remove it…
@lepina wrote:
TCPRead shows me "No Error",
Are you sure? You are currently not handling the error. Since you are getting an empty string, I would expect to see a timeout error.
According to the manual it sends data via TCP
I dont know how many bytes I want to send, my first goal is just to get the real time signal on a graph.