Hi,
We have a Professional license, and have developed already several applications with QuickOPC. In a current application however, when using QuickOPC in Python through the opclabs_quickopc library, we encounter the following exception after using the client for more than a half hour. We simply use EasyUAClient in a read / write mode (not PubSub).
The license is correctly installed and shows up in the License manager.
OpcLabs.BaseLib.Licensing.LicensingException: Run time is over the limit in license "Multipurpose", serial number 1111111120. The license you are running (most likely trial version) does not provide valid data after certain time period expires. Note that after the component's process is simply restarted, valid data will be provided again. Obtain and install proper license to permanently resolve this error. You can ask for evaluation license key, if you need a longer run time for your tests.
Product information follows. Component name: "QuickOPC", license IDs: "Multipurpose", version number: 572, release date: 21/11/2023, trial validity: 397 days, option expression: "EasyUAClient".
Context: 1 dropped license(s); S/N 1955322456 (release date covered 07/12/2018).
The script that shows the error:
server = 'opc.tcp://opcua.demo-this.com:51210/UA/SampleServer'
tag = 'nsu=http://test.org/UA/Data/;i=10853'
write_tag = "nsu=http://test.org/UA/Data/;i=10221"
client = EasyUAClient()
for i in range(1000):
value = IEasyUAClientExtension.WriteValue(client,
UAEndpointDescriptor(server),
UANodeDescriptor(write_tag),
i)
value = IEasyUAClientExtension.ReadValue(client,
UAEndpointDescriptor(server),
UANodeDescriptor(write_tag))
logger.warning(f'{value}')
sleep(10)
Thanks for your advice!