system.kanoa.attribute.getPreviousAttributeEvent
Description
This will return the attributeEvent table entry prior to the passed in timestamp (kanoaOPS)Syntax
getPreviousAttributeEvent(assetId, tStamp)- assetId: int
- tStamp: datetime
- data - pyDataset
Code Examples
assetId = 33
tStamp = timestamp
data = system.kanoa.attribute.getPreviousAttributeEvent(assetId, tStamp)
print(data) # Print the dataset