- Linux MultiMedia Studio Computer Accessories User Manual
Mint v4 PC Programming Guide
58
MN1278 05.2001
MML Build ID:
The build identifier of the Mint Motion Library running on NextMove. Each version of the Mint Interface
Library can only communicate with one version of Mint. To make sure the versions match, each version of Mint
has a build number embedded in it. To return the build number call getAAABuild.
Timer Tick:
This is a free running 16bit counter that is updated by NextMove once every 2ms and can be used to synchronize
data with the DPR.
Mint Line Number:
This is the currently executing Mint program line. By reading this location, it is possible to trace program
execution without affecting program flow unlike Mints built in program tracer. The Mint status flag should be
read to determine which buffer is currently being executed.
Mint Status:
The Mint Status flag consists of various bit masks for status information. The top 8 bits convey the current Mint
error status. If a programming error occurs that results in the termination of a program, the top 8 bits will reflect
the error. The Mint Line Number register will determine the line on which the error occurred.
Bit Meaning Symbolic Constant
0 Command line interface not available.
Program or config file running.
mkNOT_COMMAND_LINE
1 Config buffer if 0, program buffer if 1 mkPROGRAM
2 1 if Mint is executing code mkEXECUTING
3 - 7 Reserved
Mint Error:
The Mint ‘ERR’ code for the last Mint error that occurred.
Mint Error Line:
The Mint line number where the last Mint error occurred.
Axis Configurations:
NextMove PC:
The current axis configurations are written to two 16 bit locations, each axis configurations represented by 4 bits.
Each four bit location holds the axis CONFIG value.
DPR location Bits 12-15 Bits 8-11 Bits 4-7 Bits 0-3
0x0B Axis 3 Axis 2 Axis 1 Axis 0
0x0C Axis 7 Axis 6 Axis 5 Axis 4