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.
Getting started with VB6
From the Start menu, run the EasyOPC Options Utility. On the "OPC-DA Globals" tab, under "Client Parameters", push the button "COM arameters for OPC servers. Then, try different settings for "Use custom security", "Turn off call security", "Turn off activation security".
After each change, re-start our application, and make sure the component's process (EASYOPCL) has unloaded itself as well; only then the new settings will take effect.
I hope this helps.
Please Log in or Create an account to join the conversation.
- michaeltoward
-
Topic Author
- Offline
- Junior Member
-
- Posts: 3
- Thank you received: 0
Note: I replaced the IP address with XXXs since this is a public forum.
Me.Text1 = EasyDAClient.ReadItemValue("xxx.xxx.xxx.xxx", "B&R.PViOPC.2", "Public.M01.Various.Values.PowerActive")
Please Log in or Create an account to join the conversation.
You can change it to your usage with this knowledge:
- The first argument to ReadItemValue is the machine name. Empty string for your local computer. For remote computers, it can be something like "MYTESTPC", or "192.168.1.88".
- The second argument is the ProgID of the server. I suppose you can see it in your other OPC clients so it should not be a problem to place it here. Note that we also have browsing functions to enumerate the servers that exist on the remote machine - but that would be too much for the first experiment I think,
- The third argument is the OPC "ItemID" of the item you want to read. It MIGHT be e.g. "Public\Various\Value\PowerActive" with your server, but I cannot tell for sure without knowing which server it is/having it here. The syntax for ItemIDs is different with each server. Again, you should see the ItemIDs in other OPC clients, or we have functions to browse for them.
Best regards
Please Log in or Create an account to join the conversation.
- michaeltoward
-
Topic Author
- Offline
- Junior Member
-
- Posts: 3
- Thank you received: 0
Please Log in or Create an account to join the conversation.
can you please describe the error you are getting, or the other symptoms if there is no particular error message?
Thank you
Please Log in or Create an account to join the conversation.
- michaeltoward
-
Topic Author
- Offline
- Junior Member
-
- Posts: 3
- Thank you received: 0
Thanks.
the item would be in Public\Various\Value\PowerActive
Please Log in or Create an account to join the conversation.