InoDrive / UserApp


InoDrive.UserApp(**kwargs)

User Application Class, management of User Application file.

Arguments: **kwargs (Dict): An InoDrive with an established Connection.

Returns: Object – An Object that can manage the main User Application.


Methods:

dispose() Dispose Process thread for Polling User Application.
get_all_variables() Get all Variable(s) in User Application that are set to Read or Read/Write. Does not poll Variable List.
get_var() Get Variable(s) value by name or id in User Application, does not poll User Application Variable List.
get_variable() Get specific Variable in User Application that are set to Read or Read/Write by Name or ID. Does not poll Variable List.
get_variable_list() Get list of Variable name’s in User Application that are set to Read or Read/Write.
read_var() Read Variable(s) value by Name or ID in User Application, polls Variable List.
set_var() Set Variable(s) with new value out to User Application, does not poll User Application Variable List.
start_poll() Create Process Thread to poll User Application’s Variable Listing.
stop_poll() Stop’s Process Thread to poll User Application’s Variable Listing.
update_variable_list() Sends message to Module to Update all Read or Read/Write Variable Listing.
write_var() Write Variable(s) with new value out to User Application, polls User Application Variable List.