(Jul-22-2020, 12:30 PM)Gribouillis Wrote: I don't see a line starting with self.mode = ...
. How do you expect self.mode to change?
Thanks. I did add it in the data dictionary as 'Mode': self.mode this works i do get the right value first 2 and then 4 after updating the mode to 4 in the GUI. i try to get that data in the queue function so that i can call it in my filename and have the filename updated according to the mode of measurement. alternatively i also tried to add self.mode = mode but then i get NameError: name 'mode' is not defined. if the other way around mode = self.mode i don't get any error and the data file are correct but the filename is not update i.e in that function i get the default value of the parameter.