Previous Next        Current Page: NeXtMidas User's Guide / X-Midas Interoperability / Command Mapping (NM to XM)
back
NeXtMidas Command    X-MIDAS Command        Function
-----------------    -----------------      -------------------
ARCHIVE-I            ARCHIVE                Send all textual screen output to specified file or device
ASK-I                ASK                    Prompt for keyboard entry of results parameter value
ASSERT-I             ----                   Implement a logical check for testing
AUXILIARY-I          AUX                    Set NeXtMidas auxiliary disk/path assignments for data files
BEEP-I               BEEP                   Emit an audio beep
BLD-I                XPC,XMBLD,             Build a NeXtMidas command or library (alias for BUILD)
                     XBLIB,XBHOST
BUILD-I              XPC,XMBLD,             Build a NeXtMidas command or library
                     XBLIB,XBHOST
BUILDOPT-M           XMBOPT                 Compile an option tree and build its support files
BREAK-I              BREAK                  Exit nearest enclosing WHILE, DO, or FOREACH loop
CALCULATOR-I         CALCULATOR             Implement a reverse polish pocket calculator
CALL-I               CALL,CALLP             Invoke a macro PROCEDURE or SUBROUTINE
CHECKOUT-M           CHECKOUT               Copy necessary files of command from one option area to another
COMPARE-P            COMPARE                Compare two data files or one file with zero
CONFIDENCE-M         %CONFIDENCE            Run a set of NeXtMidas test macros on an option tree
CONFIGURE-I          CONFIGURE              Perform NeXtMidas configuration functions
CONTINUE-I           CONTINUE               Continue iterating nearest enclosing WHILE, DO or FOREACH loop
CONVERT-P            CONVERT                Convert a Midas file data and/or header to other formats
DATALIST-P           DATALIST               List data elements of a Midas or Text file
DEBUG-I              DEBUG                  Turn ON/OFF the debug modes
DEFAULT-I            DEFAULT                Display the dictionary entry of the command or commands
DEMO-M               DEMOS                  Software demonstration macro
DEMOD-P;DSP          DETECT                 Demodulate a complex baseband signal file
DO-I                 LOOP                   Implement a DO loop within a macro
ECONTROL-P           XCONTROL               Macro interface for creating control panel entries (use GCONTROL)
EDIT-I               MEDIT                  Open a command's source file for editing
ELSE-I               ELSE                   Start macro block to be executed when IF/ELSEIF conditions fail
ELSEIF-I             ELSEIF                 Start macro block to be executed when IF conditions fail
ENDDO-I              ENDLOOP                End a DO block
ENDFOR-I             ---                    End a FOREACH block
ENDIF-I              ENDIF                  End an IF block
ENDMACRO-I           ENDMACRO               Mark the end of the STARTMACRO command section
ENDWHILE-I           ENDWHILE               End a WHILE block
ENVIRONMENT-I        ENV                    Perform various functions on the NeXtMidas environment
ERASE-I              ERASE                  Delete Midas and non-Midas files in the auxiliary paths
ERMIF-P                                     Embedded/enhanced Remote Midas InterFace (Use with ECONTROL only)
ERROR-I              ERROR                  Cause a macro to terminate with an error
EXIT-I               EXIT                   Exit from NeXtMidas environment back to operating system
EXPLAIN-I            EXPLAIN                Give an explanation of a Midas command
FCALCULATOR-P        ADD,BOOLEAN,           Implement a reverse polish calculator on elements of data files
                     CONJUGATE,DARRAY,
                     DBLOG,DEMUX,
                     DIVIDE,FCALC,
                     HARDLIMIT,LOG,
                     MAGNITUDE,MARRAY,
                     MODULO,MULT2000,
                     MULTIPLY,MUX,
                     PARRAY,PHASE,
                     POLAR,SARRAY,
                     SUBTRACT,
                     UNWRAP,WRAP
FDFILTER;DSP-P       FASTFilter             Use FFT convolution algorithm to filter data
FEATURE-I            ----                   Create a new plot feature and add it to a plotter
FFT-P                FFT,MFFT,SPECTRA,      Perform FFTs with overlap, Windowing, and optional power spectral density
                     UBIQUITOUS
FIND-I               FIND                   Find file and return its full path name or URL
FILE-I               ENV                    Macro interface to Midas data (*.tmp,*.prm), text or other files
                     DETACH                 Detach header from file data
                     MDX Export 4           Detach header from file data and copy data section to raw binary file
                     PROTECT                Protect files from overwriting
                     UNPROTECT              Remove file overwrite protections
FILES-I              FILES                  List files in the specified auxiliaries using a MORE filter and columns
FILTER-M             SMOOTH                 Filter a file
FIRKAIS;DSP-P        ----                   Generate a minimal-order time domain filter response using the FIR Kaiser technique
FIRWIND;DSP-P        FIRWIND, PASSFILT      Design a FIR filter using the window method
FLIP-P               ----                   Reverse the order of data in a Midas file
FNAME-I              FNAME                  Form a full filename from its components
FORALL-M             FORALL                 Perform a Midas command for a list of items or counter index
FOREACH-I            -----                  Implement a foreach iteration loop within a macro
GCONTROL-I           CONTROL, XCALL,        Macro interface for creating control panel entries
                     XCONTROL, WIDGET
GENERATE-I           GENEXP                 Create or modify a file of various formats
GEOGUI-M             DEMOS                  Demonstration macro of geographical plotting capability
GET-I                RESULT                 Display results parameters
GLOBAL-I             ----                   Declare results names as global to the macro (LOCAL is default for results)
GOTO-I               GOTO                   Unconditionally transfers macro program control
GROUP-P              GROUP                  Combine two or more inputs into a Type 3000 file
HEADERMOD-I          HEADERMOD              Modify/create a Midas file header
HELP-I               HELP                   Display online help information
HISTORY-I            HISTORY                Show the history of commands executed in the shell
HOMEPATH-I           HOMEPATH               Set user home directory
HTTPSERV-P           ----                   An HTTP/1.1 server for files rooted in given directory (RMIF can be server, too)
IF-I                 COMPARE,IF,TYPEOF      Implement a logical block if-then-else function in a macro
INCLUDE-I            INCLUDE                Include a block of code from a text file into the current macro
INVOKE-I             ----                   Invoke a method on an object and optionally return the result
INFO-I               INFO                   Cause a macro to issue an informational message
KEYWORD-I            KEYWORD                Facility for displaying and changing keyword fields in a file header
LABEL-I              LABEL                  Declare target for a GOTO command in a macro
LAYER-I              ----                   Create a new plot layer and add it to a plotter
LIST-P               XDATALIST              Display Midas data as textual list
LIST2-P              XDATALIST              Display Midas data as textual list in a table
LOCAL-I              LOCAL                  Declare results names as local to the macro (deprecated)
LOOP-I               LOOP                   Implement a basic counting loop within a macro
MACROFUNC-I          MLIST                  Create, translate, and list macro for debug
MAXMIN-M             MAXMIN                 Find the maximum and minimum value in a data file
MEDIT-M              MEDIT                  Open a macro source file for editing
MENU-I               MENU                   List NeXtMidas commands in the command dictionary
MESSAGE-I            MESSAGE                Send or get a message to/from a message queue
MESSAGELOG-P         XMSGLOG                Graphical display of all messages from within a macro
MERGEFILE-P          MERGEFILE              Merges an input file to the end of an output file
NEW-I                ----                   Create a new object from the Macro language
NM-I                 XM                     Oneshot NeXtMidas command interface
NMD-O                XMD                    Change or display the current working directory
NM MAKE ZIP          XMBACKUP               Create an archive file of an option tree. (Must be run in OS shell)
NOOP-P               MERGEFILE,NOOP,        Copy an input to an output (file,socket,HTTP,UDP)
                     REFORMAT,SINKSOCKET,
                     SOURCESOCKET
OPTION-I             XMOPT                  Display or define an option tree path
OS-I                 OS                     Send an operating system command to the appropriate OS
PANEL-P              XPIPE                  Draw a bare window with facilities for overlaying other windows
PARSE-I              PARSE                  Parse a command and return components in results parameters
PATH-M               XMPATH                 Configure dictionary to resemble hierarchical search path
PAUSE-I              PAUSE                  Pause for specified time or force macro into Suspend mode
PEAKPICK-P           PEAKPICK               Find one or more peaks in data
PIPE-I               PIPE                   Change the macro piping mode
PLOT-P               XPLOT                  Generic plotter for Midas files (or shared Layer objects)
PLOT-P               XRTPLOT
PLOT-P               XRASTER
PLOT-P               XRTRASTER
POLYFIT-P            POLYFIT                Evaluate polynomial fit on data in a piecewise manner
PROCEDURE-I          PROCEDURE              Mark beginning of macro procedure
PYTHON-I             ----                   Execute a python script
QUERY-I              HELP                   Query object for methods, fields, and interfaces
RAMP-P               RAMP                   Create a ramp (sawtooth) file
REGISTRY-I           XMKILL, XMLISTPROCS    Manipulate registry entries
REMOVE-I             REMOVE                 Remove one or more results parameters from the results table
RESULTS-I            RESULTS                Handles creation and display of results parameters
RETURN-I             RETURN                 Return from a macro, procedure, subroutine, or control section
RMIF-P               RMIF                   Remote Midas InterFace handles communication with remote processors
RUN-I                OS                     Execute NeXtMidas command stored in a results parameter
SAY-I                SAY                    Echo a text line to the terminal
SD360-M              SD350                  Software emulation of a spectral dynamics display
SEDIT-I              SEDIT                  Edit a string and write it to a results parameter
SET-I                RESULTS                Set a value in the results table (or one of its objects)
SHELLGUI-P           ----                   Start a shell in a graphical window
SINKRTP-P            ----                   Stream data to a device supporting Real-Time Protocol for audio
SORT-P               QSORT                  Sorts Type 3000 files
SOURCEFILE-P         SOURCEFILE             Interactively input data from a FILE to a Midas file/pipe
SPLIT-P              SPLIT, UNGROUP         Split apart a Type 3000 file into Type 1000 files
STARTMACRO-I         STARTMACRO             Mark the start of the command section of a macro
STATISTICS-P         STATISTICS,            Determine statistics of data file
                     FSTATISTICS
STATUS-I             STATUS                 Output the header information of a Midas file
STEP-I               STEP                   Execute next macro statement and return to Suspend mode
STOP-I               ----                   Terminate Macro execution
SUBROUTINE-I         SUBROUTINE             Mark beginning of macro subroutine
SWITCH-I             SWITCH                 Define static switches or get a switch value into a results parameter
SYntax-I             SYNTAX                 Show command line syntax for the named command
SYSTEM-P             ----                   Get system statistics
TEXTDISPLAY-P        XTEXT                  Display lines of text (single font and color)
THIN-P               THIN, TWODTHIN         Copy one file to another with optional offset, length, and decimation
TIMER-I              TIMER                  Implement various time functions
TIMEX-I              TIMEX                  Perform various time transfer and conversion functions
TRAP-I               TRAP                   Branch on errors or warnings
TUNER-P              HSHFTDEC,SBTUNER       Tunes, filters and/or decimates
UPDATE-I             UPDATE                 Update the command.cnf file for a specified option tree
VERIFY-I             VERIFY                 Turn ON/OFF the verify modes
WARNING-I            WARNING                Cause a macro to issue a warning message
WAVEFORM-P           SINCOS                 Create signal waveforms of various shapes
                     CONStant               Create a Type 1000 data file with constant values
                     LRS                    Create a linear recursive sequence
                     PULse                  Create a pulse of specified width and position
                     SETSeed                Set the random number generator seed to a new value
                     PULse                  Create a pulse of specified width and position
WINDOW-P             WINDOW                 Create a specified window for FFT based functions
WHILE-I              WHILE                  Implement a logical do-while loop function in a macro

back