Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Some "References" go missing while loading the nodeset.xml
June 6, 2018
16:39, EEST
Avatar
ashwin.fernandes
Member
Members
Forum Posts: 7
Member Since:
May 24, 2018
sp_UserOfflineSmall Offline

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)

June 6, 2018
17:24, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

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.

June 6, 2018
17:55, EEST
Avatar
ashwin.fernandes
Member
Members
Forum Posts: 7
Member Since:
May 24, 2018
sp_UserOfflineSmall Offline

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.

June 7, 2018
16:24, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

This ended up being a SDK bug when loading the model. More than one inverse reference of certain reference types causes them to be ignored. Will be fixed for the next release.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 683

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule, rashadbrownrigg, christi10l, ahamad1, Flores Frederick, ellenmoss

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1