301 lines
6.1 KiB
JSON
301 lines
6.1 KiB
JSON
{
|
|
"name": "Elite_TRI",
|
|
"version": "1.2.30",
|
|
"match_rule": {
|
|
"local_name_pattern": "Trigger.*",
|
|
"major_product_number": 0,
|
|
"minor_product_number": 5,
|
|
"major_version_number": 1,
|
|
"minor_version_number": 0
|
|
},
|
|
"constant": {
|
|
|
|
},
|
|
"parameters": {
|
|
"ACC_a_out0": {
|
|
"description": "Switch of analog current channel 1",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
0,
|
|
1
|
|
],
|
|
"on_change": "set_para_AOUT0"
|
|
},
|
|
"ACC_a_out0_current": {
|
|
"description": "current value of analog current channel 1",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"domain": [
|
|
50001
|
|
],
|
|
"value": {
|
|
"expression": "VALUE"
|
|
},
|
|
"on_change": "set_para_AOUT0"
|
|
},
|
|
"ACC_a_out1": {
|
|
"description": "Switch of analog current channel 2",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
0,
|
|
1
|
|
],
|
|
"on_change": "set_para_AOUT1"
|
|
},
|
|
"ACC_a_out1_current": {
|
|
"description": "current value of analog current channel 2",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"domain": [
|
|
50001
|
|
],
|
|
"value": {
|
|
"expression": "VALUE"
|
|
},
|
|
"on_change": "set_para_AOUT1"
|
|
},
|
|
"ACC_a_out2": {
|
|
"description": "Switch of analog current channel 3",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
0,
|
|
1
|
|
],
|
|
"on_change": "set_para_AOUT2"
|
|
},
|
|
"ACC_a_out2_current": {
|
|
"description": "current value of analog current channel 3",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"domain": [
|
|
50001
|
|
],
|
|
"value": {
|
|
"expression": "VALUE"
|
|
},
|
|
"on_change": "set_para_AOUT2"
|
|
},
|
|
"ACC_a_out3": {
|
|
"description": "Switch of current channel 4",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
0,
|
|
1
|
|
],
|
|
"on_change": "set_para_AOUT3"
|
|
},
|
|
"ACC_a_out3_current": {
|
|
"description": "current value of analog current channel 4",
|
|
"record_meta": true,
|
|
"initial":0,
|
|
"domain": [
|
|
50001
|
|
],
|
|
"value": {
|
|
"expression": "VALUE"
|
|
},
|
|
"on_change": "set_para_AOUT3"
|
|
},
|
|
"TRIG0_en": {
|
|
"description": "Switch of current channel 4",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"TRIG1_en": {
|
|
"description": "Switch of current channel 4",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"TRIG0_edge_type": {
|
|
"description": "Switch of current channel 4",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
"RISING",
|
|
"FALLING",
|
|
"BOTH"
|
|
]
|
|
},
|
|
"TRIG1_edge_type": {
|
|
"description": "Switch of current channel 4",
|
|
"record_meta": true,
|
|
"initial": 0,
|
|
"value": [
|
|
"RISING",
|
|
"FALLING",
|
|
"BOTH"
|
|
]
|
|
},
|
|
"MODE": {
|
|
"description": "working mode",
|
|
"record_meta": true,
|
|
"value": [
|
|
"Analog Current Control (ACC)"
|
|
]
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"CHANNEL": {
|
|
"description": "delete it",
|
|
"record_meta": true,
|
|
"domain": "property",
|
|
"value": "[0, 1, 2]"
|
|
},
|
|
"CHANNEL_LABEL": {
|
|
"description": "delete it",
|
|
"record_meta": true,
|
|
"domain": "property",
|
|
"value": "['current', 'voltage', 'impedance']"
|
|
},
|
|
"SAMPLE_RATE": {
|
|
"description": "delete it",
|
|
"record_meta": true,
|
|
"initial": 1000,
|
|
"domain": [
|
|
1001
|
|
],
|
|
"value": {
|
|
"expression": "VALUE"
|
|
},
|
|
"on_change": "set_sample_rate"
|
|
},
|
|
"AMP_GAIN": {
|
|
"description": "delete it",
|
|
"record_meta": true,
|
|
"domain": "constant",
|
|
"value": 1
|
|
}
|
|
},
|
|
"instruction": {
|
|
"start": [
|
|
{
|
|
"expression": "MODE",
|
|
"when": {
|
|
"*": "start_data"
|
|
}
|
|
}
|
|
],
|
|
"start_data": [
|
|
"data_format",
|
|
"_notify(True)",
|
|
{
|
|
"expression": "MODE",
|
|
"when": {
|
|
"0": "set_aout_chan_en"
|
|
}
|
|
},
|
|
{
|
|
"expression": "MODE",
|
|
"when": {
|
|
"0": "set_TRIG_EN"
|
|
}
|
|
},
|
|
{
|
|
"expression": "MODE",
|
|
"when": {
|
|
"0": "curve_acc"
|
|
}
|
|
},
|
|
"_sync(True)",
|
|
"VIS_STI"
|
|
],
|
|
"data_format": [
|
|
"_data_format('I4V4Z4T4')",
|
|
{
|
|
"expression": "MODE",
|
|
"when": {
|
|
"0": "_disable_cache(True)",
|
|
"1": "_disable_cache(True)",
|
|
"*": "_disable_cache(False)"
|
|
}
|
|
}
|
|
],
|
|
"dev_version": [
|
|
"CIS_VERSION",
|
|
"_cdr('20X>ADC_VALUE_I')"
|
|
],
|
|
"dev_battery": [
|
|
"CIS_VOLT",
|
|
"_cdr('20X>ADC_VALUE_I')"
|
|
],
|
|
"curve_acc": {
|
|
"type": "RIS",
|
|
"parameter": {
|
|
"va": "ACC_a_out0_current",
|
|
"vb": "ACC_a_out1_current",
|
|
"vc": "ACC_a_out2_current",
|
|
"vd": "ACC_a_out3_current"
|
|
},
|
|
"data": [
|
|
"X0E;",
|
|
"2B>va;2B>vb;2B>vc;2B>vd"
|
|
]
|
|
},
|
|
"set_aout_chan_en": {
|
|
"type": "RIS",
|
|
"parameter": {
|
|
"va": "ACC_a_out0",
|
|
"vb": "ACC_a_out1",
|
|
"vc": "ACC_a_out2",
|
|
"vd": "ACC_a_out3"
|
|
},
|
|
"data": [
|
|
"X81;X02;",
|
|
"4b>va;4b>vb;4b>vc;4b>vd"
|
|
]
|
|
},
|
|
"set_TRIG_EN": {
|
|
"type": "RIS",
|
|
"parameter": {
|
|
"va": "TRIG0_en",
|
|
"vb": "TRIG1_en",
|
|
"vc": "TRIG0_edge_type",
|
|
"vd": "TRIG1_edge_type"
|
|
},
|
|
"data": [
|
|
"X41;",
|
|
"4b>va;4b>vb;4b>vc;4b>vd"
|
|
]
|
|
},
|
|
"set_para_AOUT0": {
|
|
"type": "RIS",
|
|
"data": [
|
|
"XE2;X02;X00;2B>ACC_a_out0_current;1B>ACC_a_out0"
|
|
]
|
|
},
|
|
"set_para_AOUT1": {
|
|
"type": "RIS",
|
|
"data": [
|
|
"XE2;X02;X01;2B>ACC_a_out1_current;1B>ACC_a_out1"
|
|
]
|
|
},
|
|
"set_para_AOUT2": {
|
|
"type": "RIS",
|
|
"data": [
|
|
"XE2;X02;X02;2B>ACC_a_out2_current;1B>ACC_a_out2"
|
|
]
|
|
},
|
|
"set_para_AOUT3": {
|
|
"type": "RIS",
|
|
"data": [
|
|
"XE2;X02;X03;2B>ACC_a_out3_current;1B>ACC_a_out3"
|
|
]
|
|
}
|
|
}
|
|
}
|