Gain Function
Owning Palette: Signal Arithmetic Functions
Installed With: Control Design and Simulation Module
Multiplies the input you specify by the gain.
Dialog Box Options |
Block Diagram Inputs |
Block Diagram Outputs |
Place on the block diagram | Find on the Functions palette |
Dialog Box Options
Parameter | Description |
---|---|
Polymorphic instance | Specifies information about the input and gain of this function. You can select from the following options:
|
Parameters | Lists all the parameters associated with this function. Select a parameter from this list to configure the parameter. When you select a parameter, the parameter and its associated Parameter source control appear in the Parameter Information section of the configuration dialog box. |
Parameter Information | Contains the parameters you can configure for this function. You must select a parameter from the Parameters list to make that parameter and its associated Parameter source control visible in the Parameter Information section of the configuration dialog box. |
Parameter source | Specifies whether you configure this parameter using the Configuration Dialog Box or a Terminal on the simulation diagram. The default value is Configuration Dialog Box. If you select Terminal, LabVIEW displays an input for that parameter on the simulation diagram, and you can wire values to that input to configure this function programmatically. If you select Configuration Dialog Box, LabVIEW removes that input from the simulation diagram. You then must set the value for this parameter inside the configuration dialog box. |
gain | Specifies the value by which you want to multiply the value of the input. |
Block Diagram Inputs
Parameter | Description |
---|---|
gain | Specifies the value by which you want to multiply the value of the input. |
input | Specifies the signal to which you want to apply the gain. |
Block Diagram Outputs
Parameter | Description |
---|---|
output | Returns the product of the input signal and the gain. |
Gain Details
Use this function in place of the LabVIEW Multiply function to represent gain on the simulation diagram.
Feedthrough Behavior
All input/output pairs of this function have direct feedthrough behavior.