23.11.2014 Views

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GAGE_AA_INVALID_SAMPLE_NUM<br />

GAGE_AA_TRIGGER_TIMEOUT<br />

GAGE_AA_BUSY_TIMEOUT<br />

-7L This value is returned when the number of<br />

samples (nsamples) is greater than the maximum<br />

transfer allowed using the implemented transfer<br />

method. Currently this is 4K/8K samples for all<br />

boards except the CS2125, which is 8K/16K samples<br />

for dual/single mode acquisition, respectively. This<br />

will be increased to 64K for 16-bit environments and<br />

4G for 32-bit environments when the arbitrary length<br />

transfer_buffer routines are implemented on all<br />

boards.<br />

-8L Board was not triggered within the board's<br />

time-out time period.<br />

-9L Board did not become non-busy within the<br />

board's time-out period.<br />

If an error occurs, the routine aborts immediately and returns to the calling program.<br />

See also<br />

gage_peak_detect().<br />

Examples<br />

C:<br />

result = gage_acquire_average (channel, nsamples, naverages, sum, avg_buffer, data_buffer,<br />

nsamples, timeout);<br />

Visual BASIC:<br />

result = gage_acquire_average (channel, nsamples, naverages, sum, avg_buffer(0), data_buffer(0),<br />

nsamples, timeout)<br />

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

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

Saved successfully!

Ooh no, something went wrong!