Loading…
Loading…
Method Name: open_contact_output_method
Method ID: 0x406A
Method Label: Open
Method Help: Open- Simulates the contact output. Select [Open] to put the device in simulation mode, with contact output circuit is open.
- {
- char status[3];
- char disp_string[60];
- int slen;
- int choice;
- slen = 60;
- choice = 0;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _get_dictionary_string(19726337,disp_string,slen);
- ACKNOWLEDGE(disp_string);
- _add_abort_method(4118);
- ACKNOWLEDGE(literal_string(589));
- _remove_abort_method(4118);
- _add_abort_method(16492);
- while (choice == 0)
- {
- _iassign(16398,2);
- send(210,status);
- if (status[0])
Please login for more