- Posts: 152
- Thank you received: 0
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.
PHP opc retrieving signals
Thanks
PS. Now I still have the problem of the add existing node when I'm brosing but for that i will continue with the other thread
Please Log in or Create an account to join the conversation.
About installation log: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...bleshooting%20the%20Setup.html .
Manual registration: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...%20and%20Type%20Libraries.html .
I wonder whether this cannot be related to 32 vs 64 bit, especially when the components appear to be registered from some programs and not from others, on the same machine. Can you switch PHP (web) to use 32bit process instead of 64bit, or vice versa?
Regards
Please Log in or Create an account to join the conversation.
This is the example provided into OPC example named ReadValue.Web.php lunched on IIS and I still have this
PHP Fatal error: Uncaught com_exception: Failed to create COM object `OpcLabs.EasyOpc.UA.EasyUAClient': Class not registered
in C:\inetpub\wwwroot\ReadValue.Web.php:10
Stack trace:
#0 C:\inetpub\wwwroot\ReadValue.Web.php(10): com->com('OpcLabs.EasyOpc...')
#1 {main}
thrown in C:\inetpub\wwwroot\ReadValue.Web.php on line 10
Please Log in or Create an account to join the conversation.
C:\Program Files (x86)\OPC Labs QuickOPC 2018.2\ExamplesCom\PHP\Console\DocExamp
les\_EasyDAClient>php -f PullItemChanged.Main.php
Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
Subscribing item changes...
Processing item changed events for 1 minute...
[] 0.00125125888851588 {System.Double} @2018-07-13T08:28:07.144; GoodNonspecific
(192)
[] 0.808740501113926 {System.Double} @2018-07-13T08:28:10.144; GoodNonspecific (
192)
[] 0.58500930814539 {System.Double} @2018-07-13T08:28:11.144; GoodNonspecific (1
92)
[] 0.47987304300058 {System.Double} @2018-07-13T08:28:12.144; GoodNonspecific (1
92)
[] 0.350291451765496 {System.Double} @2018-07-13T08:28:13.144; GoodNonspecific (
192)
[] 0.895962401196326 {System.Double} @2018-07-13T08:28:14.144; GoodNonspecific (
192)
[] 0.822840052491836 {System.Double} @2018-07-13T08:28:15.144; GoodNonspecific (
192)
^C
Please Log in or Create an account to join the conversation.
Thanks Roberto
Please Log in or Create an account to join the conversation.
Can you please also try one of the console-based and one of the Web-based PHP examples that come with the product? Under the product installation directory, they are in ExamplesCom/PHP. I wonder if our own code works. Doc: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...frame.html#PHP%20Examples.html .
Do example from other COM-based tools work? What about some of those under ExamplesCom/VBScript/WSH/DocExamples? (see opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ples%20(ASP,%20IE,%20WSH).html )
Regards
Please Log in or Create an account to join the conversation.
version og PHP-CGI used....
PHP 7.2.7 (cgi-fcgi) (built: Jun 19 2018 23:13:46)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Please Log in or Create an account to join the conversation.
PHP Fatal error: Uncaught com_exception: Failed to create COM object `OpcLabs.EasyOpc.DataAccess.EasyDAClient': Class not registered
in C:\inetpub\wwwroot\opc.php:9
Stack trace:
#0 C:\inetpub\wwwroot\opc.php(9): com->com('OpcLabs.EasyOpc...')
#1 {main}
thrown in C:\inetpub\wwwroot\opc.php on line 9
I have the latest php 7.2.7 and before today I was using PHP 7.2
Please Log in or Create an account to join the conversation.
Have you chosen to include installation for Com development on the 2nd page of the setup wizard?
Please Log in or Create an account to join the conversation.
[11-Jul-2018 05:34:57 America/Los_Angeles] PHP Fatal error: Uncaught com_exception: Failed to create COM object `OpcLabs.EasyOpc.DataAccess.EasyDAClient': Class not registered
in C:\inetpub\wwwroot\opc.php:9
Stack trace:
#0 C:\inetpub\wwwroot\opc.php(9): com->com('OpcLabs.EasyOpc...')
#1 {main}
thrown in C:\inetpub\wwwroot\opc.php on line 9
so how is possible ? I'm stalled for over 10 days since now .... please give me support if you can thanks
Please Log in or Create an account to join the conversation.