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

Syntax<br />

C:<br />

int16 GAGEAPI gage_get_config_filename (LPSTR cfgfn);<br />

Visual BASIC:<br />

function gage_get_config_filename (ByVal cfgfn As String) As Integer<br />

Remarks<br />

gage_get_config_filename determines the complete path to the configuration file that contains the board<br />

location data created by a Windows-based configuration utility (such as Gage Config or Instrument<br />

Manager). The configuration file is called GAGESCOP.INC and resides in the same Windows directory<br />

as the <strong>CompuScope</strong> driver DLL (gage_drv.dll).<br />

cfgfn is a string variable that must be long enough to hold the returned path.<br />

Return Value<br />

A true value is returned, if the routine successfully returned the configuration filename.<br />

See also<br />

gage_read_config_file<br />

Examples<br />

C:<br />

ret = gage_get_config_filename ((LPSTR)(board_loc_file));<br />

Visual BASIC:<br />

i = gage_get_config_filename (board_loc_file)<br />

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

33

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

Saved successfully!

Ooh no, something went wrong!