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

Syntax<br />

C:<br />

int32 GAGEAPI gage_trigger_address (void);<br />

Visual BASIC:<br />

Function gage_trigger_address () As Long<br />

Remarks<br />

gage_trigger_address finds the address in <strong>CompuScope</strong> memory where the trigger event occurred.<br />

Once a trigger event is detected, the address into which the data was being written is tagged as the trigger<br />

address.<br />

This routine will only access the hardware once per acquisition. The trigger address is then stored in the<br />

driver structure for future or repeated use. The gage_get_trigger_address routine accesses the<br />

<strong>CompuScope</strong> hardware every time it is called. In Multiple Record operation, gage_get_trigger_address<br />

should be used, if it is necessary to monitor the trigger addresses while capturing the data.<br />

Return Value<br />

The long integer returned is the trigger address.<br />

See also<br />

gage_get_trigger_address and gage_calculate_addresses<br />

Examples<br />

C:<br />

address = gage_trigger_address ();<br />

Visual BASIC:<br />

address = gage_trigger_address<br />

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

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

Saved successfully!

Ooh no, something went wrong!