13:47, EEST
July 12, 2022
Hi Team,
I am new in the forum and a newbie in Prosysopc, so please tell me if the information I give is incomplete/not clear. Also I would like to add an image to make it clearer but I cannot find the way. In Opc Expert I would like to show the folder tree in the left frame. It works perfectly when I first receive the data from the server. So far so good, by contrast when I modify the name of the folder on the server, the folder has still the same name in the client, and their tags are appended to the already existing entries. Also, a new folder with the data of the old one and the name of the new one is created. I am using MyNodeManager(extends NodeManagerUaNode).
The code is the following:
private FolderTypeNode myObjectsFolder;
private UaObjectNode myDevice;
final UaObject objectsFolder = getNodeManagerTable().getNodeManagerRoot().getObjectsFolder();
myObjectsFolder = createInstance(FolderTypeNode.class, “MyObjects”, myObjectsFolderId);
this.addNodeAndReference(objectsFolder, myObjectsFolder, Identifiers.Organizes);
final NodeId myDeviceId = new NodeId(ns, “MyDevice”);
myDevice = new UaObjectNode(this, myDeviceId, “MyDevice”, Locale.ENGLISH);
myObjectsFolder.addReference(myDevice, Identifiers.HasComponent, false);
QualifiedName deviceQualifiedName = new QualifiedName(getNamespaceIndex(), devicePath);
NodeId deviceId = new NodeId(getNamespaceIndex(), “MyLevel”);
UaNode myLevel = new UaObjectNode(this, deviceId, deviceQualifiedName, new LocalizedText(devicePath, Locale.ENGLISH));
if(!getNodeManagerTable().hasNode(myLevelId)) {
myDevice.addComponent(myLevel);
}
Does anyone have an idea what is happening and how to fix the issue?
Thanks and regards.
15:38, EEST
December 21, 2011
Maybe the problem is in the client application that you are using, that it does not refresh the nodes after your updates. Please check out with Prosys OPC UA Browser and use the Refresh action in the address space after you have modified the server to update it.
Most Users Ever Online: 1919
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1