Quote: |
I edited c1psl.db to include the following:
grecord(calc, "C1:PSL-PMC_LOCALC")
{
field(INPB,"C1:PSL-PMC_LODET")
field(SCAN,".1 second")
field(PREC,"4")
field(CALC,".955*LOGE(B)-17.11")
}
|
As it turns out, I apparently can't tell X from Y when fitting a function in a rush. The real calibration stuff which is now in c1psl.db is:
grecord(calc, "C1:PSL-PMC_LOCALC")
{
field(INPB,"C1:PSL-PMC_LODET")
field(SCAN,".1 second")
field(PREC,"4")
field(CALC,"1.004*LOGE(B)+17.76")
}
I restarted c1psl (again, had to go hit the physical reset button since it didn't come back after a telnet-reboot) to have it take in the changes. The psl.db file that was in place before yesterday (before I touched it) is saved as psl.db.15Apr2009 just in case.
I edited the PMC EPICS screen to have the LO mon look at C1:PSL-PMC_LOCALC, which is the calibrated channel in dBm. I also stuck a little label on the screen saying what units it's in, because everyone likes to know what units they're looking at.
|