Loading…

Method Name: meth_configure_i_o

Method ID: 0x43E6

Method Label: Inputs/Outputs

Method Help: Configure channels, inputs, outputs, map variables, and communication settings.


  • {
  • char status[3];
  • long select;
  • long step;
  • long temp;
  • char disp_string[100];
  • int slen;
  • int connection_choice;
  • float A11;
  • float A12;
  • 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);
  • ACKNOWLEDGE(literal_string(581));
  • do {
  • switch (step)
  • {
  • case 0:
  • _get_dictionary_string(858981312,disp_string,slen);
  • temp = _MenuDisplay(17383,disp_string,literal_string(631));
  • step++;
  • send(51,status);
  • if (status[0])
  • {
  • display_response_status(51,status[0]);
  • _get_dictionary_string(858587163,disp_string,slen);
  • DELAY(2,disp_string);
  • process_abort();
  • }
  • send(50,status);
  • DELAY(2,literal_string(633));
  • break;
  • case 1:
  • _get_dictionary_string(858981313,disp_string,slen);
  • temp = _MenuDisplay(17384,disp_string,literal_string(631));
  • connection_choice = _ivar_value(16391);
  • if (select == 0)
  • {
  • step--;
  • }
  • if (select == 1)
  • {
  • step++;
  • }


Please login for more