set_emi_correction
Edit EMI correction (antenna/cable) factor slots by setting frequency/gain points, enabling or clearing corrections, or turning all slots off on a UNI-T UTS analyzer.
Instructions
Edit an EMI correction (antenna/cable) factor set. EMI module must be active (select_instrument_module). Give slot plus any of: points (replaces the whole point list; 1 to 10 points in ascending frequency order, each with frequency_hz and gain_db), enabled (on/off), or delete (clears this slot's points; not combined with points). Or give all_off (turns every slot off) or delete_all (clears every slot's points) alone, without slot. The slot (or slot 1, for all_off/delete_all) is re-read afterwards; anything the instrument did not take is reported in 'warnings'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_emi_correction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Required unless all_off or delete_all is the only action given | |
| delete | No | Clear this slot's points (sent before points/enabled) | |
| points | No | Replace slot's whole point list: 1 to 10 points in ascending frequency order | |
| all_off | No | Turn off every correction slot's enabled state (:CSET:ALL:STATe OFF); exclusive of slot/points/enabled/delete/delete_all | |
| enabled | No | Turn this slot's correction on/off | |
| delete_all | No | Clear every correction slot's points (:CSET:ALL:DELete); exclusive of slot/points/enabled/delete/all_off | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured |