Impact Acquire SDK Java
TDeviceLoadSettings Class Reference

Defines valid modes for the loading of settings during initialization. More...

Static Public Attributes

static final int dlsAuto = acquireJNI.dlsAuto_get()
 Tries to load settings automatically following an internal procedure.
 
static final int dlsNoLoad = acquireJNI.dlsNoLoad_get()
 No stored settings will be loaded at start-up.
 

Detailed Description

Defines valid modes for the loading of settings during initialization.

Whenever a mvIMPACT.acquire.Device is initialized this enumeration type defines the mode the mvIMPACT.acquire.Device tries to restore settings from a previously stored session.

Member Data Documentation

◆ dlsAuto

final int dlsAuto = acquireJNI.dlsAuto_get()
static

Tries to load settings automatically following an internal procedure.

The load cycle at initialization time is like this:

look for a setting for this particular device (via serial number)
if not found
look for a setting for this device type (via string in property 'Product' )
if not found
look for a setting for this device family (via string in property 'Family' )
if not found
use the default settings

Under Linux® the current directory will be searched for files named <serialNumber>.xml, <productString>.xml and <familyString.xml> while under Windows® the registry will be searched for keys with these names. This only happens once (when the device is opened)

◆ dlsNoLoad

final int dlsNoLoad = acquireJNI.dlsNoLoad_get()
static

No stored settings will be loaded at start-up.

The device will be initialized with the drivers default values.