serialport communication through Qthread
-
@Christian-Ehrlicher im doing this in windows
@ChrisW67 the output for the code you have provided
Time: 14043 ms
count: 1
12 sendingg___size
Time: 14053 ms
count: 2
12 receive___size
0 receive___size
0 receive___size
0 receive___size
0 receive___size
0 receive___size
0 receive___sizelike this after some time it is 12 receive then it becomes 0
-
@ChrisW67 i have used the connect part and cheched with qdebug
Time: 8164 ms
count: 1
12 receive___size
12 sendingg___size
Time: 8177 ms
count: 2
12 receive___size
12 sendingg___size
Time: 8189 ms
count: 3
12 receive___size
12 sendingg___size
Time: 8204 ms
count: 4
12 receive___size
12 sendingg___size
this is the output for 15,ms it is working perfectly but i need this for 3ms -
Sometimes I wonder about the ignorancy of people here. As we already said many times - your requirement is not achievable - neither with Qt nor with windows. There are so many buffers invovlved and the normal time slices / multitasking is doing the rest. Use a real-time operating system if you have this requiremnt. You will never be able to to something with windows and it's also not even needed in any case (except satisfying the paper with the requirement).
-
@Christian-Ehrlicher ok thankyou for your reply.
-