kernelv_control_techno_func_duration()

Prototype

KERNELV_RETURN

kernelv_control_techno_func_duration (unsigned char onOff);

Description

Activates or deactivates execution time simulation for technology functions.

By default, execution time simulation is off, i.e. technology functions are acknowledged immediately. When execution time simulation is active, acknowledgement of the technology functions is delayed to simulate their actual execution time.

The execution time can be set by means of the kernelv_ch_set_techno_func_duration() function or by means of entries in the channel parameter list (P-CHAN-00040, P-CHAN-00026).

If execution time simulation is deactivated while still unacknowledged technology functions are pending, they are acknowledged immediately regardless of the set execution time.

Parameter

Name

Type

Meaning

onOff

unsigned char

In the case of a value of onOff > 0, the execution time is activated and a value of 0 deactivates execution time simulation.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The function was executed without error.