You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

OPC-DA transport handler to access measurements using the OPC industry standard. The implementation is based on the Utgard library from the OpenSCADA project.

Options

  • domain: The domain name
  • host: The host name
  • username: The username
  • password: The password
  • id: The program identifier

Example

PQL

OPC-DAClient Transport Handler
output = ACCESS({Source='source',
wrapper='GenericPush',
transport='OPC-DA',
protocol='None',
dataHandler='Tuple',
options=[['host', 'example.com'],['domain', 'Domain'],['username', 'admin'],['password', '12345']],
schema=[
['value', 'Double']]
})

CQL

OPC-DAClient Transport Handler
CREATE STREAM source (value Double)
    WRAPPER 'GenericPush'
    PROTOCOL 'None'
    TRANSPORT 'OPC-DA'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'host' 'example.com', 'domain' 'Domain', 'username' 'admin', 'password' '12345')

  • No labels