Closed lo-co closed 7 years ago
Added two commands:
Change PMT Gains CMD
Change Laser Gains CMD
These along with the command to change the enable are now fired in eCRD::Configure
.
Still need to add in the laser initialization stuff properly. Push this into where we set up the IO for the different lasers.
Noted an initialization problem that was logged with the UI. Red laser was initialized for 1 kHz but coming out at 1.3 kHz? Don't know what the problem is here...
Matt, note this isn't restricted to the CRDS. For example the PAS is not initializing with all lasers enabled (as specified n the ini file) and the speaker voltages don't initialize to the correct values either. Seems we have a generic issue with the initialization?
ok so a lot of the PAS initialization is ok now, but CRD lasers are still not initializing correctly. UI controls are updating as per the ini file (e.g. as we change frequency) but the actual laser settings are not.
This is only an initialisation problem and controls are working ok otherwise
Looks like we still have a problem here. Fore example, CRDS laser enables are currently set in the ini to FALSE, but the system initialises with lasers on
Matt has this been addressed and is it really ready for testing. I think we still have problems here
Did you check it? I would have probably checked it before removing the tag. I will look into it.
OK...so this does what it is supposed to do from the code standpoint. When eCRDS::Configure
is called, the Laser Enable CMD
object is shipped. I can see that the values are read correctly from the configuration file (all TRUE
).
Can you please check this again?
Ok the CRDS side of this is working . Closing this issue. If we come across similar instances in the future will raise them as separate issues
This is a hot mess and needs to be consistent with PAS. Basically, we update the CVT in the
Controller
and then in the launch of theInstrument
actor, we push those values into the respective instrument usingCommand
object. We are not doing this for the CRD.