FB_RandomGenerator - GetLreal (Method)
Type: |
Method |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
The method GetLreal generates a random number.
The method GetLreal generates a random number of type LREAL according to the linear congruence method. Refer to FB_RandomGenerator.
Input |
Data type |
Description |
---|---|---|
i_lrXmin |
LREAL |
Lower limit value of the random number. |
i_lrXmax |
LREAL |
Upper limit value of the random number. |
Output |
Data type |
Description |
---|---|---|
q_etResult |
Provides diagnostic and status information as an enumeration value. |
|
q_sResultMsg |
STRING [80] |
Provides additional diagnostic and status information as a text message. |
Data type |
Description |
---|---|
LREAL |
Generated random number of type LREAL. |
The following elements of ET_Result are used for q_etResult.