Kvaser Memorator Pro 5xHS User’s Guide
15 (27)
4.2
Start and stop of t programs
All events that a t program will react to are specified using various event hooks. In
effect, these are functions which are called when the specific events occur. Among
other events, the program can react to starting and stopping itself which this
section describes. Read the Kvaser t Programming Language guide that can be
downloaded at http://www.kvaser.com/download/ for more information.
The “on start” event will be triggered in the Kvaser Memorator Pro 5xHS when any
of the following occurs:
•
When a t program is started using the CANlib API (
kvScriptStart()
).
•
When a t program is started from another t program.
•
When Kvaser Memorator Pro 5xHS is powered on into Logger mode.
•
When using CANlib API (
kvDeviceSetMode(kvDEVICE_MODE_LOGGER)
).
The “on stop” event will be triggered for running t programs during the
corresponding cases:
•
When a t program is stopped using the CANlib API (
kvScriptStop()
).
•
When a t program is stopped from another t program.
•
When Kvaser Memorator Pro 5xHS is powered off in Logger mode, after
configured afterburner expires.
•
When using CANlib API (
kvDeviceSetMode(kvDEVICE_MODE_INTERFACE)
).
•
When USB power is connected or removed (CAN power is applied).
4.3
Technical data
In Table 8 on Page 16 below you will find the Kvaser Memorator Pro 5xHS’s
technical specifications.
Kvaser AB, Mölndal, Sweden — www.kvaser.com