Input and output control functions

Input controls (wired to the inputs of the Python or Live Python block)

position_get()

Returns the position of a control in floating point format.

position_set()

Sets the position of a control using a floating point format value.

value_get()

Returns the numeric value of a control.

value_set (value)

Sets the numeric value of a control.

string_get()

Returns the value of a control as a string.

string_set (value)

Sets the value of a control in string format.

changed_get()

Returns true if the input control has changed since the last time the script function was run.

Output controls (wired to the outputs of the Python or Live Python block)

position_set (value)

Sets the position of a control. The value must be a floating point or integer.

value_set (value)

Sets the value of a control. The value must be a floating point or integer.

string_set (value)

Sets the value of a control in string format. The value must be a string.

See also

Predefined Variables

Threaded script functions

Serial port control functions

Support for Python modules