How to delete all data of a channel are older than a date using a request.

2 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Christopher Stapels
Christopher Stapels el 27 de En. de 2024
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.

Categorías

Más información sobre Read Data from Channel en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by