OASIS Command Referencecmdadd |
cmdadd - Add command to user interface
cmdadd <command name> <function pointer> <desc>
This command is for power users only. It is typically used in conjunction with the upload mechanism to add shutter calibration functions to the OASIS user interface.
command name is the name of the command to be entered at the OASIS command line to invoke the function pointed to by function pointer, the hex offset (not case sensitive, leading 0x not required) obtained from the mapfile for command name. The function is described by the text string desc, enclosed in double quotes.
Upon issuing a cmdadd, OASIS will prompt for the types of three command line parameters expected by command name. A value for all three must be entered, even if command name takes no parameters. The possible values are:
- 0: NO_PARM
- 1: STRING
- 2: ALL
- 3: DEC
- 4: HEX