InoDrive / UserApp / get_variables_list


InoDrive.UserApp.get_variables_list(self, access=None)

Get list of Variable name’s in User Application that are set to Read or Read/Write.

Arguments:

self (Object): Reference to User Application Instance.
access (Integer): (Optional) Argument to get Variable Name’s that are set to 'read': 1 or 'readWrite': 3.

Returns: List – A List of all Variable Name’s that are set to Read or Read/Write.

import CkInoDriveAPI

# Instantiate InoDrive Object and Connect by Name
Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True)

# Retrieve List of All Read, Read/Write Variable Names
variable_list = Drive.UserApp.get_variables_list()
print(variable_list)