Visual Programming
Overview
There is an example implementation of the temperature cool sensor application available in the apps folder. In this implementation, it contains all the API functions and demos for how to use them.
The below table captures the function of vp.
s.no |
VP data group |
Supported operations |
|---|---|---|
Data group |
|
|
Mathematical group |
|
|
Logical group |
|
|
Conditional group |
|
|
Switches group |
|
|
Input Limiters group |
|
|
Transformation group |
|
|
Physical group |
|
|
Wave Generator group |
Sinewave generator |
The below table captures the function that are to be called from the application logic.
Function |
Description |
|---|---|
rs_vp_init |
To initialize the VP stack. |
rs_vp_process |
To be called periodically to process the block operations. |
Function |
Description |
|---|---|
rcb_vp_blk_error_info |
Called when blocks error occurs. |
Error Code
Every API’s for the VP returns some success or failure values. Please refer below section,
Implementation Guide
This section explains how to implement the VP using the RAPIDSEA stack, the steps to be followed are
Initialize the VP
Import flint project.
Call the vp process periodically to execute the VP blocks.
Blocks execute based on the flint project
VP Header
Documentation from the relevant header as follows:
Warning
doxygenfile: Cannot find file “rs_vp_core.h