Loading…

Method Name: AnalogDacTrimMethod2

Method ID: 0x4139

Method Label: Trim analog output 2

Method Help: Digital para ajuste analógico- Permite a calibração da saída analógica selecionada com uma referência externa nos endpoints de operação da saída analógica


  • {
  • char acStatus[3];
  • char disp_string1[60];
  • char disp_string2[60];
  • long Varid[3];
  • int retry;
  • int wLoop;
  • int wChoice;
  • int slen1;
  • int slen2;
  • int xflag;
  • slen1 = 60;
  • slen2 = 60;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _get_dictionary_string(19726337,disp_string1,slen1);
  • ACKNOWLEDGE(disp_string1);
  • _add_abort_method(4118);
  • _get_dictionary_string(19726353,disp_string1,slen1);
  • ACKNOWLEDGE(disp_string1);
  • wLoop = 4;
  • _iassign(16614,wLoop);
  • Varid[0] = resolve_record_ref(resolve_array_ref(16592,_ivar_value(16614)),193);
  • _get_dictionary_string(19726343,disp_string1,slen1);
  • ACKNOWLEDGE(disp_string1);
  • _fassign(resolve_record_ref(resolve_array_ref(16592,cAnalogChannelIndex),193),4.0);
  • do {
  • send(221,acStatus);
  • if (!(acStatus[0] == 0 || (acStatus[0] == 33 || acStatus[0] == 34)))
  • {


Please login for more