For manually connecting to a PI DB using piconfig when pitrust isn't being used.
Set the Environmental Variables
Explicit Login:
- Log in as oseladm.
- sudo -s
- export PIHOME=/Owl/piconfig
- export LD_LIBRARY_PATH=$PIHOME/lib
- /Owl/piconfig/adm/piconfig -remote -node 10.10.10.199 -port 5450 -username <usr> -password <pwd>
Trust Login:
- Log in as oseladm.
- sudo -s
- Make sure that OPTS application is running:
- su opts
- WINEDEBUG=-all /usr/local/bin/wine cmd
- cd \Owl\.wine\drive_c\Program Files\PIPC\ADM
- piconfig.exe -remote -node <PI DB IP> -trust
- 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