Loading…

Method Name: xmtr_dac_trim

Method ID: 0x41E1

Method Label: D/A trim

Method Help: Digital to Analog Trim- Allows the calibration of a selected Analog Output with an external reference at the operating endpoints of the Analog Output


  • {
  • char status[3];
  • char disp_string1[60];
  • char disp_string2[60];
  • int retry;
  • int slen1;
  • int slen2;
  • int var_id[1];
  • slen1 = 60;
  • slen2 = 60;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(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);
  • _get_dictionary_string(19726343,disp_string1,slen1);
  • ACKNOWLEDGE(disp_string1);
  • analog_channel_number_code = DACDisplayCode;
  • _iassign(resolve_record_ref(resolve_record_ref(resolve_array_ref(16399,analog_channel_number_code),213),193),4.0);
  • calSensorId = 248 + DACDisplayCode;


Please login for more