Loading…

Method Name: PrimaryAnalogOutputTrimZero_Method

Method ID: 0x40D3

Method Label: PV A/O Trim Zero

Method Help: Set the Primary Analog Output Trim Zero value.


  • {
  • int locValue;
  • int locStatusAlreadyDisplayed;
  • locStatusAlreadyDisplayed = 0;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _add_abort_method(16643);
  • locValue = SELECT_FROM_LIST(literal_string(587),literal_string(588));
  • if (locValue)
  • {
  • DELAY(2,literal_string(589));
  • }
  • else
  • {
  • _iassign(4068,1);
  • _fassign(resolve_record_ref(resolve_array_ref(172,_ivar_value(4068)),193),4);
  • send_command(66);
  • locValue = _ivar_value(151);
  • if (locValue)
  • {
  • if (locValue & 0x80)
  • {
  • DELAY(2,literal_string(590));
  • remove_all_abort();
  • _add_abort_method(16640);
  • _add_abort_method(16643);
  • abort();
  • }
  • if (locValue & 0x01)
  • {
  • DELAY(2,literal_string(590));
  • remove_all_abort();
  • _add_abort_method(16640);
  • _add_abort_method(16643);
  • abort();
  • }
  • if (locValue & 0x04)
  • {
  • DELAY(2,literal_string(590));
  • remove_all_abort();
  • _add_abort_method(16640);


Please login for more