Sample Programs

Sample programs are provided with the API, demonstrating how to perform common tasks. The following sample programs are supplied with the System API:
  • ihCopyData.cpp – demonstrates copying all the tags and data from Server1 to Server2 including UserDefinedType tags then subscribes to tag and data changes.
  • ihPlotLike.cpp - shows how to determine the default server and reading multiple tags in one call.
Note: No guidance is given regarding application conversion from other products or APIs. It is assumed that the reader is familiar with the Historian features and functionality.