Loading…
Loading…
Method Name: alarm1_test_method
Method ID: 0x40D5
Method Label: Alarm 1 Test
Method Help: Pressing the ENTER key will toggle the Alarm 1 output open and closed.
- {
- char status[3];
- int choice;
- int abort_method;
- long var_id[1];
- abort_method = 0;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- do {
- choice = SELECT_FROM_LIST(literal_string(605),literal_string(565));
- switch (choice)
- {
- case 0:
- _iassign(16733,3);
- send(185,status);
- if (status[0] == 7)
- {
- display_response_status(185,status[0]);
- DELAY(2,literal_string(566));
Please login for more