5.3. DIAGnostic
5.3. DIAGnostic
The purpose of the DIAGnostic subsystem is to provide a tree node for all of the BB3 service and diagnostic routines used in routine maintenance and repair.
SCPI command |
Description |
DIAGnostic |
|
[:INFOrmation] |
|
Returns the latest values acquired by ADC |
|
Returns a list of the calibration parameters |
|
Returns the information about all protections. |
|
Returns results of the most recent self-test |
5.3.1. DIAGnostic[:INFOrmation]:ADC?
Syntax |
DIAGnostic[:INFOrmation]:ADC? [<channel>] |
|||
Description |
This query returns the latest values acquired by ADC (Analog-to-Digital Converter) of the currently selected channel. |
|||
Parameters |
Name |
Type |
Range |
Default |
<channel> |
Channel |
CH1|CH2|CH3|CH4|CH5|CH6 |
n/a |
|
Return |
Return a list of quoted strings. The U_SET and I_SET are values measure on DAC outputs, and U_MON and I_SET on the channel output terminals. |
|||
Usage example |
DIAG:ADC? CH2 "U_SET=10.1202", "U_MON=10.12", "I_SET=3.00", "I_MON=1.23" |
|||
Related Commands |
MEASure[:SCALar]:CURRent[:DC] MEASure[:SCALar][:VOLTage][:DC] [SOURce[<n>]]:CURRent[:LEVel][:IMMediate][:AMPLitude] [SOURce[<n>]]:VOLTage[:LEVel][:IMMediate][:AMPLitude] |
5.3.2. DIAGnostic[:INFOrmation]:CALibration?
Syntax |
DIAGnostic[:INFOrmation]:CALibration? [<channel>] |
|||
Description |
This query returns a list of calibration parameters for the currently selected channel. If the selected channel is in the calibration mode (CALibration[:MODE] ON) then all calibration information collected to the current calibration step will be returned. Otherwise the calibration data stored in non-volatile memory will be returned. |
|||
Parameters |
Name |
Type |
Range |
Default |
<channel> |
Channel |
CH1|CH2|CH3|CH4|CH5|CH6 |
n/a |
|
Return |
The information will be returned as a list of quoted strings. |
|||
Usage example |
Calibration parameters for BB3 when the channel 2 is not in the calibration mode: DIAG:INFO:CAL? CH2 "remark=20200123 cert", "u_cal_params_exists=1", "u_min_level=0.15V", "u_min_data=0.08V", "u_min_adc=0.114V", "u_mid_level=20V", "u_mid_data=20.597V", "u_mid_adc=19.9685V", "u_max_level=38V", "u_max_data=39.192V", "u_max_adc=37.973V", "u_min_range=0V", "u_max_range=40V", "i_5A_cal_params_exists=1", "i_5A_min_level=0.05A", "i_5A_min_data=0.0405A", "i_5A_min_adc=0.03695A", "i_5A_mid_level=2.425A", "i_5A_mid_data=2.4757A", "i_5A_mid_adc=2.4125A", "i_5A_max_level=4.8A", "i_5A_max_data=4.9122A", "i_5A_max_adc=4.78855A", "i_5A_min_range=0A", "i_5A_max_range=5A", "i_50mA_cal_params_exists=1", "i_50mA_min_level=0.0005A", "i_50mA_min_data=0.00041A", "i_50mA_min_adc=0.000371A", "i_50mA_mid_level=0.02425A", "i_50mA_mid_data=0.02545A", "i_50mA_mid_adc=0.0240945A", "i_50mA_max_level=0.048A", "i_50mA_max_data=0.05052A", "i_50mA_max_adc=0.047887A", "i_50mA_min_range=0A", "i_50mA_max_range=0A" The query results when a channel is just entered the calibration mode: DIAG:INFO:CAL? "u_level=none", "i_level=none" The query results when a channel is at the step MIDdle of the voltage calibration: DIAG:INFO:CAL? "u_min=0.11V", "u_level=mid", "u_level_value=24.05V", "u_adc=24.14V", "i_level=none" |
|||
Related Commands |
CALibration:REMark CALibration:SAVE |
5.3.3. DIAGnostic[:INFOrmation]:PROTection?
Syntax |
DIAGnostic[:INFOrmation]:PROTection? |
Description |
This query returns information about all supported output protection mechanisms. |
Return |
The information will be returned as a list of quoted strings. |
Usage example |
DIAG:PROT? "CH1 u_tripped=0", "CH1 u_state=0", "CH1 u_type=1", "CH1 u_delay=5 ms", "CH1 u_level=38V", "CH1 i_tripped=0", "CH1 i_state=0", "CH1 i_delay=20 ms", "CH1 p_tripped=0", "CH1 p_state=0", "CH1 p_delay=10 s", "CH1 p_level=155W", "CH2 u_tripped=0", "CH2 u_state=0", "CH2 u_type=0", "CH2 u_delay=5 ms", "CH2 u_level=40V", "CH2 i_tripped=0", "CH2 i_state=0", "CH2 i_delay=20 ms", "CH2 p_tripped=0", "CH2 p_state=1", "CH2 p_delay=10 s", "CH2 p_level=155W" |
Related Commands |
[SOURce[<n>]]:CURRent:PROTection:DELay[:TIME] [SOURce[<n>]]:CURRent:PROTection:STATe [SOURce[<n>]]:CURRent:PROTection:TRIPped? [SOURce[<n>]]:POWer:PROTection [SOURce[<n>]]:POWer:PROTection:DELay[:TIME] [SOURce[<n>]]:POWer:PROTection:STATe [SOURce[<n>]]:POWer:PROTection:TRIPped? [SOURce[<n>]]:VOLTage:PROTection:DELay[:TIME] [SOURce[<n>]]:VOLTage:PROTection:STATe [SOURce[<n>]]:VOLTage:PROTection:TRIPped? SYSTem:TEMPerature:PROTection[:HIGH][:LEVel] SYSTem:TEMPerature:PROTection[:HIGH]:DELay[:TIME] SYSTem:TEMPerature:PROTection[:HIGH]:STATe SYSTem:TEMPerature:PROTection[:HIGH]:TRIPped? |
5.3.4. DIAGnostic[:INFOrmation]:TEST?
Syntax |
DIAGnostic[:INFOrmation]:TEST? [<resource>] |
|||
Description |
This query returns results of the most recent self-test (see *TST? Command) for all or specified resource. |
|||
Parameters |
Name |
Type |
Range |
Default |
<resource> |
Discrete |
EEProm|SDCard|ETHernet|RTC| DATEtime|FAN|AUXTemp| CH1Temp|CH2Temp|CH3Temp| CH4Temp|CH5Temp|CH6Temp| CH1|CH2|CH3|CH4|CH5|CH6|SLOT1|SLOT2|SLOT3 |
– |
|
Return |
The information will be returned in the following format: "<return code, device name, installed, return message>" where the return code could be one of the following values:
This information format will repeat with as many iterations as the number of devices found in configuration parameters of the BB3. |
|||
Usage example |
Return self-test results when SD card is not found: DIAG:TEST? "2, EEPROM, installed, passed", "2, SD card, installed, passed", "2, Ethernet, installed, passed", "2, RTC, installed, passed", "2, DateTime, installed, passed", "2, Fan, installed, passed", "2, AUX temp, installed, passed", "2, CH1 temp, installed, passed", "2, CH2 temp, installed, passed", "2, CH3 temp, installed, passed", "2, CH4 temp, installed, passed", "2, SLOT1, installed, passed", "2, SLOT2, installed, passed", "2, SLOT3, installed, passed"
Check status of specified device, e.g. channel 2: DIAG:TEST? CH2 2 |
|||
Related Commands |
*TST? SYSTem:CHANnel:OPTion? |