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.
- Forum
- Discussions
- QuickOPC Product Options
- Reading and Writing from vba (Access 2016) to RSLinx Gateway
Reading and Writing from vba (Access 2016) to RSLinx Gateway
I have seen it with RSLinx quite commonly.
What can be happening is that RSLinx thinks you are using it in an unlicensed way (remotely). IIRC, RSLinx OPC server is implemented "in-process", in a 32-bit DLL. And they expect the OPC client be a local 32-bit application. If they detect they are are running in a "wrapper" process, which happens when a remote client accesses the server over DCOM, they return the "class not licensed" error.
Unfortunately, the wrapper process is also used when the OPC client is a local 64-bit app. In such case RSLinx thinks the client is remote, and complains about the license as well.
I suppose you are running 64-bit Access. A workaround might be to use 32-bit Access.
I have also received your post over our Contact form. Do not purchase QuickOPC until you get it running with the trial license. I do not want to find ourselves in the situation when it still won't work then. The problems you are having have nothing to do with QuickOPC licensing.
We have recently seen some issues on computers that do not have Visual Studio installed, which is your case I suppose as well. To make sure this is not the problem, can you please do the following:
1. Visit support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads .
2. Scroll down to find the heading "Visual Studio 2015, 2017 and 2019".
3. In that paragraph, if you are on 32-bit machine, download and install x86: vc_redist.x86.exe . If you are on a 64-bit machine, install the previous as well, and *also* download and install x64: vc_redist.x64.exe .
And the re-run your tests.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Attachment opclabs_error.png not found
Attachments:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Some questions:
1. When you step to the code (using debugger), does the error happen on the "Dim Client As... " line, or on the line with ReadItemValue ?
2. Does the error happen only with the ReadCommandButton (which uses RSLinx), or also with the WriteCommandButton (which uses our simulation server)?
Thank you
Please Log in or Create an account to join the conversation.
Attachment 15926663180671667199967177424709.jpg not found
Attachment 15926663180671667199967177424709.jpg not found
Attachments:
Please Log in or Create an account to join the conversation.
You need to figure out the OPC ItemID. In order to get an idea of what Items exist in the server and what are their IDs, run Tools -> Connectivity Explorer from the QuickOPC Launcher app, and navigate to the RSLinx server and expand it.
QuickOPC support OPC Classic as well as OPC UA. Both have their pluses and minuses. If the RSLinx supports both too (I am not sure), then the choice is yours. Otherwise, you need to pick the one for the client side to match the server side.
Best regards
Please Log in or Create an account to join the conversation.
You may have to download and install OPC Core Components, from opcfoundation.org/developer-tools/samples-and-tools-classic/core-components/
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Attachment 159265435942036461038394737967.jpg not found
Attachment 159265435942036461038394737967.jpg not found
Attachments:
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC Product Options
- Reading and Writing from vba (Access 2016) to RSLinx Gateway
