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.

system to trigger. This is useful, for instance, in some nuclear particle detection experiments, where a<br />

particle pulse can occur on any channel of a multi-channel system.<br />

Please note that, whatever causes the trigger event in a Master/Slave <strong>CompuScope</strong> system, all<br />

<strong>CompuScope</strong>s in the Master/Slave system will always be triggered together.<br />

Return Value<br />

A one is returned if execution of the routine was successful. A zero is returned when the routine fails, and<br />

gage_get_error_code may be called to obtain the error code.<br />

See also<br />

gage_capture_mode, gage_input_control and see the Appendix: Data Structures Used by Gage Drivers in<br />

the <strong>CompuScope</strong> C/C++<strong>SDK</strong> <strong>Manua</strong>l.<br />

Examples:<br />

C:<br />

gage_trigger_control_2 (GAGE_CHAN_A, GAGE_EXTERNAL, GAGE_DC, GAGE_PM_1_V,<br />

GAGE_POSITIVE, GAGE_NEGATIVE, 160, 100, GAGE_POST_16K, TRUE,<br />

TRUE );<br />

Visual BASIC:<br />

dummy = gage_trigger_control_2 (GAGE_CHAN_A, GAGE_EXTERNAL, GAGE_DC,<br />

GAGE_PM_1_V, GAGE_POSITIVE, GAGE_NEGATIVE, 160, 100,<br />

GAGE_POST_16K, TRUE, TRUE )<br />

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

57

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

Saved successfully!

Ooh no, something went wrong!