KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Process variables

This module provides access to process variables. More...

Files

file  access.h
 Access provides 'introspective' access to process variables.
 
file  monitor.h
 The monitor module is responsible for sending variables to the remote party based on subscription.
 
file  varid.h
 Defines the variable ID format.
 

Detailed Description

This module provides access to process variables.

Process variables are variables which are important for the main process or task of the device. Process variables are defined outside of the source code and, using code generation, converted into global variables.

Most process variables can be accessed from inside the CLB just like regular variables.

Most notable advantages:

Virtual Variables

Virtual variables are variables which actually do not exist. When requested a function is invoked which should read or fill the provided buffer. Virtual variables could for example be data which is located inside of a device. Also virtual variables do not take up memory inside of the code (except for the functions accessing those variables).