GETPA – Block for remote array parameter acquirement

Block SymbolLicensing group: STANDARD
PIC

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 GETF = off 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 GETF 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 (off on) 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:

The order and names of individual hierarchic levels are displayed in a tree structure in the RexView 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

off ..

Remote parameter is continuously read

on ...

One-shot mode, the remote parameter is read only when forced to by the GET input (rising edge)

nmax

Maximum size of array  256

long