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

Syntax<br />

C:<br />

int16 GAGEAPI gage_get_status (void);<br />

Visual BASIC:<br />

Function gage_get_status () As Integer<br />

Remarks<br />

This routine is used to read back various control signals generated by the currently selected <strong>CompuScope</strong><br />

board. The routine thus provides the application writer feedback about the current board’s operational<br />

state. It is recommended that the gage_triggered and gage_busy routines be used instead, since they<br />

provide a more consistent interface for all hardware.<br />

Return Value<br />

Returns the Status register. Please see your hardware manual, if applicable, for information on the status<br />

register. It will be different for different <strong>CompuScope</strong> boards.<br />

See also<br />

gage_busy, gage_triggered and gage_read_master_status<br />

Examples<br />

C:<br />

status = gage_get_status();<br />

Visual BASIC:<br />

ret = gage_get_status<br />

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

67

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

Saved successfully!

Ooh no, something went wrong!