These are chat archives for node-opcua/node-opcua

1st
Nov 2017
arnesl
@arnesl
Nov 01 14:14
Thanks for the code how do you specify that the parent is an Object Type if i create an ObjectType and use that as a parent it does not work
what I want to do is this:
//Object type
var myObjectTypes = addressSpace.addObjectType({
    browseName: "myObjectTypes"
});
//Sub Object type 
var myObjectType1 = addressSpace.addObjectType({
    subtypeOf: myObjectTypes,
    browseName: "ObjectType1"
});

//add folder to sub object type
addressSpace.addFolder(myObjectType1, {
    browseName: "STATUS"
});

//or the folder-manipulator
folderman.addFolder(myObjectType1,"STATUS");    

//add variables to STATUS..
SchindLuder
@SchindLuder
Nov 01 16:31
Correct me if I am wrong but I think in opcua objects can not contain folders.