kernelv_control_techno_func_duration()

Prototype

KERNELV_RETURN (int)

control_techno_func_duration(vnck: ctypes.CDLL,

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

vnck

ctypes.CDLL

Instance of the loaded KernelV DLL.

enable

bool

When a value of enable is > 0, the execution time simulation is activated; a value of 0 deactivates execution time simulation.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The function was executed without error.