Adm side-connect functions – ProSoft Technology MVI69-ADM User Manual

Page 188

Advertising
background image

Application Development Function Library - ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 188 of 342

ProSoft Technology, Inc.

February 20, 2013

7.10 ADM Side-Connect Functions

ADM_ScOpen

Syntax

int ADM_ScOpen(ADMHANDLE adm_handle, ADM_INTERFACE * adm_interface_ptr, int
verbose)

Parameters

adm_handle

Handle returned by previous call to ADM_Open

adm_interface_ptr

Pointer to ADM_INTERFACE structure to allow API access to
structures

verbose

Switch to enable status messages to the debug port. A 1 will
enable messages and a 0 will disable the messages.

Description
This function opens and initializes the side-connect interface.

Return Value

ADM_SUCCESS

No errors were encountered

ADM_ERR_NOACCESS

adm_handle does not have access

ADM_ERR_NOTSUPPORTED

Function is not supported on this platform

Example

ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
int verbose = 1;
ADM_INTERFACE interface;
interface_ptr = &interface;
ADM_ScOpen(adm_handle, interface_ptr, verbose);

See Also
ADM_ScClose (page 189)

Advertising