13.07.2015 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.

By default, all the post trigger data are read starting from the trigger address (the address where the triggerevent occurred). You can easily change this address in order to download data starting from anotheraddress. For example, by default the program has the following line:location = trigger;points = board.depth;where trigger contains the trigger address. If you change the code to:location = trigger + 100;points = 200the program will read 200 samples starting from 100 points after the trigger address. Note that there are nopre-trigger data in multiple record mode.The size of a multiple record group can be determined by calling gage_calculate_mr_addresses and usingthe equation:multiple record group size = ending_address - trigger_address + 1Because there are no pre-trigger data in multiple record mode, the board will not capture until a triggerevent has occurred. The <strong>CompuScope</strong> board's circular buffer will not wrap around in Multiple RecordMode, so that the ending address will always be greater then the trigger address for each group.The program continues reading groups until they have all been read. This occurs when the return valuefrom gage_calculate_mr_addresses and the first parameter are not equal or the number of groupsspecified in gage_multiple_record_acquisitions has been reached.<strong>CompuScope</strong> <strong>SDK</strong> <strong>Manua</strong>l Page 49

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

Saved successfully!

Ooh no, something went wrong!