lib/server/opcua_server.js
/*=== private
 *
 * perform the read operation on a given node for a monitored item.
 * this method DOES NOT apply to Variable Values attribute
 *
 * @param self
 * @param oldValue
 * @param node
 * @param itemToMonitor
 * @private
 */
private
perform the read operation on a given node for a monitored item.
this method DOES NOT apply to Variable Values attribute


private perform the read operation on a given node for a monitored item . this method DOES NOT apply to Variable Values attribute
function monitoredItem_read_and_record_value(self, oldValue, node, itemToMonitor,callback) {
    assert(self instanceof MonitoredItem);
    assert(oldValue instanceof DataValue);
    assert(itemToMonitor.attributeId === AttributeIds.Value);
    var dataValue = node.readAttribute(itemToMonitor.attributeId, itemToMonitor.indexRange, itemToMonitor.dataEncoding);
    callback(null,dataValue);
}
function monitoredItem_read_and_record_value ( self , oldValue , node , itemToMonitor , callback ) { assert ( self instanceof MonitoredItem ) ; assert ( oldValue instanceof DataValue ) ; assert ( itemToMonitor . attributeId === AttributeIds . Value ) ; var dataValue = node . readAttribute ( itemToMonitor . attributeId , itemToMonitor . indexRange , itemToMonitor . dataEncoding ) ; callback ( null , dataValue ) ; }
private
 perform the read operation on a given node for a monitored item.
private perform the read operation on a given node for a monitored item .