Dear Support Team,
I'm using the actual verison of the UA Modeler (V1.5.0) and I'm missing the MinimumSamplingInterval entry in my XML export.
Thanks in advance!
BR Florian
MinimumSamplingInterval will not be exported
Moderator: uamodeler
-
- Sr. Member
- Posts: 16
- Joined: 26 Nov 2015, 09:05
- Support Team
- Hero Member
- Posts: 3069
- Joined: 18 Mar 2011, 15:09
Re: MinimumSamplingInterval will not be exported
The schema for NodeSet2 XML files defines default values for attributes. If the MinumumSamplingInterval is 0, the MinimumSamplingInterval is not exported to the file.
Best regards
Unified Automation Support Team
Unified Automation Support Team
-
- Sr. Member
- Posts: 16
- Joined: 26 Nov 2015, 09:05
Re: MinimumSamplingInterval will not be exported
Thanks for your reply.
But also values different to the default value are not exported. I do not get MinimumSamplingInterval entries at all!
But also values different to the default value are not exported. I do not get MinimumSamplingInterval entries at all!
- Support Team
- Hero Member
- Posts: 3069
- Joined: 18 Mar 2011, 15:09
Re: MinimumSamplingInterval will not be exported
We used UaModeler 1.5.0 to create a model with a Variable with MinimumSamplingInterval 123. In the exported XML file you can find the MinumumSamplingInterval:
Code: Select all
<UAVariable DataType="Double" NodeId="ns=1;i=6002" BrowseName="1:V" MinimumSamplingInterval="123">
<DisplayName>V</DisplayName>
<References>
<Reference ReferenceType="HasTypeDefinition">i=63</Reference>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
</References>
<Value>
<uax:Double>0</uax:Double>
</Value>
</UAVariable>
Best regards
Unified Automation Support Team
Unified Automation Support Team
-
- Sr. Member
- Posts: 16
- Joined: 26 Nov 2015, 09:05
Re: MinimumSamplingInterval will not be exported
Sorry, I was not able to upload my picture as an attachment, so I uploaded it to a webspace.
Please look at the picture:
http://astroebi.lima-city.de/tmp/uamodeler.png
This is the result when I export my model.
Thank you!
Please look at the picture:
http://astroebi.lima-city.de/tmp/uamodeler.png
This is the result when I export my model.
Thank you!
- Support Team
- Hero Member
- Posts: 3069
- Joined: 18 Mar 2011, 15:09
Re: MinimumSamplingInterval will not be exported
You found a strange bug in UaModeler. When a MinimumSamplingInterval is edited, it will be exported to the XML file. If a model is loaded from binary file, the MinumumSamplingInterval is not exported.
We will fix this in th enext hotfix version.
As a workaround you can edit each MinimumSamplingInterval before exporting. After all MinimumSamplingIntervals are edited, you can work with XML file in your project. See "Update From File" in documentation.
We will fix this in th enext hotfix version.
As a workaround you can edit each MinimumSamplingInterval before exporting. After all MinimumSamplingIntervals are edited, you can work with XML file in your project. See "Update From File" in documentation.
Best regards
Unified Automation Support Team
Unified Automation Support Team
-
- Sr. Member
- Posts: 16
- Joined: 26 Nov 2015, 09:05
Re: MinimumSamplingInterval will not be exported
Thank you for your effort and the upcoming fix!