Script#
- class pycanape.script.Script(dll: CANapeDll, asap3_handle: LP_tAsap3Hdl, script_handle: c_ulong)[source]#
The
Script
class is not meant to be instantiated by the user. Instead,Script
instances are returned byexecute_script_ex()
.- get_script_result_string() str [source]#
Returns a script result.
- Returns:
result string of the script
- Return type:
- get_script_result_value() float [source]#
Returns the exitcode of a script.
- Returns:
result value of the script
- Return type:
- get_script_state() TScriptStatus [source]#
Returns the state of a script.
- Returns:
current state of the script
- Return type:
- release_script() None [source]#
Removes a declared script from the Tasklist. To receive the result you must use the ‘SetScriptResult’ in your CASL script.
- Return type:
None