MotoHawk-FAQ: Difference between revisions
Line 31: | Line 31: | ||
*Support for MATLAB 7.5 (R2007b) to MATLAB 7.10 (R2010a) and, in a subsequent service pack, MATLAB 7.11 (R2010b). | *Support for MATLAB 7.5 (R2007b) to MATLAB 7.10 (R2010a) and, in a subsequent service pack, MATLAB 7.11 (R2010b). | ||
::This release supports MATLAB 7.5 (R2007b) to MATLAB 7.9 (R2009b). | |||
::Support for (pre-release) MATLAB 7.10 (R2010a) is not yet available. | |||
*New features! This beta contains additional structural support for new features. | *New features! This beta contains additional structural support for new features. |
Revision as of 18:36, 20 January 2010
MotoHawk Library Blocks
Build Counter
Is there a convenient way to reset the motohawk_build_version counter? For instance, if I copy a model for a new project I’d like to reset the build counter?
- There is a MotoHawk command to update this value. To do this have the model open and go to the MATLAB command prompt and type in:
- number = ‘000’; %the value between the ticks can be any number you want motohawk_build_version(bdroot, number);
- This will set the 3 character build version to 000. You can also place the value directly into the expression just remember to use the ticks(‘).
- You can also type “help motohawk_build_version;” from the command line and get help for more advanced features.
STARTUP_Event Trigger with Custom Memory Initialization App
If the STARTUP_EVENT function trigger is placed inside the main foreground block, would it execute on startup before the memory initialization application starts running just like it would if it were outside?
- The startup event only triggers once so its output will basically be a constant once it has ran. I am not sure what the memory initialization app needs to do to initialize the memory, but you probably need to do that in a periodic task. There it will have time to interact with components in the system outside the module. Try setting a datastore flag to enable the initialization code, and when it has finished the initialization, unsets the flag so the main application starts running. This can be done with enabled subsystems.
Do I need to explicitly keep the main foreground loop from running until the startup_code has run with a flag or does Motohawk do this for me (run the startup event stuff before the main application loops starts). In other words, is it a sequence of: STARTUP_EVENT --> Main Application, or do they run in parallel (with the startup stuff obviously only running once)?
- The application will wait for the startup event to finish before it starts any of its code.
Software
Latest Version of MotoHawk
MotoHawk 2010a Beta 4 has been released!
This is Beta 4 for features in the MotoHawk 2010a release.
- Support for MATLAB 7.5 (R2007b) to MATLAB 7.10 (R2010a) and, in a subsequent service pack, MATLAB 7.11 (R2010b).
- This release supports MATLAB 7.5 (R2007b) to MATLAB 7.9 (R2009b).
- Support for (pre-release) MATLAB 7.10 (R2010a) is not yet available.
- New features! This beta contains additional structural support for new features.
- MPC 5554 112-pin targets**: Add support for 48-2 encoder pattern.
- ECM-5554-112-09xx (PCM09xx) and GCM-5554-112-1001 (CCM1001) (1751-6456, 1751-6457) modules
- MPC 5xx targets: Add support for encoder 36+1 crank with 12+1 cam
- ECM70: Add support for FrequencyIn behavior on CNK, CNKDG, CAM pins
- ECM70: Add support for ECM-S12X-070-1002 (ECM70-1002) module
- CCP Slave protocol handler: change default behavior to IDLE_EVENT-triggered priority
- General updates and improvements.
For registered users, MotoHawk 2010a Beta 4 may be downloaded from the mcs.woodward.com website, Support, Downloads page. (You must be logged into the website for the links below to work. If clicking on the link takes you to a blank page, please go to mcs.woodward.com and log in. Access level of "beta customer" is required.)
MotoHawk 2010a Beta 4 for MATLAB 7.5 (R2007b) to 7.9 (R2009b):
http://mcs.woodward.com/user/download.php?filename=5
Release notes for MotoHawk 2010a Beta 4 can be found at:
http://mcs.woodward.com/user/download.php?filename=5
IMPORTANT!! Please use Windows Control Panel "Add/Remove Programs" to un-install any previous MotoHawk install before running these new installers.
IMPORTANT!! MotoTune / MotoServerRuntime 8.13.7.87 (or later) are REQUIRED for MotoHawk 2010a Beta 4. These may also be downloaded from the mcs.woodward.com website, Support, Downloads page.
IMPORTANT!! If you have been using GCC in earlier MotoHawk releases, you will need to change your GCC installation for MotoHawk 2009b Beta 3 and subsequent releases.
IMPORTANT!! For customers using MotoHawk Custom Security blocks, you must use version 1.0.4 (or newer) of your security block for MotoHawk 2009b Beta 3 and subsequent releases.
MotoHawk 2010a releases require a valid MotoHawk license to do a code-generation build. You can verify the licensing in your silver MotoTron USB licensing token (dongle) using the MotoTron License Viewer (Start, All Programs, MotoTools, MotoTron License Viewer). "MotoHawk (v5.0)" or "MotoHawk (2010a)" is required to use MotoHawk 2010a releases. To use MotoHawk 2010a releases, most users will need to have MotoHawk 2010a permissions added to their license tokens, and may also need to update their software maintenance agreements.
Does Motohawk run on a 64bit OS?
As of right now, MATLAB 64-bit versions are not supported. The "MEX" files used by many MotoHawk blocks are built for 32-bit MATLAB only (.MEXW32); 64-bit uses a different binary MEX file format.
Some customers are using MotoHawk and MotoTune on Windows Vista 64-bit with MATLAB 32-bit. They report:
' After installing MotoServerRuntime, MotoTune, and MotoHawk (using right-click install-as-administrator), copy the entire directory tree "C:\Program Files (x86)\MotoTron\..." to "C:\Program Files\MotoTron\..." (substitute "Woodward" for "MotoTron" for MotoHawk 2009b and later releases). When it is time to uninstall, remember to delete the "C:\Program Files\MotoTron\..." copy before uninstalling with Add/Remove Programs. '
What are some know problems with running Motohawk on Windows Vista?
Windows Vista (32-bit) is known to have dongle driver problems.