Loading…
Loading…
Method Name: ViewHistory_method
Method ID: 0x416A
Method Label: View History
Method Help: Displays current status and run time as well as a history of most recent faults and warnings. For each event, the run time when the event occurred and the duration of the event are shown. The run time is the time since power up or a history reset.
- {
- char status[3];
- long var_id[7];
- char run_units;
- char occur_units;
- char dur_units;
- int stat_event;
- int key_selected;
- float runtime;
- float timeoccurred;
- float duration;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(32,1);
- var_id[0] = 16473;
- var_id[1] = 16474;
- var_id[2] = 16477;
- var_id[3] = 16475;
- var_id[4] = 16478;
- var_id[5] = 16476;
- var_id[6] = 16479;
Please login for more