Loading…

Method Name: meth_setup_mA_output_1

Method ID: 0x43ED

Method Label: mA Outputs

Method Help:


  • {
  • char status[3];
  • long select;
  • long primary_var[1];
  • long sec_var[1];
  • long step;
  • long step1;
  • long temp;
  • char disp_string[100];
  • int slen;
  • int value;
  • 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);
  • send(50,status);
  • ACKNOWLEDGE(literal_string(544));
  • value = _ivar_value(4048);
  • dev_var_1 = value;
  • primary_var[0] = 19411;
  • _get_dev_var_value(literal_string(604),primary_var,19412);
  • if (_ivar_value(19412) != 111)
  • {
  • _iassign(4048,dev_var);
  • }
  • 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();
  • }
  • _get_dictionary_string(858981294,disp_string,slen);
  • DELAY(2,disp_string);
  • do {
  • switch (step)
  • {
  • case 0:
  • send(15,status);
  • if (status[0])
  • {
  • display_response_status(15,status[0]);
  • _get_dictionary_string(858587163,disp_string,slen);
  • DELAY(2,disp_string);
  • process_abort();
  • }
  • send(63,status);
  • if (status[0])
  • {


Please login for more