Closed ram1123 closed 5 years ago
What would be best would be if you could get debugging info for a successful transaction, an unsuccessful transaction, and then subsequently the first transaction, which I understand would now fail after the unsuccessful transaction. What would be useful would be:
@ram1123, one thing that you also need to ensure is that the current source is only enabled for the channels that require it, and that it is disabled at the end of the routine, after the ADC sampling has finished
@jsturdy : Somehow today its able to read the temperature SCA-ADC channel without any error. My code is exactly same as the previous version. So, I should get the same issue while accessing the temperature channel. Is there any other changes made that can affect this?
It may be that the bad state the HW was in resulted in these instabilities... but I can't say for sure
Brief summary of issue
While reading the SCA ADC channels corresponding to temperature, it gives Bus error corresponding to node node:
GEM_AMC.SLOW_CONTROL.SCA.MANUAL_CONTROL.SCA_CMD.SCA_CMD_EXECUTE
I was trying to implement #100, to read one/all SCA ADC channel. I am able to read all other channes except those corresponding to the temperature. Thus, there is some issue only with channes that corresponds to temperature.
Types of issue
Expected Behavior
Current Behavior
Steps to Reproduce (for bugs)
If you run the module
readADCCommands
. Then one should getThe corresponding rpcsvc message should be:
scaADCCommand
. There might be an issue fromscaADCCommand
function.scaADCCommand
is successfully able to read all other channels (connected one) mentioned here https://github.com/cms-gem-daq-project/ctp7_modules/blob/49c40dbcbdf070fd38372f6435678d911eb60f0f/include/amc/sca_enums.h#L234-L265.Possible Solution (for bugs)
Context (for feature requests)
Without this we will not be albe to access the temperature information as requested in #100. ## Your Environment