Version 6.2.0, August 27, 2004
Table of Contents
Scale-by Inverse Live Constant
Digital 1-Pole Low-Pass Filter
Digital 2-Pole Low-Pass Filter
Digital 2-Pole Low-Pass Filter (A)
Overview
Node types
|
Input |
|
Can be wired to any input or output node. There is no explicit limit to the number of inputs that can be connected together. If multiple input nodes are wired together, but without an output node, a warning is displayed and those wires are ignored. To change the value of an unwired input node, place cursor over node and double-click. Alternatively, the value can be changed by placing cursor anywhere in block, right clicking to display a pop-up menu, and selecting "Properties." The value of a wired input node cannot be changed, but it can be viewed with same procedures as above. |
|
Output |
|
Can be wired to any input node. Two output nodes cannot be wired together. The value of an output node cannot be changed. To view the value of an output node, place cursor over node and double-click. Alternatively, the value can be viewed by placing cursor anywhere in block, right clicking to display a pop-up menu, and selecting "Properties." |
|
No-connection |
|
Set values that are fixed at the time the model is compiled. To change, stop model and place cursor over node and double-click. Alternatively, the value can be changed by placing cursor anywhere in block, right clicking to display a pop-up menu, and selecting "Properties." Changing the value of a No-connection node will force a recompile to continue model execution. |
|
Documentation |
|
Store information about the use of the block for reference. |
Node Types
|
double |
Most Visual ModelQ nodes are of type double. |
|
Boolean |
Some Visual ModelQ nodes are Boolean. When viewing or changing values, these nodes show as "True" or "False." For the case where these nodes are input nodes, and so can be wired to non-Boolean nodes, any value less than 0.5 is translated as False while all other values are translated as True. |
|
String |
Some Visual ModelQ nodes are strings. When viewing or changing values, these nodes show as one of a list of strings. When these nodes are transmitted on wires (wires carry only double) the value of the node is translated as the integer value of the string’s placement in the string list. Actually, Boolean is a string variable where the string list consists of "True" and "False." |
|
Documentation |
Documentation nodes accept strings with no specific length limit. |
|
Graphic |
|
|
Function |
Provide 8-channel oscilloscope display. |
|
Tab |
Instruments |
|
Special behavior. |
After compile, oscilloscope display window is hidden. Double click on the Oscilloscope block to view the display window. All default settings can be changed using controls in the display. However, recompilation will restore the default values. |
|
Requirements |
At least one oscilloscope is required in every model. There is no explicit limit on the number of oscilloscopes one model can have. |
|
Node List
|
1 |
Time/Div |
|
2 |
Trigger Source |
|
|
3 |
Trigger Level |
|
|
4 |
Positive Trig? |
|
|
5 |
Trigger Position |
|
|
6 |
Trigger Mode |
|
|
7 |
AC Trigger |
|
|
8 |
Roll? |
|
|
9 |
Single Shot |
|
|
10 |
x vs y? |
|
|
11 |
H-Channel |
|
|
12 |
Documentation node |
|
|
See also: Live Scope, Two-Channel Live Scope |
||
Dynamic Signal Analyzer (DSA)
|
Graphic |
|
|
Function |
Provide Frequency-Response Function (FRF) or Bode plot of system. Provides temporary excitation signal. |
|
Tab |
Instruments |
|
Special behavior. |
After compile, DSA display window is hidden. Double click on the DSA block to view the display window. All default settings can be changed using controls in the display. However, recompilation will restore the default values. |
|
Requirements |
If a DSA is present, at least two variables must be present in model. There is no specific limit on the number of DSAs than can be present. |
|
Node List
|
1 |
Switched Input |
|
2 |
Unswitched Input |
|
|
3 |
Excitation |
|
|
4 |
DSA Inactive |
|
|
5 |
Excitation Amplitude |
|
|
6 |
Input Channel |
|
|
7 |
Output Channel |
|
|
8 |
TSample |
|
|
9 |
Start Zero Time |
|
|
10 |
End Zero Time |
|
|
11 |
Order |
|
|
12 |
Auto Frequency |
|
|
13 |
Minimum Frequency |
|
|
14 |
Maximum Frequency |
|
|
15 |
Gain Scale |
|
|
16 |
Gain Offset |
|
|
17 |
Phase Scale |
|
|
18 |
Phase Offset |
|
|
19 |
Button Setup |
|
|
20 |
Documentation node |
|
|
See also: Variable, Live Scope, Two-Channel Live Scope, Oscilloscope |
||
|
Graphic |
|
|
Function |
Non-display data channel for Oscilloscopes and DSAs. |
|
Tab |
Instruments |
|
Node List |
1 |
Input |
|
2 |
Scale |
|
|
3 |
Offset |
|
|
4 |
Show |
|
|
5 |
AC Couple |
|
|
6 |
Mult |
|
|
7 |
Documentation node |
|
|
See also: Live Scope, Two-Channel Live Oscilloscope, DSA |
||
|
Model graphic (during model execution) |
|
|
|
Select Graphic |
|
|
|
Function |
Displaying data on model screen; also provide data channel for Oscilloscopes and DSAs. |
|
|
Tab |
Instruments |
|
|
Special behavior. |
The Live Scope creates a variable of the same name as the block name that can be displayed on the Oscilloscope or measured with a DSA. After compile, double click on the Live Scope block to view the control panel. The control panel simplifies adjustment of standard scope variables such as scale, offset, and trigger settings. Single-shot operation is supported through the S-Shot checkbox. Single-shot causes the model to stop running after the scope screen fills; if you select “Must click OK” you must acknowledge the S-Shot announcement window; otherwise, the window will go out of view after 10 seconds. Click the Run button to continue model execution. Supports Hot Connect, which allows temporary connection Input to any node or wire while the model is running, and without forcing a recompile. All scope settings are restored to pre-hot connection values when normal (non-Hot- Connect) operation is restored. Supports Autoscale, where the scale is set to ±X where X is large enough to show all points of display. Supports Fill Screen, where the scale is set to just show the waveform minimum and maximum values. Supports copying scope display to a bitmap file. You can copy the complete scope display ("Copy Image") or just the plot ("Copy Graph"). If you click the escape key mid sequence, the bitmap is copied to the clipboard where it can be pasted to other applications, for example Microsoft Word documents. |
Live Scope Control Panel |
|
See also: Variable, Two-Channel Live Scope, Oscilloscope |
||
|
Node List |
1 |
Input |
|
2 |
Scale |
|
|
3 |
Offset |
|
|
4 |
AC Couple |
|
|
5 |
Mult |
|
|
6 |
Time/Div |
|
|
7 |
Show |
|
|
8 |
Ext |
|
|
9 |
Ext Mult |
|
|
10 |
Trigger Channel |
|
|
11 |
Trigger Level |
|
|
12 |
Positive Trig? |
|
|
13 |
Trigger Position |
|
|
14 |
Trigger Mode |
|
|
15 |
AC Trigger |
|
|
16 |
Single Shot |
|
|
17 |
Height |
|
|
18 |
Width |
|
|
19 |
Documentation node |
|
|
See also: Variable, Two-Channel Live Scope, Oscilloscope |
||
|
Model graphic (during model execution) |
|
|
|
Select Graphic |
|
|
|
Function |
Displaying two channels of data on model screen; also provide one data channel (Channel 1 only) for Oscilloscopes and DSAs. |
|
|
Tab |
Instruments |
|
|
Special behavior. |
The Two-Channel Live Scope creates a variable of the same name as the block name that can be displayed on the Oscilloscope or measured with a DSA. Channel 1 is used for data for the variable. See Live Scope for more details. |
Two-Channel Live Scope Control Panel |
|
See also: Variable, Live Scope |
||
|
Node List |
In addition to the Nodes for the Live Scope , the Two-channel Live Scope provides the following five nodes on the right side of the block. |
|
|
20 |
Input2 |
|
|
21 |
Scale2 |
|
|
22 |
Offset2 |
|
|
23 |
AC Couple2 |
|
|
24 |
Mult2 |
|
|
See also: Variable, Live Scope, Oscillocope |
||
|
Model graphic (during model execution) |
Four-Channel Scope with Scales turned off using Control Panel (shown below) |
|
|
Select Graphic |
|
|
|
Function |
Displaying four channels of data on model screen; also provide one data channel (Channel 1 only) for Oscilloscopes and DSAs. |
|
|
Tab |
Instruments |
|
|
Special behavior. |
The Four-Channel Live Scope creates a variable of the same name as the block name that can be displayed on the Oscilloscope or measured with a DSA. Channel 1 is used for data for the variable. See Live Scope for more details. |
Four-Channel Live Scope Control Panel |
|
See also: Variable, Live Scope |
||
|
Node List |
In addition to the Nodes for the Two-Channel Live Scope, the Four-Channel Live Scope provides the following ten nodes bottom of the block, where Channel 3 parameters are below Channel 1 parameters on the left and Channel 4 parameters are below Channel 2 parameters on the right. |
|
|
25 |
Input3 |
|
|
26 |
Scale3 |
|
|
27 |
Offset3 |
|
|
28 |
AC Couple3 |
|
|
29 |
Mult3 |
|
|
30 |
Input4 |
|
|
31 |
Scale4 |
|
|
32 |
Offset4 |
|
|
33 |
AC Couple4 |
|
|
34 |
Mult4 |
|
|
See also: Variable, Live Scope, Two-Channel Live Scope, Oscillocope |
||
|
Graphic |
|
|
Function |
Provide constant numerous waveforms with control of frequency, amplitude, offset, and other waveform parameters. |
|
Tab |
Instruments |
|
Special behavior |
After compile, double click on the Waveform Generator block to view the Waveform Generator control panel. Control panel allows easy adjustment of parameters such as waveform type, frequency, and amplitude while model is running. |
|
Node List |
1 |
Output |
|
2 |
Waveform |
|
|
3 |
Frequency
|
|
|
4 |
Amplitude |
|
|
5 |
Offset |
|
|
6 |
Phase |
|
|
7 |
Duty Cycle |
|
|
8 |
Mult |
|
|
9 |
Enable |
|
|
10 |
Documentation node |
|
Graphic |
|
|
Function |
Log 16 channels of data to a file in CSV (comma separated variable) format. |
|
Tab |
Instruments |
|
Node List |
1-16 |
Channel1-Channel16 |
|
17 |
Enable |
|
|
18 |
Reset
|
|
|
19 |
File Write Interval |
|
|
20 |
Ask before overwrite |
|
|
21-52 |
Name1-Name16 and Multipiler1 – Multiplier 16 (in pairs) |
|
|
53 |
Controller Data logger saves data on each cycle of controller except the following
conditions: |
|
|
54 |
Mult |
|
|
55 |
Documentation node |
|
Model graphic |
|
|
Select graphic |
|
|
Function |
Provide constant input with on-screen display. Value can be changed at any time by double clicking on the input node (left on icon). |
|
Tab |
Constants |
|
Node List |
1 |
Input |
|
2 |
Mult |
|
|
3 |
Output |
|
|
4 |
Documentation node |
|
|
See also: Live Constant, Scale-by Constant, Inspector |
||
|
Model graphic |
|
|
|
Select graphic |
|
|
|
Function |
Provide constant input with on-screen display. Value can be changed at any time by double clicking on the block after compile, which brings an adjustor box into view. Output is scaled from user units by Mult (node 4). |
|
|
Tab |
Constants |
|
|
Special behavior. |
After compile, double click on the Live Constant block to view the adjustor box. Adjustor box simplifies adjustment of constants through use of six logarithmic adjustments. For example, "<<" reduces the value by approximately 50% to an even value of 1, 2, or 5 x 10N. Value is copied into InitValue (node 1) after clicking "Save value as initial value " button immediately right of value. Value is restored to InitValue after each compile. Text color in edit box changes to red when keystrokes are entered. This indicates that the value in the model block is not equal to the value in the edit box. Actions that store the value (for example, striking the enter key) load the value and change the text back to the standard color. |
Adjustor Box
Model block, value and initial
value |
|
Node List |
1 |
InitValue |
|
2 |
Minimum |
|
|
3 |
Maximum |
|
|
4 |
Mult |
|
|
5 |
Output |
|
|
6 |
Documentation node |
|
|
See also: Simple Constant, Scale-by Constant, String Constant |
||
|
Model graphic |
|
|
|
Select graphic |
|
|
|
Function |
Provide inverted constant input with on-screen display (if value is zero, output is zero). Value can be changed at any time by double clicking on the block after compile, which brings an adjustor box into view. Output is scaled from user units by Mult (node 4), and then inverted. |
|
|
Tab |
Constants |
|
|
Special behavior. |
After compile, double click on the Live Constant block to view the adjustor box. Adjustor box simplifies adjustment of constants through use of six logarithmic adjustments. For example, "<<" reduces the value by approximately 50% to an even value of 1, 2, or 5 x 10N. Value is copied into InitValue (node 1) after clicking "Save value as initial value " button immediately right of value. Value is restored to InitValue after each compile. After model is compiled, model block is painted white when the value is equal to the initial value and silver when not equal. Text color in edit box changes to red when keystrokes are entered. This indicates that the value in the model block is not equal to the value in the edit box. Actions that store the value (for example, striking the enter key) load the value and change the text back to the standard color. |
Adjustor Box
Model block, value and initial
value |
|
Requirements |
None |
|
|
Node List |
1 |
InitValue |
|
2 |
Minimum |
|
|
3 |
Maximum |
|
|
4 |
Mult |
|
|
5 |
Output |
|
|
6 |
Documentation node |
|
|
See also: Live Constant, Scale-by Inverse Live Constant |
||
|
Model graphic |
|
|
Select graphic |
|
|
Function |
Provide constant input with on-screen display. Value can be changed at any time by double clicking on the scale node (top left). |
|
Tab |
Constants |
|
Node List |
1 |
Input |
|
2 |
Scale |
|
|
3 |
Mult |
|
|
4 |
Output |
|
|
5 |
Documentation node |
|
|
See also: Simple Constant, Scale-by Live Constant |
||
|
Model graphic |
|
|
|
Select graphic |
|
|
|
Tab |
Constants |
|
|
Function |
Provide scaling constant with on-screen display. Value can be changed at any time by double clicking on the block after compile, which brings an adjustor box into view. Output is scaled from user units by Mult (node 5). |
|
|
Special behavior. |
After compile, double click on the Live Constant block to view the adjustor box. Adjustor box simplifies adjustment of constants through use of six logarithmic adjustments. For example, "<<" reduces the value by approximately 50% to an even value of 1, 2, or 5 x 10N. Value is copied into InitValue (node 2) after clicking "Save value as initial value " button immediately right of value. Value is restored to InitValue after each compile. After model is compiled, model block is painted white when the value is equal to the initial value and silver when not equal. Text color in edit box changes to red when keystrokes are entered. This indicates that the value in the model block is not equal to the value in the edit box. Actions that store the value (for example, striking the enter key) load the value and change the text back to the standard color. |
Adjustor Box
Model block, value and initial
value |
|
Requirements |
None |
|
|
Node List |
1 |
Input |
|
2 |
InitValue |
|
|
3 |
Minimum |
|
|
4 |
Maximum |
|
|
5 |
Mult |
|
|
6 |
Output |
|
|
7 |
Documentation node |
|
|
See also: Live Constant, Scale-by Inverse Live Constant |
||
Scale-by
Inverse Live Constant
|
Model graphic |
|
|
|
Select graphic |
|
|
|
Tab |
Constants |
|
|
Function |
Provide scaling inverse constant with on-screen display (if value is zero, output is zero). Value can be changed at any time by double clicking on the block after compile, which brings an adjustor box into view. Output is scaled from user units to model units by Mult (node 5) and then inverted. |
|
|
Special behavior. |
After compile, double click on the Live Constant block to view the adjustor box. Adjustor box simplifies adjustment of constants through use of six logarithmic adjustments. For example, "<<" reduces the value by approximately 50% to an even value of 1, 2, or 5 x 10N. Value is copied into InitValue (node 2) after clicking "Save value as initial value " button immediately right of value. Value is restored to InitValue after each compile. After model is compiled, model block is painted white when the value is equal to the initial value and silver when not equal. Text color in edit box changes to red when keystrokes are entered. This indicates that the value in the model block is not equal to the value in the edit box. Actions that store the value (for example, striking the enter key) load the value and change the text back to the standard color. |
Adjustor Box
Model block, value and initial
value |
|
Requirements |
None |
|
|
Node List |
1 |
Input |
|
2 |
InitValue |
|
|
3 |
Minimum |
|
|
4 |
Maximum |
|
|
5 |
Mult |
|
|
6 |
Output |
|
|
7 |
Documentation node |
|
|
See also: Inverse Live Constant, Scale-by Live Constant |
||
|
Model graphic |
|
|
|
Select graphic |
|
|
|
Tab |
Constants |
|
|
Function |
Provide selection from user-defined list of strings. String can be changed at any time by double clicking on the block after compile, which brings a string adjustor box into view. |
|
|
Special behavior. |
After compile, double click on the Live Constant block to view the string adjustor box. Adjustor provides list box to allow string selection. Value is copied into InitValue (node 2) after clicking "Save value as initial value" button right of "OK" button. String is restored to InitValue (node 2) after each compile. After model is compiled, model block is painted white when the value is equal to the initial value and silver when not equal. |
String Adjustor Box
Model block, value and initial
value |
|
Requirements |
None |
|
|
Node List |
1 |
Strings Hint: for boolean output, make string list False, True. This will output 0 when False is selected and 1 for True. |