Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Writing to variables

More
17 Dec 2018 19:26 #6925 by support
Replied by support on topic Writing to variables
Thank you for update. I am glad it works.

Would you mind sharing what the problem/solution was?

Best regards

Please Log in or Create an account to join the conversation.

More
17 Dec 2018 16:35 #6924 by SolutionNow
Replied by SolutionNow on topic Writing to variables
Never mind! Apparently my colleagues were able to get everything running correctly today. Thanks for the assistance though.

Please Log in or Create an account to join the conversation.

More
17 Dec 2018 11:07 #6923 by SolutionNow
Replied by SolutionNow on topic Writing to variables

To the Write issue: The idea was that you try the Write (the same value, and to the same node) using UaExpert. have you done that, and what were the results?


I've finally talked with my colleague and he tells me that UaExpert is able to write to the machine.

Note that you can still work with UA methods in QuickOPC (call them).


We don't understand how we can call the CallMethod method because it requires the name of the node of the method, but because it doesn't appear in the QuickOPC window we don't know how to get the name of the nodes.


We have installed our same program which incorporates QuickOPC at a different client of ours and with this client we don't have any problem writing directly to the variable. Just to remind you, at the client we are having this problem, we are able to write the variable to the server but it never arrives to the machine.

Please Log in or Create an account to join the conversation.

More
13 Dec 2018 14:54 #6916 by support
Replied by support on topic Writing to variables
Please ignore my previous post.

By further looking into the issue, I have discovered that the little magenta icon shown with all the nodes in UaExpert that do not show in UADataDialog means "method".

Those are therefore nodes for UA Methods, and it is intentional that UADataDialog does not show them, because the dialog is intended for "data", that is, things that have value to read/write/subscribe, and you cannot do that with methods.

Note that you can still work with UA methods in QuickOPC (call them).

Best regards

Please Log in or Create an account to join the conversation.

More
13 Dec 2018 14:18 #6914 by support
Replied by support on topic Writing to variables
Thank you. This (missing nodes in UADataDialog - probably UA properties) may be a problem on our side. I will have a look at it.

Which version of QuickOPC is this with?

Please Log in or Create an account to join the conversation.

More
12 Dec 2018 16:04 #6913 by SolutionNow
Replied by SolutionNow on topic Writing to variables
For the write issue, I'll have to answer you about whether or not UaExpert can write later as I need to speak with various people who are not available at the moment.

For the browsing issue, the list view doesn't show anything new:



Best regards
Attachments:

Please Log in or Create an account to join the conversation.

More
12 Dec 2018 15:33 #6912 by support
Replied by support on topic Writing to variables
Hello,

the two problems appear unrelated to me.

To the Write issue: The idea was that you try the Write (the same value, and to the same node) using UaExpert. have you done that, and what were the results?

To the browsing issue: It might be that just QuickOPC shows the nodes differently. Please do this:
- Click on "Technology data..." ndoe in the Tree view (left pane).
- Post here an image of how the UADataDialog looks at the moment - not just the Tree view, but also the List view (right pane).

Best regards

Please Log in or Create an account to join the conversation.

More
12 Dec 2018 11:48 #6908 by SolutionNow
Hello,

We're having some problems writing to variables on the machine. Here is the piece of code that isn't working correctly at the moment:
            String sServer = null, sNodo = null, sValore = null;
 
            sServer = production_ResourceOPCNodeDataGridView.Rows[production_ResourceOPCNodeDataGridView.CurrentRow.Index].Cells[4].Value.ToString();
            sNodo = production_ResourceOPCNodeDataGridView.Rows[production_ResourceOPCNodeDataGridView.CurrentRow.Index].Cells[5].Value.ToString();
            sValore = production_ResourceOPCNodeDataGridView.Rows[production_ResourceOPCNodeDataGridView.CurrentRow.Index].Cells[7].Value.ToString();
 
            easyUAClient1.WriteValue(sServer, sNodo, sValore);
            //easyUAClient1.CallMethod() ?????
        }

It seems to us we have two different problems, but it is possible these two problems have a single cause.
The first problem is that the WriteValue() method is writing the value to the node correctly on the server, but it is not writing the the variable on the machine.

For the second problem, as per a previous conversation we had we downloaded the program UAExpert. These are the nodes UAExpert found on the server:



and these are the nodes we currently see through the uaDataDialog:



What do we need to do see the methods UAExpert found that the uaDataDialog isn't finding?

Thank you
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.079 seconds