Changed reference to 'IDEAS' to 'BioXAS' in side app controller.
Playing with increasing the precision of the m1 upper slit blad motor editor. I've included a call to setControlFormat(...) but it doesn't appear to do what I'd like. Revisiting this later.
No change appears to have been made.
Added #include for CLSDarkCurrentWidget, the scaler view didn't appear to have recognized it as a class.
Playing around with mirroring some elements of Acquaman applications with StripTool, as a way to review the work done building the BioXAS Side application yesterday.
None of the classes really do anything yet, but I'm playing around with application structure, heirarchies/inheritance, and collections. Project builds, but there is nothing to run yet.
Created new (empty) class for the CLSKeithley428. Acquaman builds, but nowhere is this class instantiated.
Started exploring how to get CLSKeithley428 class working, lots more work needs to be done. BioXASSideAcquaman builds and runs successfully at this point, I wanted to bookmark this state for the demo tomorrow morning.
CLSKeithley428 uses gain as its value; CLSSR570 uses sensitivity. I've tried to generalize AMCurrentAmplifier so that it can accomodate either of the two value options by introducing a ValueType enum argument to the constructor, affecting the constructors of both subclasses. BioXASAcquaman builds and runs (it only uses the Keithley at this point). Changes haven't been propogated anywhere else.
Ooops! I don't think the ValueType described previously needs to be a constructor argument for CLSSR570 and CLSKeithley428. That change is removed here.
Playing around with more stuff for the Keithley. I think most of my changes will need to be undone, to c08466f880dc22ef1af4f73468fa07e9352b932e.
Darren fixed problem with scan configuration view where adding a second region after the first, deleting it, and then adding a new region again to the end of the list caused Acquaman to crash.
Created new class AMCurrentAmplifierView, playing around with creating a superclass for existing CLSSR570View and (nonexistant) CLSKeithley428.
Added new class CLSKeithley428View that will hopefully provide a visualization for the CLSKeithley428 class, and inherit from the same view ancestor (nonexistant) as the CLSSR570View class.
Added two connect statements to the AMCurrentAmplifier class that cause 'gainChanged()' signal to be emitted whenever a 'sensitivityChanged()' signal is emitted, and vice versa.
I can now create an instance of the CLSKeithley class in BioXASSideBeamline, and the application doesn't crash! Class functionality hasn't been rigorously tested. The Keithley class also does not inherit from AMCurrentAmplifier (yet), I'm still working out how to make CLSKeithley428 and CLSSR570 class requirements compatible.
I think I have a Keithley class working that responds appropriately to changes in the gain value from David B's software, and recognizes when it's at a min/max value. The class doesn't actually inherit from AMCurrentAmplifier yet.
Added:
- QString variable AMAction3::failureMessage_
- const QString AMAction3::failureMessage() to return variable
- parameter QString failureMessage to AMAction3::setFailed() which
defaults to empty.
Added:
- QString AMActionLog3::failureMessage() and corresponding variable
- Registration of these as a Q_PROPERTY to get them into the db
- Setting of this variable from the passed AMAction in the constructor
- Setting of this variable from the passed AMActionLog3 in the copy
constructor
I have a super simple interface working for the Keithley428 current amplifier working now, an instance displayed in BioXASSidePersistentView. It allows the user to select whether they want to view gain or sensitivity using a tabbed container widget CLSKeithley428ContainerView. Selecting a gain/sensitivity causes the appropriate change in the Keithley, as displayed on its panel screen. I want to be able to be fancier with units, but that's for another update.