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.

Driver, System and Board Location Routines<br />

Name of the Routine<br />

gage_driver_initialize<br />

gage_driver_remove<br />

gage_get_config_filename<br />

gage_get_driver_info<br />

gage_get_driver_info_structure<br />

gage_read_config_file<br />

gage_select_board<br />

Description<br />

Fully configures each board found in the system.<br />

Removes all the data structures from the memory that were<br />

created by the drivers or the DLL.<br />

Determines the complete path to the configuration file that<br />

contains the board location data.<br />

Fills a structure or record with the relevant information<br />

from the driver variables as to the current settings for the<br />

current <strong>CompuScope</strong> board.<br />

Returns the relevant information about the main structure<br />

used by the driver and also retrieves the driver version and<br />

number.<br />

Reads the configuration file and stores the data in an array<br />

of words.<br />

Sets the driver so that the current board is the board<br />

identified by the number passed to the routine.<br />

Parameter Control Routines<br />

Name of the Routine<br />

gage_capture_mode<br />

gage_input_control<br />

gage_delay_trigger_32<br />

gage_set_ext_clock_variables<br />

gage_trigger_control_2<br />

Sets the data capture mode.<br />

Description<br />

Used to set up the input channels of the <strong>CompuScope</strong><br />

boards.<br />

Ignores the trigger for a specified amount of time<br />

Sets the needed variables when using an external clock.<br />

Takes advantage of certain <strong>CompuScope</strong> boards’ ability to<br />

have 2 different trigger inputs (source, slope and level) and<br />

is used to set up the trigger parameters of the <strong>CompuScope</strong><br />

boards.<br />

Address Routines<br />

Name of the Routine<br />

gage_calculate_addresses<br />

gage_calculate_mra_addresses<br />

gage_calculate_mr_addresses<br />

Description<br />

Returns the start, trigger and end addresses.<br />

Corrects the trigger address based on the ETB bit<br />

information located in the data acquired from the card at the<br />

raw calculated trigger address.<br />

Returns the start, trigger and end addresses for the specified<br />

channel of the current board to the calling routine.<br />

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

7

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

Saved successfully!

Ooh no, something went wrong!