MKH Demonstration Files
Automation.mkh
Automation.mkh demonstrates basic automation and serialization.
Drawing automation forces WinMark Pro to wait for a "start mark"
signal (Wait Digital Before Piece) before beginning marking and then forces
WinMark to wait for the "start mark" signal to clear (Wait Digital
After Piece) before beginning another piece. Event Builder automation (On
Before Mark Piece event) increments values for Text1 and Barcode1 objects each
mark. Text2 is a static object but could easily be converted to a real-time
date/time format.
IMPORTANT NOTE: To prevent serialization of multiple
objects (for example - a barcode and human-readable text object) from becoming
"out-of-synch" with one another, serialization of multiple objects
should be performed in a Visual Basic or Visual C++ front-end. WinMark Pro can
not guarantee synchronization of multiple serial objects in the event that
marking is aborted during the mark or in the event of a system crash.
Medium Filled Matrix.mkh
Medium Filled Matrix.mkh is a plot tool to assist in finding the
optimum Power and Resolution settings for a fixed Velocity (50 IPS) on a given
material where all or some of your mark objects are raster-filled. You may
modify the file and change parameters, such as Velocity, to better suit your
specific requirements.
Medium Stroke Matrix.mkh
Medium Stroke Matrix.mkh is a plot tool to assist in finding the
optimum Power and speed (Velocity) settings for a fixed Resolution (750 DPI) on
a given material where all or some of your mark objects are stroked and not
filled. You may modify the file and change parameters, such as Resolution, to
better suit your specific requirements.
ReadSerialPortData.mkh
ReadSerialPortData.mkh demonstrates basic automation and serial port
input. Drawing automation forces WinMark Pro to wait for a "start
mark" signal (Wait Digital Before Piece) before beginning marking and then
forces WinMark to wait for the "start mark" signal to clear (Wait
Digital After Piece) before beginning another piece. Event Builder automation
(On Before Mark Piece event) reads serial port values for Text1 and 2D Barcode1
objects each mark. Note that an output is cleared about each serial port read
and then reset after the mark. This serves as a form of hardware handshaking to
inform the host system that serial data has been read and that new data can be
sent.
ExtendedChar.mkh
ExtendedChar.mkh displays the extended character set available for
each individual TrueType or WinMark Pro stroke font. Select the Text1 object
and change Font Type (on the Format tab) to Stroke or TrueType and then select
the desired font from the drop-down list.
StrokeFonts.mkh
StrokeFonts.mkh displays a sample character set for all 12
built-in WinMark Pro stroke fonts.