TFarmer has asked for the wisdom of the Perl Monks concerning the following question:

Im looking for code to use WIN32::OLE::OPC to read and write to a single tag on a channel/device I just need to read and write the value of the tag

Replies are listed 'Best First'.
Re: Perl OPC
by SuicideJunkie (Vicar) on Oct 05, 2015 at 19:12 UTC
      Ive got it to read the channels and items in a hash and im able to extract what I need from that. but Id like to read and write directly to the Item with out a hash. I havent had much luck getting read and write to work. I am using a directautomation opc server
Re: Perl OPC
by ww (Archbishop) on Oct 06, 2015 at 11:00 UTC

    Last time I saw that code, it was on the pony that I've been looking for. It was headed off into the sunset. You may catch it if you read PerlMonks FAQ with special attention to harnessing the Monastery's intent to help you learn but not to write your code for you.