Utility Functions : List of Utility Functions

List of Utility Functions

The following pages document the utility functions. The functions are presented in alphabetical order, as listed in the following table.

 
Closes any open database transactions. It is done explicitly if you are working in the self_transaction mode.
Disposes of the record of type stm_xx_graphic that was previously allocated and retrieved by the function stm_r_xx_graphic ().
Disposes of the record of type stm_xx_text, which was previously allocated and retrieved by the function stm_r_xx_text().
Sends a message to the open Rational Statemate main tool to execute a command line using the same syntax of STMM CLI.
Completes the information retrieval session so the database is closed for transactions. This is performed after the last Dataport function call.
Returns a number of type stm_id. This number is changed when the database is changed.
Initializes the database for information retrieval by the Dataport functions, and checks the user access rights and user license.
Returns the last item appearing in the list passed as an input argument.
Alphabetically sorts the input list of named Rational Statemate elements, by the name of the chart to which they belong.
Alphabetically sorts the input list of named Rational Statemate elements, by the name of the chart to which they belong.
Creates a new list of those elements of the first input list that are not found in the second input list.
Creates a new list of those elements of the first input list that are not found in the second input list.
Creates a new list of those elements of the first input list that are not found in the second input list.
Converts the specified multiline string (with new lines) to a one-line string (without the new lines).
Opens a Truth Table that is connected to the specified element and highlights the specified line in it.
Generates a plot file with the indicated parameters, such as plot size, output device, and so on.
Sends a message to Rational Statemate to open and execute a Simulation profile by the name passed as a parameter.
Saves a chart (or any other configuration item file) from the current workarea to an external file.
Unloads all charts from the current workarea and clears all database fields.