Commit cae648ac authored by Alén Arias Vázquez's avatar Alén Arias Vázquez 😎

create dir

parent b9ce5e79
......@@ -39,6 +39,7 @@ class CPX400DPLog(object):
return self.dirname+'/'+filename+'_'+str(number)+self.ext
def get_data(self):
self.create_directory(self.dirname)
log_file_name=self.get_file_name(filename='psu_logging',number=0)
log_file=open(log_file_name, 'w')
log_file.write("TIME,V1,I1,V2,I2\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment