How to delete all data of a channel are older than a date using a request.
9 次查看(过去 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 中查找有关 Web Services 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!