데이터 지연에 관한 질문

최근 쿤웨이 힘 센서를 사용할 때 데이터 지연이 발생한다는 일부 고객의 문의가 있었습니다. 주요 성능은 저희가 제공한 소프트웨어를 사용할 때는 센서가 정상적으로 작동했는데, 직접 구축한 코드를 사용하거나 저희가 제공한 파싱 코드 예제를 사용할 경우 힘 센서의 데이터 출력이 지연되고 프로그램이 오래 실행될수록 이 지연이 계속 확대된다는 것이었습니다.

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.

1 1

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

찾다

뉴스레터 구독