Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Window Service and OPC Subscription - by: LuisGar

$
0
0
Hi

I am developing a new Windows service to monitor some OPC variables periodically. The service seems to work correctly in the computer where I am developing, It reads the OPC items at the start, and later on, it makes a subscription to those items to check any status change of those same items. So far everything seems ok, but at the moment when I install the service in my test environment, the service does not work as desired, It performs the initial read, which is performed by OPCClient.ReadMultipleItems(ListReadItemsArguments.ToArray());

but the events from the OPC are not fired, I have logged every time when the event is fired, In the development machine it works ok, but in the test machine it does not log anything.

I think it should be a problem with the settings between the user used in developing computer and the user used in the test computer, but even installing the service and logging with the administration account, does I have the same problem

Do you have any recommendation that I should follow...

Thanks in advance

Luis Garcia.

Viewing all articles
Browse latest Browse all 1794

Trending Articles