Function
To amplify or weaken signals, you can use the gain function. The way it works is as follows: a signal is fed into the gain, amplified and output again. The signal is not changed by this.
Constructors
There are two different constructor variants. Once with the default value and once with a double value.
default constructor |
|
constructor with double value |
Method
To call the method as well, it is set before the double value.
constructor with method |
General available methods
There are also methods that can be used in general. The four common ones are mentioned here.
label - Names connections and blocks in the respective setting. |
|
name - Names modules in required settings. |
|
set - For example, scope settings can be set by code. |
|
show - Auto opens the measure display, e.g. Osci or PropertyWindow. |
Further assistance
If you want to read up some more, you should look here in the JavaDoc.
There are some experiments where you can take a closer look at the system gain.
Constructor
Method
General available methods
Examples
There are some experiments where you can take a closer look at the system gain.
Gain | Amplified sine signal |
---|---|
1 (default) | |
1.5 | |
0.5 | |
-0.5 |