How to delete all data of a channel are older than a date using a request.
조회 수: 2 (최근 30일)
이전 댓글 표시
When my sensor started sending data to the server, for a few days it sent incorrect values due to incorrect placement.
Now I want to delete this initial data recorded before a certain date.
Is there any way to do this either through the website or using an Http request?
Which is the correct Http request syntax to delete the data before a date or between two dates?
댓글 수: 0
답변 (1개)
Christopher Stapels
2024년 1월 27일
There is not an API command to selctively delete specific points. You can clear all channel data at once with the API and with the web UI. The workaround is to download all the data, delete the points you need and then re upload the cleaned data. Since you can set the range on field plots and custom visualizations, the bad data shouldnt change your viewing of the channel data.
If you choose the re - upload method, you will need to be very careful with timestamps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Read Data from Channel에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!