arc_sensing_enable(daq_channel, probe_ratio, max_correction)
Features
This command enables the Arc sensing function.
Parameter
Parameter Name | Data Type | Default Value | Description |
|---|---|---|---|
| daq_channel | unsigned char | 1 | Port number to which the current sensor will be connected to the DAQ |
| probe_ratio | double | 1 | The ratio of converting current signals to voltage output in a current sensor value: more than 0 |
| max_correction | double[2] | [50, 50] | Maximum correction amount value: 0~100 |
Return
| Value | Description |
|---|---|
0 | Setting success |
| Minus value | Setting fail |
Exception
| Exception | Description |
|---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data error |
DR_Error (DR_ERROR_VALUE) | Invalid parameter value |
DR_Error (DR_ERROR_RUNTIME) | C Extension module error |
DR_Error (DR_ERROR_STOP) | Program terminated forcibly |
Example
arc_sensing_enable(daq_channel = 1, probe_ratio = 1, max_correction = [50,50])