23.11.2014 Views

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

gage_use_cal_table<br />

Syntax<br />

C:<br />

int16 gage_use_cal_table (int16 action);<br />

Visual BASIC:<br />

Function gage_use_cal_table (ByVal action As Integer) As Integer<br />

Remarks<br />

This routine sets an internal driver variable that controls whether or not a <strong>CompuScope</strong> 12 bit board will be<br />

autocalibrated when the gain is changed.<br />

If action is 1, the driver variable is set and the board will use the internal DAC table rather than<br />

autocalibrate. The new value of the driver variable is returned.<br />

If action is 0, the variable is cleared and autocalibration is performed. This is the default value.<br />

If action is not 1 or 0, the current value is returned but nothing is changed. Also note that the DAC table<br />

should be set, by reading in a calibration file containing the proper values with gage_read_cal_table.<br />

Return Value<br />

The return value is the current state of the driver variable.<br />

See also<br />

gage_read_cal_table<br />

Examples<br />

C:<br />

gage_use_cal_table (1);<br />

Visual BASIC:<br />

gage_use_cal_table (1)<br />

<strong>CompuScope</strong> API Reference <strong>Manua</strong>l 92

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!