fandango.device.FolderDS module¶
- class fandango.device.FolderDS.FolderAPI(mask=None)[source]¶
Bases: fandango.tango.ProxiesDict, fandango.objects.SingletonMap
The FolderAPI object will allow to access all FolderDS instances in the system. This will allow to easily save, read, list files in the Folder ecosystem. Files can be tracked by any host, using get_all_hosts() and get_host_devices() methods.
- class fandango.device.FolderDS.FolderDS(cl, name)[source]¶
Bases: fandango.dynamic.DynamicDS
The FolderDS Device Server will allow to write/save/list text files between tango devices
- class fandango.device.FolderDS.FolderDSClass(name)[source]¶
Bases: fandango.dynamic.DynamicDSClass
- attr_list = {'SaveFolder': [[PyTango._PyTango.CmdArgType.DevString, PyTango._PyTango.AttrDataFormat.SCALAR, PyTango._PyTango.AttrWriteType.READ]]}¶
- class_property_list = {'ExtraDevices': [PyTango._PyTango.CmdArgType.DevVarStringArray, 'Devices from other tango hosts to be shown in FolderGUI', []]}¶
- cmd_list = {'SaveFile': [[PyTango._PyTango.CmdArgType.DevVarStringArray, 'filename,contents'], [PyTango._PyTango.CmdArgType.DevVarStringArray, 'filename, size'], {'Display level': PyTango._PyTango.DispLevel.EXPERT}], 'GetFileTime': [[PyTango._PyTango.CmdArgType.DevString, 'filename'], [PyTango._PyTango.CmdArgType.DevDouble, 'modified timestamp'], {'Display level': PyTango._PyTango.DispLevel.EXPERT}], 'Help': [[PyTango._PyTango.CmdArgType.DevVoid, ''], [PyTango._PyTango.CmdArgType.DevString, 'python docstring']], 'ListFiles': [[PyTango._PyTango.CmdArgType.DevString, 'filename mask'], [PyTango._PyTango.CmdArgType.DevVarStringArray, 'file list'], {'Display level': PyTango._PyTango.DispLevel.EXPERT}], 'GetFile': [[PyTango._PyTango.CmdArgType.DevString, 'filename'], [PyTango._PyTango.CmdArgType.DevString, 'contents'], {'Display level': PyTango._PyTango.DispLevel.EXPERT}], 'SaveText': [[PyTango._PyTango.CmdArgType.DevVarStringArray, 'filename,contents'], [PyTango._PyTango.CmdArgType.DevVarStringArray, 'filename, size'], {'Display level': PyTango._PyTango.DispLevel.EXPERT}]}¶
- device_property_list = {'DefaultMethod': [PyTango._PyTango.CmdArgType.DevString, 'Method to be used when calling SaveFile()', ['SaveText']], 'SaveFolder': [PyTango._PyTango.CmdArgType.DevString, 'Folder for saving/retrieving data files', ['/tmp/folderds']]}¶