:SENSe:CORRection:USERrange:ENABle
Description
Enables or disables the User Range Calibration
. If the calibration is enabled, the calibration data can be used for measurement data correction.
Note
This does NOT guarantee that the selected calibration is used. The device automatically detects the best calibration option and selects the best fitting calibration data. However, if another calibration is also enabled and it is a better fit, that calibration data will be used. Thereforeif you want to ensure that the enabled calibration is in use, check with :SENSe:CORRection:USERrange:ACTive.
For more information about the calibration system please refer to Calibration.
Syntax | Parameter |
---|---|
:SENSe<ch>:CORRection:USERrange:ENABle |
<bool > |
Parameters | accepted format | allowed suffixes | possible Errors | description |
---|---|---|---|---|
<ch > |
{ 1 | empty } |
none |
Invalid channel index |
Currently only one channel is supported. Empty means 1 is used as default. |
<bool > |
{ ON | OFF | 1 | 0 } |
none |
Illegal parameter value |
Boolean value indicating whether the User Range Calibration is enabled or not. |
Options
Options | Description |
---|---|
OFF | 0 |
User Range Calibration disabled. |
ON | 1 |
User Range Calibration enabled. |
Presets
default value | |
---|---|
{ 1 | 0 } |
OFF |
Sample usage
Perform a User Range Gain Calibration
and check whether it is enabled. (It should be enabled automatically.)
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":CALC:PAR:DEF S21\n"); visaSession.RawIO.Write(":SENS:CORR:USER:THRU\n"); visaSession.RawIO.Write("*WAI\n"); // wait for the calibration to finish visaSession.RawIO.Write(":SENS:CORR:USER:ENAB?\n"); visaSession.RawIO.ReadString();
Related commands
:SENSe:CORRection:FULLrange:ACTive
:SENSe:CORRection:FULLrange:AVAIlable
:SENSe:CORRection:FULLrange:ENABle
:SENSe:CORRection:USERrange:ACTive
:SENSe:CORRection:USERrange:AVAIlable
Related commands in the Automation Interface
IsEnabled (Gain)
IsEnabled (Impedance)
IsEnabled (Mulimode)