Properties
Optional $subscription
Defined in node-opcua-server/dist/monitored_item.d.ts:87
Optional _samplingId
_samplingId: string | Timer
Defined in node-opcua-server/dist/monitored_item.d.ts:88
clientHandle
clientHandle: number
Defined in node-opcua-server/dist/monitored_item.d.ts:86
discardOldest
discardOldest: boolean
Defined in node-opcua-server/dist/monitored_item.d.ts:84
filter
Defined in node-opcua-server/dist/monitored_item.d.ts:83
itemToMonitor
itemToMonitor: any
Defined in node-opcua-server/dist/monitored_item.d.ts:82
monitoredItemId
monitoredItemId: number
Defined in node-opcua-server/dist/monitored_item.d.ts:77
monitoringMode
Defined in node-opcua-server/dist/monitored_item.d.ts:80
Optional oldDataValue
Defined in node-opcua-server/dist/monitored_item.d.ts:79
overflow
overflow: boolean
Defined in node-opcua-server/dist/monitored_item.d.ts:78
queueSize
queueSize: number
Defined in node-opcua-server/dist/monitored_item.d.ts:85
samplingFunc
sampling
Func: ( value: DataValue , callback: ( err: Error , dataValue?: DataValue ) => void ) => void
Defined in node-opcua-server/dist/monitored_item.d.ts:89
Type declaration
Parameters
callback: ( err: Error , dataValue?: DataValue ) => void
Returns void
samplingInterval
samplingInterval: number
Defined in node-opcua-server/dist/monitored_item.d.ts:76
timestampsToReturn
Defined in node-opcua-server/dist/monitored_item.d.ts:81
Static defaultSamplingInterval
defaultSamplingInterval: number
Defined in node-opcua-server/dist/monitored_item.d.ts:74
Static maximumSamplingInterval
maximumSamplingInterval: number
Defined in node-opcua-server/dist/monitored_item.d.ts:75
Static minimumSamplingInterval
minimumSamplingInterval: number
Defined in node-opcua-server/dist/monitored_item.d.ts:73
Static registry
registry: ObjectRegistry
Defined in node-opcua-server/dist/monitored_item.d.ts:72
a server side monitored item
Once created, the MonitoredItem will raised an "samplingEvent" event every "samplingInterval" millisecond until {{#crossLink "MonitoredItem/terminate:method"}}{{/crossLink}} is called.
It is up to the event receiver to call {{#crossLink "MonitoredItem/recordValue:method"}}{{/crossLink}}.