MinimumSamplingInterval will not be exported

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
stroebi
Sr. Member
Sr. Member
Posts: 16
Joined: 26 Nov 2015, 09:05

MinimumSamplingInterval will not be exported

Post by stroebi »

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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: MinimumSamplingInterval will not be exported

Post by Support Team »

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

stroebi
Sr. Member
Sr. Member
Posts: 16
Joined: 26 Nov 2015, 09:05

Re: MinimumSamplingInterval will not be exported

Post by stroebi »

Thanks for your reply.

But also values different to the default value are not exported. I do not get MinimumSamplingInterval entries at all!

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: MinimumSamplingInterval will not be exported

Post by Support Team »

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

stroebi
Sr. Member
Sr. Member
Posts: 16
Joined: 26 Nov 2015, 09:05

Re: MinimumSamplingInterval will not be exported

Post by stroebi »

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!

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: MinimumSamplingInterval will not be exported

Post by Support Team »

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.
Best regards
Unified Automation Support Team

stroebi
Sr. Member
Sr. Member
Posts: 16
Joined: 26 Nov 2015, 09:05

Re: MinimumSamplingInterval will not be exported

Post by stroebi »

Thank you for your effort and the upcoming fix!

Post Reply