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?
Create MonitoredItem of Structered Variable
Moderator: uasdknet
-
- Jr. Member
- Posts: 3
- Joined: 16 Apr 2015, 04:25
- Support Team
- Hero Member
- Posts: 3064
- Joined: 18 Mar 2011, 15:09
Re: Create MonitoredItem of Structered Variable
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
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
-
- Jr. Member
- Posts: 3
- Joined: 16 Apr 2015, 04:25
Re: Create MonitoredItem of Structered Variable
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.
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.