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_set_trigger_view_offset<br />

Syntax<br />

C:<br />

void GAGEAPI gage_set_trigger_view_offset (int32 offset);<br />

Visual BASIC:<br />

Sub gage_set_trigger_view_offset (ByVal offset As Long)<br />

Remarks<br />

The gage_set_trigger_view_offset routine allows the application program to change where data transfer<br />

begins when using gage_trigger_view_transfer, gage_trigger_view_transfer_2 or<br />

gage_trigger_view_transfer_3 by offsetting the trigger address. Once the offset has changed, it keeps its<br />

new value until the program is restarted or it is changed again.<br />

The default value for the offset is 0, which denotes the trigger address. A negative offset can be used to<br />

capture pre-trigger data. A positive offset can be used to start transfer from after the trigger address.<br />

Care should be taken when using a negative number so that you don’t get data from before the start<br />

address. The valid start, trigger and ending addresses can be obtained from a call to<br />

gage_calculate_addresses.<br />

Return Value<br />

None.<br />

See also<br />

gage_get_trigger_view_offset and gage_calculate_addresses<br />

Examples<br />

C:<br />

gage_set_trigger_view_offset (offset);<br />

Visual BASIC:<br />

Call gage_set_trigger_view_offset (offset)<br />

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

83

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

Saved successfully!

Ooh no, something went wrong!