Support for Control Design MathScript RT Module Functions in Real-Time Applications
- Updated2023-03-14
- 1 minute(s) read
Requires: Control Design and Simulation Module and MathScript RT Module
You can deploy MathScript Nodes with built-in MathScript functions and Control Design MathScript functions to RT targets. However, certain functions are unsupported on RT targets or supported only under certain conditions. Also, although you can deploy certain functions to RT targets, execution of those functions at run time can cause increased jitter and unbounded execution times in the real-time application. Refer to the following lists for information about support for MathScript functions on RT targets.
Functions Not Supported on RT Targets
The following MathScript functions are not supported on RT targets.
| Function | Class |
|---|---|
| mgrid | cdplots |
| ngrid | cdplots |
| rlocusfind | dynchar |
| setmodelparam_eval | info |
| sgrid | cdplots |
| zgrid | cdplots |
Functions That Generate Unsupported Plots
RT targets support the following MathScript functions only when you assign the output of the function to a variable. For example, a = coherence(x, y) is supported on RT targets. However, coherence(x, y) is not supported, because when you call the function without assigning the output to a variable, LabVIEW generates an output plot that RT targets do not support. You can use these functions on RT targets only if you assign the output of the function to a MathScript variable.
| Function | Class |
|---|---|
| bode | frqrsp |
| bodemag | frqrsp |
| impulse | timeresp |
| iopzgraph | dynchar |
| lsim | timeresp |
| margin | frqrsp |
| nichols | frqrsp |
| nyquist | frqrsp |
| pzgraph | dynchar |
| rlocus | dynchar |
| step | timeresp |