Loading…

Method Name: TestRelayAMethod

Method ID: 0x420A

Method Label: Test Relay A

Method Help: Method to test Relay A.


  • {
  • char acStatus[3];
  • char acDispString[60];
  • long var_id[1];
  • int wSlen;
  • int wChoice;
  • wSlen = 60;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • ACKNOWLEDGE("|en|Relay A should be removed from automatic control." );
  • _add_abort_method(16907);
  • wChoice = SELECT_FROM_LIST("|en|Do you want to test Relay A?","|en|No;Yes" );
  • if( wChoice == 0 )
  • {
  • DELAY( 2,"|en|Aborting test." );
  • process_abort();


Please login for more