WCCOAascii Manager Questions
Posted: Mon Aug 30, 2021 10:36 am
WCCOA 3.16
I have two main goals:
1. Export all data points from the command line (in a format that could then be used directly by get/set with minimal parsing).
2. Output any tests or diagnostic reports available from the CLI.
I've tried variable things without luck (zero feedback from terminal provided):
WCCOAascii -out test
WCCOAascii -out test -report
WCCOAascii -report
WCCOAascii -get *
WCCOAascii -proj <Some project ID> <plus other args from above>
WCCOAascii -out regvent.adr -filterDpType Controller -filterDpType Valve -filterDp X*.
WCCILevent -report all
/opt/WinCC_OA/3.16/bin/WCCILevent -report 0
sudo /opt/WinCC_OA/3.16/bin/WCCILevent -report 0
sudo /opt/WinCC_OA/3.16/bin/WCCILevent -proj SSEN_MV -report 0
sudo /opt/WinCC_OA/3.16/bin/WCCILevent -proj SSEN_MV -report 1
/opt/WinCC_OA/3.16/bin/WCCILevent -proj SSEN_MV -report 1
And many others. What am I missing?
What's a little troubling is that the commands seem to fail often without any failure feedback, indicating success. But sometimes I get an error message:
Tried w/ project running and stopped, no change
WCCOAascii -proj <proj> -out test
WCCOAascii (0), 2021.08.30 08:47:43.983, SYS, FATAL, 135, ASCII export cannot be started, WinCC OA project start possibly in progress. Please try again later.
Another Attempt:
WCCOAascii -helpreport -out Test1
WCCOAascii (0), 2021.08.30 08:53:45.056, SYS, SEVERE, 69, <Error description text missing in _errors.cat message catalog>, RAIMA Database Error *** Code:-4 (PROGRAMMER/USER error: -4
[EDIT]: I ran the diagnostic tool from the project administrator. First time it failed to generate the zip file; the reason is that the default location is the project folder... however, the project folder is inside /opt/WinCC_OA/projects as the documentation recommended... but opt is not typically writable by running applications. Once I changed the Diagnostic GUI path to /tmp, it outputted the info... so I tried that again at the CLI
/opt/WinCC_OA/3.16/bin/WCCOAreporting -report all -reportfile /tmp/tttt
/opt/WinCC_OA/3.16/bin/WCCOAreporting -report all -out /tmp/tttt
Still fails.
I have two main goals:
1. Export all data points from the command line (in a format that could then be used directly by get/set with minimal parsing).
2. Output any tests or diagnostic reports available from the CLI.
I've tried variable things without luck (zero feedback from terminal provided):
WCCOAascii -out test
WCCOAascii -out test -report
WCCOAascii -report
WCCOAascii -get *
WCCOAascii -proj <Some project ID> <plus other args from above>
WCCOAascii -out regvent.adr -filterDpType Controller -filterDpType Valve -filterDp X*.
WCCILevent -report all
/opt/WinCC_OA/3.16/bin/WCCILevent -report 0
sudo /opt/WinCC_OA/3.16/bin/WCCILevent -report 0
sudo /opt/WinCC_OA/3.16/bin/WCCILevent -proj SSEN_MV -report 0
sudo /opt/WinCC_OA/3.16/bin/WCCILevent -proj SSEN_MV -report 1
/opt/WinCC_OA/3.16/bin/WCCILevent -proj SSEN_MV -report 1
And many others. What am I missing?
What's a little troubling is that the commands seem to fail often without any failure feedback, indicating success. But sometimes I get an error message:
Tried w/ project running and stopped, no change
WCCOAascii -proj <proj> -out test
WCCOAascii (0), 2021.08.30 08:47:43.983, SYS, FATAL, 135, ASCII export cannot be started, WinCC OA project start possibly in progress. Please try again later.
Another Attempt:
WCCOAascii -helpreport -out Test1
WCCOAascii (0), 2021.08.30 08:53:45.056, SYS, SEVERE, 69, <Error description text missing in _errors.cat message catalog>, RAIMA Database Error *** Code:-4 (PROGRAMMER/USER error: -4
[EDIT]: I ran the diagnostic tool from the project administrator. First time it failed to generate the zip file; the reason is that the default location is the project folder... however, the project folder is inside /opt/WinCC_OA/projects as the documentation recommended... but opt is not typically writable by running applications. Once I changed the Diagnostic GUI path to /tmp, it outputted the info... so I tried that again at the CLI
/opt/WinCC_OA/3.16/bin/WCCOAreporting -report all -reportfile /tmp/tttt
/opt/WinCC_OA/3.16/bin/WCCOAreporting -report all -out /tmp/tttt
Still fails.