The set_path function is not defined correctly in the scancontrol.py, and I didn't find anything related to it in the labview code

get_path works correctly but I think if we want to set the path, we have to have separate functions for base folder and exp folder. It's already configured correctly in the labview.
These too function has to be added:
def set_base_folder(self, path):
"""Sets the path associated with the scan.
Args:
path (str): Path for the scan.
"""
command = f"{OHCcommands.w_sca}Base Folder:{path}"
self.controller.write_control(command)
return 0
def set_exp_folder(self, path):
"""Sets the path associated with the scan.
Args:
path (str): Path for the scan.
"""
command = f"{OHCcommands.w_sca}Exp Folder:{path}"
self.controller.write_control(command)
return 0
The set_path function is not defined correctly in the scancontrol.py, and I didn't find anything related to it in the labview code
get_path works correctly but I think if we want to set the path, we have to have separate functions for base folder and exp folder. It's already configured correctly in the labview.
These too function has to be added: