Loading…
Loading…
Method Name: write_protect_method
Method ID: 0x279B
Method Label: Change SW Write Protect
Method Help: Change Software Write Protect- Selects either 'Yes' or 'No'.
- {
- int result;
- int write_protect_value;
- char status[3];
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- send(214,status);
- if (status[0])
- {
- display_response_status(214,status[0]);
- DELAY(3,literal_string(572));
- process_abort();
- }
- write_protect_value = _ivar_value(16435);
- if (write_protect_value == 1)
- {
- ACKNOWLEDGE(literal_string(574));
- process_abort();
- }
- result = SELECT_FROM_LIST(literal_string(575),literal_string(576));
Please login for more