Loading…

Method Name: loop_test_method

Method ID: 0x4128

Method Label: Loop Test

Method Help: Loop test outputs dummy analog output from the AVP307 to upper system for the functional check.


  • {
  • char status[3];
  • int choice;
  • int tmp_mode;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • send(196,status);
  • if (status[0])
  • {
  • display_response_status(196,status[0]);
  • DELAY(3,literal_string(1147));
  • process_abort();
  • }
  • tmp_mode = _ivar_value(16391);
  • if (tmp_mode != 0)
  • {
  • ACKNOWLEDGE(literal_string(1148));
  • process_abort();
  • }


Please login for more