Loading…
Loading…
Method Name: meth_configure_i_o
Method ID: 0x48CE
Method Label: Inputs/Outputs
Method Help:
- {
- char status[3];
- long select;
- long step;
- long temp;
- char disp_string[100];
- char disp_string1[100];
- int slen;
- int slen1;
- int fault_setup_index;
- int choice;
- float floatFreqVal;
- float floatRateVal;
- float floatPulsesPerUnit;
- float floatUnitsPerPulse;
- int ScalingMethodChoice;
- select = 0;
- step = 0;
- slen = 100;
- slen1 = 100;
- fault_setup_index = 0;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- ACKNOWLEDGE(literal_string(1184));
- do {
- switch (step)
- {
- case 0:
- _get_dictionary_string(858981312,disp_string,slen);
- _MenuDisplay(18613,disp_string,literal_string(1232));
- step++;
- _iassign(16686,0);
- _iassign(16687,3);
- send(211,status);
- if (status[0])
- {
- display_response_status(211,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- DELAY(2,literal_string(1244));
- break;
- case 1:
- _get_dictionary_string(858981313,disp_string,slen);
- temp = _MenuDisplay(18614,disp_string,literal_string(1232));
- if (select == 0)
- {
- step--;
- }
- if (select == 1)
- {
- step++;
- }
- send(211,status);
- if (status[0])
- {
- display_response_status(211,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- DELAY(2,literal_string(1244));
- break;
- case 2:
- _get_dictionary_string(858981313,disp_string,slen);
- temp = _MenuDisplay(18615,disp_string,literal_string(1232));
- if (select == 0)
- {
- step--;
- }
- if (select == 1)
- {
- step++;
- }
- send(211,status);
- if (status[0])
- {
- display_response_status(211,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- DELAY(2,literal_string(1244));
- break;
- case 3:
- _get_dictionary_string(858981313,disp_string,slen);
- temp = _MenuDisplay(18781,disp_string,literal_string(1232));
- if (select == 0)
- {
- step--;
Please login for more