
Application Development Function Library - ADM API MVI-ADM ♦ 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 190 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_ReadScFile
Syntax
int ADM_ReadScFile(ADMHANDLE adm_handle, int verbose)
Parameters
Handle returned by previous call to ADM_Open
Switch to enable status messages to the debug port. A 1 will
enable messages and a 0 will disable the messages.
Description
This function reads SC_DATA.TXT file from C drive on a compact flash in the
module to select between using the backplane or the side-connect interface.
Return Value
value for the side-connect used (valid value is 5 to 199).
value for the backplane used, value that is not between 5 to 199,
or if SC_DATA.TXT is not existed. Note: set verbose to 1 to see
message according to this return value.
adm_handle does not have access.
Example
ADMHANDLE adm_handle;
int verbose = 1;
ADM_INTERFACE interface;
interface.cfg_file = ADM_ReadSCFile(adm_handle, verbose);
See Also
ADM_ScOpen (page 188)
Comentarios a estos manuales