The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
As subject, I would like to import adaptive sampling on Thingworx before transporting the data into DataBase, or the other way is adaptive adjust the interval of data consumption?
Hi 嘉吳_10657286,
Thank you for your question.
You can use any available method to get your data into ThingWorx, e.g. ValueStreams, with arbitrary sampling. Then you can interpolate / regularize it using this service:
let result = Resources["InfoTableFunctions"].Interpolate({
mode: undefined /* STRING */,
timeColumn: undefined /* STRING */,
t: undefined /* INFOTABLE */,
ignoreMissingData: undefined /* BOOLEAN {"defaultValue":true} */,
stats: undefined /* STRING */,
endDate: undefined /* DATETIME */,
columns: undefined /* STRING */,
count: undefined /* NUMBER */,
startDate: undefined /* DATETIME */
});