I am trying to sending commands from my console via a UDP port to matlab where my instrument is controlled.
When I send a command (as package) from my console, on the matlab side I always have to run 'readpacket' and 'read' to get it.
Is it possible to skip that?
Thanks a lot!
I did it :)
Still the jTCP serialization is off and i use my own one with the use of typecast.
The solution is to send a constant length of the data stream for example 40 bytes.
Then i used the NUMBYTES parameter in jTCP read and deserialized again with typecast.
Now i'm not flexible with the data i send but it's no problem because the sender and receiver know about that.