CompuScope SDK Manua.. - Egmont Instruments
CompuScope SDK Manua.. - Egmont Instruments
CompuScope SDK Manua.. - Egmont Instruments
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
gage_mem_read_master<br />
Syntax<br />
C:<br />
int16 GAGEAPI gage_mem_read_master (int32 location);<br />
Visual BASIC:<br />
Function gage_mem_read_master (ByVal location As Long) As Integer<br />
Remarks<br />
gage_mem_read_master reads one sample out of the on-board memory of the Master <strong>CompuScope</strong> in a<br />
Master/Slave <strong>CompuScope</strong> system. It can used in a loop to retrieve data from a range of addresses from<br />
the Master <strong>CompuScope</strong> board.<br />
location is an address in the <strong>CompuScope</strong> memory from which a single sample point will be retrieved.<br />
The gage_calculate_addresses routine is very useful for determining the range of <strong>CompuScope</strong> on-board<br />
memory addresses that contains valid data from the latest acquisition. gage_calculate_addresses returns<br />
the start, trigger and end address for the last <strong>CompuScope</strong> acquisition.<br />
Return Value<br />
The return value is the raw data sample downloaded from the address location in the on-board memory of<br />
the Master <strong>CompuScope</strong>.<br />
See also<br />
gage_calculate_addresses.<br />
Examples<br />
C:<br />
data = gage_mem_read_master (address);<br />
Visual BASIC:<br />
data = gage_mem_read_master (address)<br />
<strong>CompuScope</strong> API Reference <strong>Manua</strong>l<br />
39