Recientemente, algunos clientes nos informaron de que había un retraso en los datos cuando se utilizan sensores de fuerza Kunwei. El funcionamiento principal es que el sensor funcionaba con normalidad cuando se utilizaba el software proporcionado por nosotros, pero si utilizaban el código construido por themselevs o utilizaban los ejemplos de código de análisis sintáctico proporcionados por nosotros, la salida de datos del sensor de fuerza se retrasaba, y este retraso seguía aumentando a medida que el programa se ejecutaba durante más tiempo.
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.






