Writing ArrayOfString, ArrayOfReal8

Help
2010-02-11
2013-05-30
  • Olaf Trygve Berglihn

    Having trouble writing ArrayOfString and ArrayOfReal8.  Se example bellow.  Any advice would be appreciated.

    >>> import OpenOPC
    >>> opc = OpenOPC.client()
    >>> opc.connect('Matrikon.OPC.Simulation', 'localhost')
    >>> opc.read('Random.ArrayOfReal8')
    ((4691.9471693100004, 15086.971149780002, 8554.6152167400014, 11562.025496580001
    , 5387.7673661700001, 14249.54186454, 11650.149137910001), 'Good', '02/11/10 13:
    15:41')
    >>> opc.write(('Bucket Brigade.ArrayOfReal8', (1.0, 2.0, 3.0)))
    'Error'

     
  • Chands d

    Chands d - 2017-06-13

    Did you find a solution to this?

     

Log in to post a comment.