Manually Invoking PiConfig

For manually connecting to a PI DB using piconfig when pitrust isn't being used.

Set the Environmental Variables

Explicit Login:

  1. Log in as oseladm.
  2. sudo -s
  3. export PIHOME=/Owl/piconfig
  4. export LD_LIBRARY_PATH=$PIHOME/lib
  5. /Owl/piconfig/adm/piconfig -remote -node 10.10.10.199 -port 5450 -username <usr> -password <pwd>

Trust Login:

  1. Log in as oseladm.
  2. sudo -s
  3. Make sure that OPTS application is running:
    1. su opts
    2. WINEDEBUG=-all /usr/local/bin/wine cmd
    3. cd \Owl\.wine\drive_c\Program Files\PIPC\ADM
    4. piconfig.exe -remote -node <PI DB IP> -trust
  4. Use exit to escape the WINE environment.

Manual OPTS Piconfig Calls:

OwlOtherParams – Using compdev, excdev and ptaccess

@line 12000
@table pipoint
@mode list
@delimiter ~
@ostructure tag~compdev~excdev~ptaccess
@select tag=*
@endsection -This will initiate the output of the previous lines
@quit

OwlStateNames

@line 12000
@table pids
@delimiter ~
@ostructure set~state~…
@select set=*
@endsection -This will initiate the output of the previous lines
@quit

OwlDigPoints

@line 12000
@table pipoint
@mode list
@ostructure PointID, tag, pointtype, digitalset
@select tag=*, pointtype=Digital
@endsection -This will initiate the output of the previous lines
@quit