Integration with the 2226, Interactive, Self-contained – Sensoray 2224 Windows User Manual

Page 77: Interdependent

Advertising
background image

Integration with the 2226

Integration with the 2226 is done in a single file:

jim_TclShell.cpp
The routines that wrap the API function's typically come in three flavors. Interactive, Self-Contained, and
Interdependent.

Interactive

The most common routines are the interactive routines that parse parameters that are passed in, make
the API call and then return a value.

Self-Contained

Some of the routines, like tcl_gtest, are self-contained. They take no TCL parameters, and always return
successfully.

Interdependent

The last type of routines are Interdependent. These include the fast graphics Windows GDI to Overlay
wrappers. They create a simple environment that can produce sophisticated full graphics that can be
quickly generated and updated on the fly.

For information on writing TCL scripts see example scripts located in the TCL directory, and the following
web sites.

http://jim.tcl.tk/fossil/doc/trunk/Tcl_shipped.html

http://www.tcl.tk/man/tcl8.5/

77

Advertising
This manual is related to the following products: