ProSoft Technology MVI69E-LDM User Manual
Page 90

Contents
MVI69E-LDM ♦ "C" Programmable
Developer's Manual
Linux Application Development Module
Page 90 of 130
ProSoft Technology, Inc.
August 21, 2014
MVI69_GetSetupJumper
Syntax
int MVI69_GetSetupJumper (MVI69HANDLE handle,int *mode);
Parameters
handle
handle returned by previous call to MVI69_Open
mode
Pointer to an integer that is set to 1 if the Setup Jumper is installed, or 0 if
the Setup Jumper is not installed.
Description
This function is used to query the state of the Setup Jumper.
handle must be a valid handle returned from MVI69_Open.
mode is a pointer to an integer. When this function returns, mode will be set to 1 if the
module is in setup mode, or 0 if not.
If the Setup Jumper is installed, the module is considered to be in Setup Mode. If may be
useful for an application to detect Setup Mode and perform special configuration or
diagnostic functions.
Return Value
MVI69_SUCCESS
no errors were encountered
MVI69_ERR_NOACCESS
handle does not have access
Example
MVI69HANDLE handle;
int mode;
MVI69_GetSetupMode (handle, &mode);
if (mode)
// Setup jumper is installed - perform configuration/diagnostic
else
// Not in Setup Mode - normal operation