Loading…

Method Name: analog_dac_trim

Method ID: 0x100A

Method Label: D/A trim Analog Output

Method Help: Calibration of a selected output with an external reference.


  • {
  • char status[3];
  • char disp_string1[60];
  • char disp_string2[60];
  • long var_id[3];
  • int retry;
  • int slen1;
  • int slen2;
  • 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);
  • _get_dictionary_string(19726371,disp_string1,slen1);
  • _get_dev_var_value(disp_string1,0,16844);
  • _iassign(4189,_ivar_value(16844));
  • _iassign(4190,_ivar_value(16844));
  • var_id[0] = resolve_record_ref(resolve_record_ref(resolve_array_ref(172,_ivar_value(4189)),213),193);


Please login for more