Loading…
Loading…
Method Name: check_conf_history
Method ID: 0x4140
Method Label: Config History
Method Help: Allows to check the configuration history. Select the parameter number to read history stored under it.Parameter 1 gives the latest history and Parameter 5 gives the oldest.
- {
- char status[3];
- long temp_int_val;
- long temp_flt_1;
- long temp_flt_2;
- long temp_flt_3;
- long temp_flt_4;
- float temp_float_val;
- unsigned char i_cntr;
- unsigned char my_char;
- int abc;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- if (conf_histoy_code < 1 || conf_histoy_code > 5)
- {
- conf_histoy_code = 1;
- }
- do {
- _get_dev_var_value(literal_string(1201),0,16452);
- send_command(177);
- if (conf_histoy_code >= 1 && conf_histoy_code <= 5)
- {
- send_trans(178,0,status);
- _vassign(16432,16430);
- if (_ivar_value(16432) == 1 || _ivar_value(16432) == 3 || _ivar_value(16432) == 9 || _ivar_value(16432) == 10 || _ivar_value(16432) == 11 || _ivar_value(16432) == 14 || _ivar_value(16432) == 16 || _ivar_value(16432) == 20)
- {
- send_command_trans(178,2);
- }
- else
- if (_ivar_value(16432) == 0 || _ivar_value(16432) == 2)
- {
Please login for more