Special function registers
Special function registers (SFR) are intended primarily for use in script files that are executed in the RadiaCode. The scripts are used for process purposes and allow automating some setup, calibration and pre-sale preparation of devices. However, some of the SFRs may be useful for the users of RadiaCode-10X.
SFRs can be accessed through the “Variables”. Listed below are the case names whose values can be viewed and modified in this window.
Group of registers, which gives access to parameters of spectrum calibration by energy.
Spectrum calibration is performed to convert the number of the spectrum channel to the value of the emission energy in keV using a polynomial of the 2nd degree of the form:
E = a₀+ a₁·X + a₂·X²
where
x - channel number;
a₀, a₁, a₂ - calibration factors.
| Register name | Access | Description |
|---|---|---|
RC_VSFR_CHN_TO_keV_A0 | read/write | Contains the current value of the coefficient a₀. |
RC_VSFR_CHN_TO_keV_A1 | read/write | Contains the current value of the coefficient a₁. Writing a value ≤ 0 to this register restores the factory values of the calibration constants in the RC_VSFR_CHN_TO_keV_A0, RC_VSFR_CHN_TO_keV_A1 and RC_VSFR_CHN_TO_keV_A2 registers. If there are no factory values, these registers will be set to 0, 1, 0, respectively. |
RC_VSFR_CHN_TO_keV_A2 | read/write | Contains the current value of the coefficient a₂. |
Aktualisiert: 30. Dez. 2025