Loading…
Loading…
Method Name: applied_rerange
Method ID: 0x1007
Method Label: Input Capture
Method Help: Applied values- Perform a device rerange by applying the desired Upper Range Value and Lower Range Values to the device input
- {
- char status[3];
- char disp_string1[60];
- char disp_string2[60];
- long varid[3];
- int choice;
- int slen1;
- int slen2;
- int wSmartRanging;
- int wContinue;
- slen1 = 60;
- slen2 = 60;
- wContinue = 1;
- _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_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _add_abort_method(4118);
- send_command(128);
- wSmartRanging = _ivar_value(16384);
- if (wSmartRanging != 0)
- {
- choice = SELECT_FROM_LIST(literal_string(314),literal_string(287));
- if (choice)
- {
- _iassign(16384,0);
- send(129,status);
- if (status[0])
- {
- display_response_status(37,status[0]);
- DELAY(3,literal_string(301));
- process_abort();
- }
- else
- {
- _remove_abort_method(4118);
- if (wSmartRanging == 1)
- {
- _add_abort_method(16385);
- }
Please login for more