最近、一部のお客様からKunwei力センサーを使用した際にデータに遅延が発生するとのご報告をいただきました。主な性能は、弊社が提供したソフトウェアを使用した場合、センサーは正常に動作しますが、themselevsが構築したコードを使用したり、弊社が提供した解析コード例を使用した場合、力センサーが出力するデータが遅延し、この遅延はプログラムの実行時間が長くなるにつれて拡大し続けます。
Reason Analysis
After communicating with these customers, we learned that the reason for this phenomenon is from the analysis of data. Some customers directly place the parsing code provided by us in the position of reading sensor data in their own code., and do not care about the execution timing of this code; there are also customers who have added drawing operations to their own programs. The function of drawing greatly occupies computer resources, resulting in the data by the sensor being accumulated and not processed in time.
Solutions
Actually, the 6 axis force sensor will always send out the force and torque data, we recommend that the customer make the data analysis function of the sensor into an independent thread, so that the thread keeps receiving data and analyzing data. Then the customer uses other threads to call the latest data results parsed by the parsing thread, instead of inserting the parsing part into a function segment and the parsing function is executed circularly with some other functions, so that the sensor’s data will be affected by other functions. As a result, the data is stacked together and cannot be parsed in time.
Under the normal situation, whether you use our software or build your own parsing code, the data of the force torque sensor will change rapidly with the tapping when you tap the sensor gently.

If you have any problems in use, please communicate with our technical engineers in time, and we will provide you with technical support.






