Tutorials: Setup Chronograf with WinCC OA V3.17

Back to All Topics


With the release of WinCC OA 3.17, one of the newest and biggest changes is the addition of the NextGen Archiver.  The NextGen Archiver runs on an InfluxDB database and is a great way to store your data.  InfluxDB is one of the fastest-growing time-series databases in the market, which means there are already some fantastic tools that can be used to visualize your data coming out of WinCC OA.  The tool we are going to show today is Chronograf.  Chronograf is the user interface for stand-alone instances of InfluxDB, but can also be used inside of OA.


This tutorial is being done on a Windows machine, if you are using a Mac or Linux the steps may be a bit different.

  1. Create a new project inside of WinCC OA. Choose any type of project you want, I used “Legacy”, but make sure you choose the Use NextGenArchiver checkbox.
  1. Go to https://portal.influxdata.com/downloads/ and download the latest stable build of Chronograf, currently v1.7.17.
  1. Take the two .exe files that get downloaded, place them in a drive that is easy to find and remember, I use C:\Chronograf.  The chronograf.exe will need to be used to start up the server.  Double click the chronograf.exe file to start up the server or you can use the script: DebugN(system(“C:\\Chronograf\\chronograf.exe”)); on an Initialize function, or where you would like to launch the server inside of OA.  The inside of OA option only works if you run the project as an Administrator.
  1. Once the Chronograf server is running you can open up a web browser and navigate to http://localhost:8888.
  1. Click get started to get to this screen
  2. Enter in a Connection URL of http://localhost:8086 (this is the default if you changed it update this field). 
  3. Enter username is “etm” with a password of “etm#123” (again this is the default).  Enter a Telegraf DB if you would like.
  1. You can press the Skip button on the next two screens.  If everything worked, you should have something like the below image.  You can now use Chronograf to explore your data from inside WinCC OA to visualize it in any way you can think of.


Chronograf is a web-based tool we can directly embed it into WinCC OA using a WebView object.

Was this article helpful?
How can we improve this article?
Scroll to Top