Installing Macro Definition Files
Revision as of 20:44, 23 September 2015 by >Johno (→Installing Macro Definition Files)
Installing Macro Definition Files
The AskPlus macro file is built by running the load_macros script. When the script is executed the compiled macro file is built in the current directory. The compiled macro file is created from the following definition files:
- /ASKPLUS/visimage/macrodef
- /ASKPLUS/visimage/usermdef
- ./usermdef
- ./vsmacdef
- Installing a new macrodef file:
- 1. Download the latest macrodef file from the website.
- 2. Login as the askplus user.
- 3. Transfer the downloaded file (ASCII) to /ASKPLUS/visimage:
- 4. Backup the current macro and macro definition files:
cd /ASKPLUS/visimage cp macro macro.save.cymd cp macrodef macrodef.save.cymd # Where cymd is today's date.
- 5. Rebuild (compile) the macro file using the new definition file as follows:
cd /ASKPLUS/visimage # Note the file you uploaded may have a different name than macrodef.samp. chmod 644 macrodef.samp << This step is VERY important for Vital Signs users! >> cp macrodef.samp macrodef /ASKPLUS/load_macros
- 6. Verify that the macro file permissions are correct:
ll macro The file must be writeable by all users, at least 666.