UAProxyManager Class
Module: opcua.client
Constructor
UAProxyManager
(
async
-
session
Parameters:
-
session
Object
Item Index
Methods
Methods
add_method
construct a callable method
(
private
-
obj
-
reference
-
callback
Parameters:
-
obj
Object -
reference
Object -
callback
Object
convertNodeIdToDataTypeAsync
(
-
session
-
dataTypeId
-
callback
Parameters:
-
session
ClientSession -
dataTypeId
NodeId -
callback
Function-
err
Error | Null -
dataType
DataType
-
Example:
var dataTypeId ="ns=0;i=11"; // Double
convertNodeIdToDataTypeAsync(session,dataTypeId,function(err,dataType) {
assert(!err && dataType === DataType.Double);
});
var dataTypeId ="ns=0;i=290"; // Duration => SubTypeOf Double
convertNodeIdToDataTypeAsync(session,dataTypeId,function(err,dataType) {
assert(!err && dataType === DataType.Double);
});
see also AddressSpace#findCorrespondingBasicDataType
getObject
(
-
proxyManager
-
nodeId
-
options
-
callback
Parameters:
-
proxyManager
Object -
nodeId
Object -
options
Object -
callback
Function-
err
-
clientObject
-
getObject
(
async
-
nodeId
-
callback
Parameters:
-
nodeId
Object -
callback
Object
readValue
(
-
callback
get a updated Value of the Variable , by using a ReadRequest
Parameters:
-
callback
Function-
err
Error | Null -
dataValue
DataValue
-
stop
(
async
-
callback
Parameters:
-
callback
Object
writeValue
(
-
dataValue
-
callback
set the Value of the Variable, by using a WriteRequest
Parameters:
-
dataValue
DataValue -
callback
Function-
err
Error | Null
-
Properties
$components
Arraythe object's components
$methods
Arraythe object's properties
$organizes
Arraythe Folder's elements
$properties
Arraythe object's properties
browseName
String
the object's browseName
description
String
the object's description
nodeClass
NodeClass
the object's NodeClass