Loading…
Loading…
Method Name: meth_configure_i_o
Method ID: 0x4381
Method Label: Configure Inputs/Outputs
Method Help:
- {
- char status[3];
- long select;
- long step;
- long temp;
- char disp_string[100];
- int slen;
- float hz_rate;
- float hz_freq;
- float yatemp;
- float mult;
- float floatFreqVal;
- float floatRateVal;
- long var_id[1];
- int unitType;
- char unitCode;
- int choice;
- select = 0;
- step = 0;
- slen = 100;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- do {
- switch (step)
- {
- case 0:
- _get_dictionary_string(858981313,disp_string,slen);
- temp = _MenuDisplay(17282,disp_string,literal_string(180));
- if (select == 0)
- {
- step--;
- }
- if (select == 1)
- {
- step++;
- }
- send(51,status);
- if (status[0])
- {
- display_response_status(51,status[0]);
- _get_dictionary_string(858981483,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- send(50,status);
- _get_dictionary_string(858981294,disp_string,slen);
- DELAY(2,disp_string);
- break;
- case 1:
- send(15,status);
- if (status[0])
- {
- display_response_status(15,status[0]);
- _get_dictionary_string(858981483,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- send(63,status);
Please login for more