Loading…

Method Name: ejx_method_set_diag_mode

Method ID: 0x4140

Method Label: Set Diag Mode

Method Help:


  • {
  • int dm;
  • char status[3];
  • { _set_all_resp_code(0); _set_device_status(0xFF,0); _set_xmtr_device_status(0xFF,0); _set_xmtr_all_resp_code(0); };
  • send_command( 198 );
  • dm = SELECT_FROM_LIST( BUILD_MESSAGE("|en|Current Diag Mode is : %{diag_mode}\nSelect Diag Mode"),"|en|Stop;Calculation;Reference" );
  • if( (dm >= 0)&&(dm <= 2) ) {
  • _iassign(16699,(dm ));
  • send_trans( 199, 0, status );
  • if( status[0] ) {
  • display_response_status( 199, status[0] );
  • abort();
  • }


Please login for more