Loading…
Loading…
Method Name: dac_trim
Method ID: 0x1004
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
- {
- int retry;
- char status[3];
- long var_ids[2];
- long x;
- char disp_string1[60];
- char disp_string2[60];
- int slen1;
- int slen2;
- slen1 = 60;
- slen2 = 60;
- _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);
- _fassign(resolve_record_ref(resolve_array_ref(172,1),193),4.0);
- send(40,status);
- retry = 0;
- if (status[0] != 0 && status[0] != 1)
- {
- display_response_status(40,status[0]);
- _get_dictionary_string(19726342,disp_string1,slen1);
- DELAY(2,disp_string1);
- process_abort();
- }
- _remove_abort_method(4118);
- _add_abort_method(4099);
- var_ids[0] = resolve_record_ref(resolve_array_ref(172,1),193);
- do {
Please login for more