23.11.2014 Views

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

gage_read_master_status<br />

Syntax<br />

C:<br />

int16 GAGEAPI gage_read_master_status (void);<br />

Visual BASIC:<br />

Function gage_read_master_status () As Integer<br />

Remarks<br />

gage_read_master_status reads the status bits from the Master card, regardless of how many<br />

<strong>CompuScope</strong> boards are in the system.<br />

Return Value<br />

The integer returned equals the status bits from the Master board status register. This value is currently an<br />

integer from 0 to 7, with bit 0 representing the busy bit, bit 1 representing the ram full bit and bit 2<br />

representing the trigger bit. These bit patterns may or may not match the hardware status register pattern.<br />

See also<br />

gage_busy and gage_triggered<br />

Examples<br />

C:<br />

status = gage_read_master_status ();<br />

Visual BASIC:<br />

status = gage_read_master_status<br />

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

79

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

Saved successfully!

Ooh no, something went wrong!