GETPA – Block for remote array parameter acquirement
Block SymbolLicensing group: STANDARD
Function Description
The GETPA block is used for acquiring the array parameters of other blocks in the model
remotely . The block operates in two modes, which are switched by the GETF parameter. For
the output
arrRef is set to the value of the remote parameter at the start and every time when the remote parameter
changes. If the
parameter is set to on, then the block works in single-shot read mode.
In that case the remote parameter is read only when rising edge
(offon)
occurs at the GET input.
The name of the remote parameter is determined by the string parameter sc (string connection), which has the form <block_path:parameter_name>. The path to the block whose parameter should be read can contain hierarchic levels separated by dots followed by the block name. The path can be either relative or absolute:
- Relative – starts at the level where the GETPA block is located. The string has to be prefixed with ’.’ in this case. Examples of relative paths: ".CNDR:yp", ".Lights.ATMT:touts".
- Absolute – complete sequence of hierarchic levels down to the block. For referring to blocks located in the driver task (see the IOTASK block for details on configuration) the ’&’ followed by the driver’s name is used at the beginning of the absolute path. Examples of absolute paths: "task1.inputs.ATMT:touts", "&EfaDrv.measurements.CNDR:yp".
The order and names of individual hierarchic levels are displayed in a tree structure in the REXYGEN Diagnostics program.
Input
GET | Input for initiating one-shot parameter read | Bool |
Outputs
arrRef | Array reference | Reference |
E | Error flag | Bool |
Parameters
sc | String connection to the parameter | String |
GETF | Get parameter only when forced to | Bool |
|
|
|
nmax | Maximum size of array 256 | Long (I32) |
[Back to top] [Up] [Next]
2020 © REX Controls s.r.o., www.rexygen.com