USB To Increase speed
-
We are going to add a USB connection to our system. I am estimating that this will at least double the speed of transmission from the little box to the PC/GUI. There is a real possibility that we will send the data at 10x the existing speed. Maybe 14x The GUI amasses 8192 bytes per second, and draws 20 graphs from that one second. The samples will still be one second apart, they will just jump across ten times faster. Has anyone gone through this biz before ? Is there anything my GUI/PC guy needs to beef up in the GUI to handle this ? He has a thread for the data reception and a thread for the graphing of that data.
-
We are going to add a USB connection to our system. I am estimating that this will at least double the speed of transmission from the little box to the PC/GUI. There is a real possibility that we will send the data at 10x the existing speed. Maybe 14x The GUI amasses 8192 bytes per second, and draws 20 graphs from that one second. The samples will still be one second apart, they will just jump across ten times faster. Has anyone gone through this biz before ? Is there anything my GUI/PC guy needs to beef up in the GUI to handle this ? He has a thread for the data reception and a thread for the graphing of that data.
That really depends on how the threads communicate. Does the data reception thread send the data to the GUI thread, or does the GUI poll the data thread. Also important: where and how is the data stored. The biggest issues I foresee are that your data thread could become too fast for the GUI thread and the latter starts lagging behind, or when the GUI thread locks some resource that this could cause the data thread to hang on the lock too much to keep up with the increased data.