USING MUSTIG

Table of Contents

4-1. Installing and configuring MUSTIG

4-1-1. Available versions
4-1-2. Installing MUSTIG
PC users
Mac users
UNIX
4-1-3. MUSTIG options
4-1-4. MUSTIG environment variables
PC
UNIX

4-2. Launching a MUSTIG simulation

4-2-1. Selecting the elements to calculate
What elements may be calculated ?
How to define the box(es) to calculate ?
What elements of the graph are calculated ?
4-2-2. Launching the simulation
How is the simulation performed ?
Status of the simulation
Compilation errors
Calculation options
4-2-3. Stopping the simulation
4-2-4. Updating the results
Update process when the graph is modified
Update process when a final module is reset
Controlling the automatic update process
4-2-5. Clearing (resetting) a calculated box
4-2-6. Infinite or real-time simulations : precautions to take
Defining an infinite simulation
Precautions to take
Detecting user interrupts
Viewing infinite signals
Controlling the order of execution in case of parallel or multiple graphs

4-3. Management of MUSTIG windows

4-3-1. Preventing all the output windows to open at the same time
4-3-2. Setting the size of the new windows
4-3-3. Adding / removing scroll bars
4-3-4. Resizing windows or modules with scroll bars
4-3-5. Finding a window
4-3-6. Closing several windows at a time
4-3-7. Selecting windows that open at load time

4-4. Saving and reading MUSTIG graphs

4-4-1. Opening a new graph
4-4-2. Saving a graph
4-4-3. Opening a graph
4-4-4. Saving a graph as a library
4-4-5. Load and save options

4-5. Print options

4-5-1. Page setup options
4-5-2. Print options
4-5-3. PostScript printing for UNIX users

4-6. Online Help

4-6-1. Viewing the online help of a macro or module
4-6-2. Creating an online help window for a custom macro
4-6-3. Deleting an online help window

4-7. Managing data with MUSTIG

4-7-1. Importing data
Reading formatted data
Reading binary files.
Data acquisition
4-7-3. Exporting data.
Exporting formatted data using the clipboard
Writing data files
4-7-4. Data types.
Float types : R4, R8
Complex types : C8, C16
Integer types : I1, I2, I4
Setting the type produced by a scalar input module
What is the precision of the calculations ?
Converting data types
Shifting bits to limit precision
4-7-5. Character strings
Entering a string
Viewing a string
Adding a Line Feed to a string
Concatenating two strings into a single one
Extracting a sub-string
Converting a string into a number
Converting a number into a string
Converting an integer into a string of binary digits
Extracting a variable name into a string
alculating the length of a string

Checking whether two strings are equal
Getting the ASCII code of a character
Transforming a formatted string into a vector of strings
Example : Reading a formatted data file or string

 

4-8. Variables

4-8-1. Characteristics of MUSTIG variables
4-8-2. Defining a variable
Defining a variable from the Value scalar input module
Defining a variable using the variable definition modules
Using a previously defined variable
Defining a dynamic variable
4-8-3. Changing the attributes of a variable
Changing the name of a variable
Changing the sampling rate of a signal
Changing the origin of a signal
Changing the length of a variable
Changing the attributes of a variable dynamically
Changing the Half and Dual attributes of a signal
4-8-4. Handling variables
Undersampling and oversampling a signal
Extracting a value from a vector
Changing a value in a vector
Converting indices into dates, or dates into indices
Splitting a signal into a cluster of sub-signals
Merging a cluster of sub-signals into a single signal
Demultiplexing a signal into several sub-signals
Multiplexing signals into a single signal
Concatenating two signals
Expanding the dimension of a signal
Getting general information about the signals carried by a wire
4-8-4. Transmitting the variable information to a bundle box.
Looping on an existing variable
Looping on a new variable

4-9. Viewing results and drawing curves

4-9-1. Displaying alphanumerical results
4-9-2. Viewing 1D signals (vectors)
Using the View/t module
Using the View-zoom/t macro
Other 1D viewing modules
4-9-3. Viewing 2D signals (matrices, or clusters of vectors)
Definition of "Matrices" and "Clusters of signals"
Macros for viewing 2D signals
Viewing infinite 2D signals by block
4-9-4. Making temporary hardcopies of results
Making temporary hardcopies of alphanumerical results
Making temporary hardcopies of graphical results
4-9-5. Creating custom displays using elementary drawing modules
Elementary drawing modules
Reticule options
Example 1 : Drawing a line between two points
Example 2 : Drawing several lines at a time using vectors
Example 3 : Drawing several lines at a time (2)
Example 4 : Drawing several lines at a time (3)
Example 5 : Drawing a line between a fixed point and a reticule
Example 6 : Dividing a graphical plane into 4 sub-planes
Example 7 : Dividing according to a variable - Viewing matrices of 1D curves
Example 8 : Superimposing graphical elements

4-10. Formulas

4-10-1. What are formulas in MUSTIG language ?
4-10-2. When to use formulas ?
4-10-3. How to use formulas ?
Pin numbers and labels
Syntax of the formula text
Syntax errors in formulas
Special constants
Calculation operators
Logical operators
Example of formula : thresholding data

4-11. MUSTIG Libraries

4-11-1. Dynamic load process
Principle
Compelling MUSTIG to save the internal content of all the macros
4-11-2. Virtual reading of the libraries
4-11-3. Creating a custom library
4-11-4. Protecting a macro with a password