cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

WebIQ IO Manager: OPC libraries needs to be switched from Windows to Linux before publishing

WebIQ IO Manager: OPC libraries needs to be switched from Windows to Linux before publishing

YUL725
Long-established Member

Hello,

When developping locally on PC the IO Manager needs to use ioHandlerOPC.dll this allows to browse and create variables , however when comes the time to publish the app on the ctrlX Core the ioHandlerOPC  must be used.

Is there a way to change the OPC source without editing or recreating all variables ?

 

 

YUL725_0-1646171635554.png

IO handler config when working on PC

YUL725_1-1646171726222.png

IO Handler config for publishing on the ctrlX core

YUL725_2-1646171752591.png

 

 

 

 

 

8 REPLIES 8

webiq-sk
Frequent Contributor

Hello Yul725,

there's no need to use two different IO Handlers. If you just omit ".dll" from the corresponding field it will work on both Windows and Linux systems. There is always only one OPC UA IO Handler available in WebIQ - not two. With ".dll" you explicitly tell WebIQ to load the DLL, which will fail on Linux as there it is a .so file. Omitting the extension will make it work on both systems.

Regards,
Sascha Kimmel

 

YUL725
Long-established Member

Hello,

I started as you wrote with  no extension but since I could not  get the connexion to the server I read the manual and found that information about the different extensions.  I added   the ".dll"  it worked. When I  published the project  to the ctrlX It worked only If   ".so" extension.

Please let me know What I am doing wrong.

 

YUL725_0-1646673516313.png

YUL725_1-1646673534410.png

 

webiq-sk
Frequent Contributor

Hello Yul725,

if the DLL would not be found on Windows you'd simply not be able to see any of those fields in the IO Handler configuration when selecting the corresponding IO Handler. So we can rule out that this is an issue here on Windows as it would simply show "IO Handler not available" just like when you'd rename that entry:

webiqsk_0-1646726966522.png

As you didn't state how you have connected to ctrlX via WebIQ Designer can you please specify if you are connecting directly to ctrlX using the --ws-host parameter or if you have a local instance of WebIQ Server you are using?

Regards,
Sascha Kimmel

 

YUL725
Long-established Member

Hi Sasha,

I did the following tests:

  • IoHandlerOPC  no extension with Laptop : not functionnal
  • IoHandlerOPC  no extension loaded in ctrlX core and checked at my project address 192.168.1.1:10123/ctrlxwebiq/ : not functionnal
  • IoHandlerOPC.dll with PC :  functionnal
  • IoHanderOPC.so  loaded in ctrlX core and checked at my project address  192.168.1.1:10123/ctrlxwebiq/   : functionnal

What's next ? I could share my screen on a Teams ?

Thanks!

Gabriel

 

 

webiq-sk
Frequent Contributor

Hello Yul725,

to be able to help you answering my question from before is required: "if you are connecting directly to ctrlX using the --ws-host parameter or if you have a local instance of WebIQ Server you are using"

Regards,
Sascha

YUL725
Long-established Member

Hi Sascha,

I am using a local instance.I have a developper license on my PC. I am not using the -ws-host...

Regards,

 

webiq-sk
Frequent Contributor

Hello Yul725,

thank you for the info. Can you please provide the file %PROGRAMDATA%\WebIQ\connect.log then? You can also do that via a PM.

Regards,
Sascha

webiq-sk
Frequent Contributor

Hello Yul725,

thank you for providing the log file. There appear to be connection issues with the ctrlX system.

Unfortunately I cannot help you with this but maybe someone from BR can take over this ticket?

[2022-03-08 14:08:08.849119] [ information | ctrlx-CORE] Connected to OPC-UA Server.
[2022-03-08 14:08:08.849119] [ information | ctrlx-CORE] security policy is: Basic256Sha256
[2022-03-08 14:08:08.849119] [ information | ctrlx-CORE] message security mode is: Sign
[2022-03-08 14:13:04.580034] [notification | ctrlx-CORE] Attempting to reconnect to 'opc.tcp://192.168.1.1:4840'.
[2022-03-08 14:13:14.864533] [ error | ctrlx-CORE] Connection error.
[2022-03-08 14:13:14.864533] [ error | ctrlx-CORE] service_type(): OpenSecureChannel
[2022-03-08 14:13:14.864533] [ error | ctrlx-CORE] error(): BadTimeout
[2022-03-08 14:13:14.864533] [ error | ctrlx-CORE] client_side_error(): no
[2022-03-08 15:16:43.268523] [ error | ctrlx-CORE] Connection error.
[2022-03-08 15:16:43.268523] [ error | ctrlx-CORE] service_type(): OpenSecureChannel
[2022-03-08 15:16:43.268523] [ error | ctrlx-CORE] error(): BadCommunicationError
[2022-03-08 15:16:43.268523] [ error | ctrlx-CORE] client_side_error(): no
[2022-03-08 15:16:48.627143] [ error | ctrlx-CORE] Connection error.
[2022-03-08 15:16:48.627143] [ error | ctrlx-CORE] service_type(): ActivateSession
[2022-03-08 15:16:48.627143] [ error | ctrlx-CORE] error(): BadSessionIdInvalid
[2022-03-08 15:16:48.627143] [ error | ctrlx-CORE] client_side_error(): no

Regards,
Sascha

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist