Appendix D _________________________________________________ RVP900 Developer's Notes
VAISALA______________________________________________________________________ 409
the rvp8main/site and rvp8proc/site areas, and then making the desired
changes.
There are four major mode slots reserved for custom user applications. The
names of your new modes are defined using the setup utility's RVP–
>Optional Data Parameters area. Names can be up to fifteen characters
long, and whatever text you choose here will automatically appear later in
pulldown menus for ascope, iris, etc. Your new code is invoked by
modifying one of the lines of rvp8main/site/mt_user.c and
rvp8proc/site/ct_user.c. These files are very simple and are shipped in
deactivated form as follows:
/* ------------------------------
* The available user modes are shipped in an unused state.
By doing
* nothing in their INIT routines, these modes are effectively
* disabled (all function pointers remain NULL).
*/
void mtInitMajorMode_user1( void ) {}
void mtInitMajorMode_user2( void ) {}
void mtInitMajorMode_user3( void ) {}
void mtInitMajorMode_user4( void ) {}
For execution, call your custom initialization routines from one of these
predefined user stubs:
void mtInitMajorMode_user1( void ) {initMajorMode_myCustomMode() ; }