Home > Back-end > Victor controls the use of serial port
Victor controls the use of serial port
Time:09-17
I used victor controls from the drive (a machine) receives the data, and then painted waveform data, because the data returned data quickly, now victor is unacceptable to the next bit machine data, there is slowly in front of instruction, send and receive is normal, but the data behind the fast, don't get all the time, I originally received in a thread, but can't, later I change within a timer, every 5 ms read from the buffer time, but I still can't, a machine under 10 bytes per frame data is the data,
CodePudding user response:
CodePudding user response:
A place to have the wrong number above, is eight bytes per frame data
CodePudding user response:
Thank you for help
CodePudding user response:
1. Receiving data suggest that in controls 1 OnPackage events, 2. The other side of the data even send a frame at a time, eight bytes, but when received, also may appear to receive incomplete a frame, so you are in processing, for the rest of the insufficiency of a frame of data processing,