beautypg.com

Developing analysis tools with visual c – Rockwell Automation FactoryTalk Historian Classic User Guide User Manual

Page 143

background image

Creating RSBizWare Custom Analysis Tools Chapter 7

After the debugging settings are complete, you can set one or more
breakpoint in your Visual Basic

Calculate()

function. When you

then run the project, the Configuration Console will start up.
Create a time-series chart using the analysis tool you are debugging

(you may have to first register the analysis tool if you haven't yet).
When the chart calls the analysis tool, your breakpoints should be
called in Visual Basic. You can then step through your Visual Basic
code, using the full features of the Visual Basic debugger.

The complete source files for this project are installed with
RSBizWare in the \Program Files\Rockwell
Software\RSBizWare\RSBizWare Calculators\VB\NegativeCalc
directory.

Developing custom analysis tools with Visual C++ provides several
benefits over using Visual Basic:

• Fewer dependencies. Distributing a Visual Basic custom

analysis tool requires the distribution of the Visual Basic
runtime DLL MSVBVM60.DLL. The method you will use to

Developing Analysis Tools
with Visual C++

Rockwell Automation Publication HIST-UM001K-EN-E-June 2014

143