Difference between revisions of "Installing Macro Definition Files"
>Johno (→Installing Macro Definition Files) |
>Johno (→Installing Macro Definition Files) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
*'''Installing a new macrodef file:''' | *'''Installing a new macrodef file:''' | ||
:1. Download the latest macrodef file from the website. | :1. Download the latest macrodef file from the website. | ||
+ | ::* Use right-click download to force a download of the file. | ||
+ | ::Use this file with AskPlus '''E.8.3.2 (or higher)''' and Spectrum Release 2015.2.0: [http://www.vital-soft.com/download/secure/macros/macrodef.samp MacroDef] | ||
+ | ::Use this file with AskPlus '''E.8.3.1 (or earlier)''' and Spectrum Release 2015.2.0: [http://www.vital-soft.com/download/secure/macros/macrodef_e81.samp MacroDef] | ||
:2. Login as the askplus user. | :2. Login as the askplus user. | ||
:3. Transfer the downloaded file (ASCII) to '''/ASKPLUS/visimage''': | :3. Transfer the downloaded file (ASCII) to '''/ASKPLUS/visimage''': |
Latest revision as of 20:44, 23 September 2015
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.