Page 1 of 1

Create MonitoredItem of Structered Variable

Posted: 17 Apr 2015, 02:41
by ck84vi
Hy,

I'm trying to create a MonitoredItem of a structered variable.

The variable itself looks like:

struct recipe
{
int value1;
string value2;
real value3;
..
};

But currently I get the error {BadNotSupported} for the structured variable when I try to create the MonitoredItem for this variable.

Is there a way to create a MonitoredItem as well as read structured variables similar to the approach of reading non structured "normal" variables?

Re: Create MonitoredItem of Structered Variable

Posted: 17 Apr 2015, 08:33
by Support Team
Hello,

There are no differences between subscribing to "normal" variables and subscribing to variable with a structured DataType. Please see the documentation for an example: http://documentation.unified-automation ... en_net_st8

Best regards
Support Team

Re: Create MonitoredItem of Structered Variable

Posted: 17 Apr 2015, 09:26
by ck84vi
Thank you very much,

i didnt know about the UaModeler since I'm on the test version of the SDK in this was the last thing I wanted to test out. This will help me a lot.