16:39, EEST
May 24, 2018
Hi,
I’m currently trying to load a type definition nodeset file on the server. While doing so I found that some type references went missing because of which the types couldn’t be found at the location they were supposed to be found.
I created a model where certain types were subtyped from DeviceType(from DI model). As seen in the example below, GatewayDeviceType, ProfibusDeviceType and PBIDeviceType are subtypes of DeviceType. PBIDeviceType has a SubDevices component which is of ConfigurableObjectType which brings along with it a SupportedTypes folder. This folder should contain the type definitions of device types which can be instantiated which in my case are the GatewayDeviceType and ProfibusDeviceType.
But after loading the model in the server and viewing it from the client (UaExpert), it seems that the SubType reference to DeviceType from GatewayDeviceType and ProfibusDeviceType go missing and therefore cant be seen underneath DeviceType. Only PBIDeviceType can be seen.
After some trial and error I figured that the SDK could not realize both the HasSubType and Organizes reference while being used together for a Type. I figured this out because when the Organizes reference to SupportedTypes were removed from GatewayDeviceType and ProfibusDeviceType, these Subtypes were visible underneath DeviceType.
Example:
DeviceType
I->GatewayDeviceType (HasSubType)
I->ProfibusDeviceType (HasSubType)
I->PBIDeviceType (HasSubType)
I->SubDevices (HasComponent)
I->SupportedTypes (HasComponent)
I->GatewayDeviceType (Organizes)
I->ProfibusDeviceType (Organizes)
17:24, EEST
April 3, 2012
Hi,
If you can send the Nodeset to uajava-support@prosysopc.com I can take a look. I assume you did load the DI model first before loading your model?
Your example looks weird, but assuming it as-is, if you really did add a Organizes Reference from DeviceType to something, it should be noted that the SourceNode of Organizes ReferenceType cannot be anything other than an Object node (or well View as well, but those are not used anywhere), and generally it should be a FolderType Object instance.
17:55, EEST
May 24, 2018
Sorry, there was some formatting problem. Below is actually how it looks like
DeviceType
|–>GatewayDeviceType (HasSubType)
I–>ProfibusDeviceType (HasSubType)
I–>PBIDeviceType (HasSubType)
I–>SubDevices (HasComponent)
I–>SupportedTypes (HasComponent)
I–>GatewayDeviceType (Organizes)
I–>ProfibusDeviceType (Organizes)
Yes I did upload the DI Information model first. The organizes references is only from SupportedTypes which is a Folder instance.
Most Users Ever Online: 1919
Currently Online:
11 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: 729
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech KubalaModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1