[update] add cp mode
This commit is contained in:
@@ -887,6 +887,9 @@ class I4V4Z4T4DataDecoder(RecDataDecoder):
|
||||
current = struct.unpack('<i', data[8:12])[0] # unit: nA
|
||||
voltage = struct.unpack('<i', data[12:16])[0] # unit: uV
|
||||
impedance = struct.unpack('<i', data[16:20])[0] # unit: mOm
|
||||
if self._mode == 16:
|
||||
voltage = impedance - voltage
|
||||
|
||||
cycle_number = struct.unpack('<H', data[20:22])[0]
|
||||
finish_mode_falg = data[22]
|
||||
battery = struct.unpack('<i', data[23:27])[0]
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"DPV_e_init": {
|
||||
"description": "DPV initial voltage ",
|
||||
"record_meta": true,
|
||||
"initial":20000,
|
||||
"initial": 20000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -28,7 +28,7 @@
|
||||
"DPV_e_final": {
|
||||
"description": "DPV final voltage",
|
||||
"record_meta": true,
|
||||
"initial":30000,
|
||||
"initial": 30000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -39,7 +39,7 @@
|
||||
"DPV_e_1": {
|
||||
"description": "DPV voltage return 1",
|
||||
"record_meta": true,
|
||||
"initial":35000,
|
||||
"initial": 35000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -50,7 +50,7 @@
|
||||
"DPV_e_2": {
|
||||
"description": "DPV voltage return 2",
|
||||
"record_meta": true,
|
||||
"initial":15000,
|
||||
"initial": 15000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -61,7 +61,7 @@
|
||||
"DPV_amp": {
|
||||
"description": "DPV pulse amplitude",
|
||||
"record_meta": true,
|
||||
"initial":25125,
|
||||
"initial": 25125,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -72,7 +72,7 @@
|
||||
"DPV_pul_width": {
|
||||
"description": "DPV pulse width",
|
||||
"record_meta": true,
|
||||
"initial":50,
|
||||
"initial": 50,
|
||||
"domain": [
|
||||
1000001
|
||||
],
|
||||
@@ -83,7 +83,7 @@
|
||||
"DPV_increment": {
|
||||
"description": "DPV increment",
|
||||
"record_meta": true,
|
||||
"initial":25025,
|
||||
"initial": 25025,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -94,7 +94,7 @@
|
||||
"DPV_step_time": {
|
||||
"description": "DPV step time = time of one period",
|
||||
"record_meta": true,
|
||||
"initial":500,
|
||||
"initial": 500,
|
||||
"domain": [
|
||||
1000001
|
||||
],
|
||||
@@ -105,7 +105,7 @@
|
||||
"DPV_notify_rate": {
|
||||
"description": "DPV sample rate",
|
||||
"record_meta": true,
|
||||
"initial":1000,
|
||||
"initial": 1000,
|
||||
"domain": [
|
||||
1001
|
||||
],
|
||||
@@ -116,7 +116,7 @@
|
||||
"DPV_curr_rec_min": {
|
||||
"description": "DPV current recording period start",
|
||||
"record_meta": true,
|
||||
"initial":25,
|
||||
"initial": 25,
|
||||
"domain": [
|
||||
101
|
||||
],
|
||||
@@ -127,7 +127,7 @@
|
||||
"DPV_curr_rec_max": {
|
||||
"description": "DPV current recording period end",
|
||||
"record_meta": true,
|
||||
"initial":100,
|
||||
"initial": 100,
|
||||
"domain": [
|
||||
101
|
||||
],
|
||||
@@ -166,7 +166,7 @@
|
||||
"V_initial_0": {
|
||||
"description": "Pulse Mode Segment Voltage 0",
|
||||
"record_meta": true,
|
||||
"initial":50000,
|
||||
"initial": 50000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -177,7 +177,7 @@
|
||||
"V_initial_1": {
|
||||
"description": "Pulse Mode Segment Voltage 1",
|
||||
"record_meta": true,
|
||||
"initial":25000,
|
||||
"initial": 25000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -188,7 +188,7 @@
|
||||
"V_initial_2": {
|
||||
"description": "Pulse Mode Segment Voltage 2",
|
||||
"record_meta": true,
|
||||
"initial":25000,
|
||||
"initial": 25000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -199,7 +199,7 @@
|
||||
"V_initial_3": {
|
||||
"description": "Pulse Mode Segment Voltage 3",
|
||||
"record_meta": true,
|
||||
"initial":25000,
|
||||
"initial": 25000,
|
||||
"domain": [
|
||||
50001
|
||||
],
|
||||
@@ -210,7 +210,7 @@
|
||||
"t_pulse_0": {
|
||||
"description": "Pulse Mode Segment Duration 0",
|
||||
"record_meta": true,
|
||||
"initial":750,
|
||||
"initial": 750,
|
||||
"domain": [
|
||||
1000001
|
||||
],
|
||||
@@ -221,7 +221,7 @@
|
||||
"t_pulse_1": {
|
||||
"description": "Pulse Mode Segment Duration 1",
|
||||
"record_meta": true,
|
||||
"initial":9250,
|
||||
"initial": 9250,
|
||||
"domain": [
|
||||
1000001
|
||||
],
|
||||
@@ -232,7 +232,7 @@
|
||||
"t_pulse_2": {
|
||||
"description": "Pulse Mode Segment Duration 2",
|
||||
"record_meta": true,
|
||||
"initial":1000,
|
||||
"initial": 1000,
|
||||
"domain": [
|
||||
1000001
|
||||
],
|
||||
@@ -243,7 +243,7 @@
|
||||
"t_pulse_3": {
|
||||
"description": "Pulse Mode Segment Duration 3",
|
||||
"record_meta": true,
|
||||
"initial":1000,
|
||||
"initial": 1000,
|
||||
"domain": [
|
||||
1000001
|
||||
],
|
||||
@@ -254,7 +254,7 @@
|
||||
"CURR_REC_START_0": {
|
||||
"description": "Pulse Mode Current Recording Period Start",
|
||||
"record_meta": true,
|
||||
"initial":35,
|
||||
"initial": 35,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -265,7 +265,7 @@
|
||||
"CURR_REC_START_1": {
|
||||
"description": "Pulse Mode Current Recording Period Start",
|
||||
"record_meta": true,
|
||||
"initial":35,
|
||||
"initial": 35,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -276,7 +276,7 @@
|
||||
"CURR_REC_START_2": {
|
||||
"description": "Pulse Mode Current Recording Period Start",
|
||||
"record_meta": true,
|
||||
"initial":35,
|
||||
"initial": 35,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -287,7 +287,7 @@
|
||||
"CURR_REC_START_3": {
|
||||
"description": "Pulse Mode Current Recording Period Start",
|
||||
"record_meta": true,
|
||||
"initial":35,
|
||||
"initial": 35,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -298,7 +298,7 @@
|
||||
"CURR_REC_END_0": {
|
||||
"description": "Pulse Mode Current Recording Period End",
|
||||
"record_meta": true,
|
||||
"initial":90,
|
||||
"initial": 90,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -309,7 +309,7 @@
|
||||
"CURR_REC_END_1": {
|
||||
"description": "Pulse Mode Current Recording Period End",
|
||||
"record_meta": true,
|
||||
"initial":99,
|
||||
"initial": 99,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -320,7 +320,7 @@
|
||||
"CURR_REC_END_2": {
|
||||
"description": "Pulse Mode Current Recording Period End",
|
||||
"record_meta": true,
|
||||
"initial":95,
|
||||
"initial": 95,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -331,7 +331,7 @@
|
||||
"CURR_REC_END_3": {
|
||||
"description": "Pulse Mode Current Recording Period End",
|
||||
"record_meta": true,
|
||||
"initial":95,
|
||||
"initial": 95,
|
||||
"domain": [
|
||||
100
|
||||
],
|
||||
@@ -478,13 +478,14 @@
|
||||
"Constant Current",
|
||||
"Cyclic Voltammetry",
|
||||
"Linear Sweep Voltammetry",
|
||||
"Chronoamperometric Graph",
|
||||
"Chronoamperometric",
|
||||
"Cali DAC - test",
|
||||
"Cali ADC - test",
|
||||
"Dev Mode",
|
||||
"Open Circuit Potential",
|
||||
"Pulse Sensing",
|
||||
"Differential Pulse Voltammetry (DPV)"
|
||||
"Differential Pulse Voltammetry (DPV)",
|
||||
"Chronopotentiometry"
|
||||
]
|
||||
},
|
||||
"VOLT_ORIGIN": {
|
||||
@@ -644,7 +645,7 @@
|
||||
},
|
||||
"CURRNET_LIMIT_VALUE": {
|
||||
"description": "Current value Setting",
|
||||
"initial":1500000,
|
||||
"initial": 1500000,
|
||||
"domain": [
|
||||
"Const_Current_Range"
|
||||
],
|
||||
@@ -812,7 +813,8 @@
|
||||
"7": "set_adc_gain_I",
|
||||
"8": "set_adc_gain_I",
|
||||
"9": "set_adc_gain_I",
|
||||
"13": "set_adc_gain_I"
|
||||
"13": "set_adc_gain_I",
|
||||
"16": "set_adc_gain_I"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -827,7 +829,8 @@
|
||||
"7": "set_adc_gain_Vin",
|
||||
"8": "set_adc_gain_Vin",
|
||||
"9": "set_adc_gain_Vin",
|
||||
"13": "set_adc_gain_Vin"
|
||||
"13": "set_adc_gain_Vin",
|
||||
"16": "set_adc_gain_Vin"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -845,7 +848,8 @@
|
||||
"9": "curve_const_vscan",
|
||||
"13": "curve_ocp",
|
||||
"14": "curve_pulse_sensing",
|
||||
"15": "curve_dpv"
|
||||
"15": "curve_dpv",
|
||||
"16": "curve_const_vscan"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1313,9 +1317,7 @@
|
||||
"2B>va;4B>vb;1B>vc;1B>vd;1B>ve"
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
"curve_dpv":[
|
||||
"curve_dpv": [
|
||||
{
|
||||
"expression": "DPV_mode",
|
||||
"when": {
|
||||
@@ -1388,9 +1390,6 @@
|
||||
"4b>pc;4b>pd"
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
|
||||
"dpv_advanced_mode": [
|
||||
"dpv_advanced_mode_ins_1",
|
||||
"dpv_advanced_mode_ins_2",
|
||||
@@ -1484,8 +1483,6 @@
|
||||
"dpv_engineering_mode_advanced": [
|
||||
"dpv_advanced_mode"
|
||||
],
|
||||
|
||||
|
||||
"VIS_CC_ZERO": [
|
||||
"_data_format('I4V4Z4T4')",
|
||||
"_disable_cache(False)",
|
||||
@@ -1526,6 +1523,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user