Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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 */
});