User Manual
76 Location Software Library PLUS System Manual
Proprietary Information: Do not disclose unless authorized under a Nondisclosure Agreement and the Partner Agreement.
state
0 = calibration state unknown, may never have run a calibration this group
1 = calibration in progress
2 = calibration successful
3 = calibration failed.
4.5.2.3 Configuration Storage
This function is used to store the configuration of the Location Software to a file. The counterpart to
this function, ReadConfig, was discussed previously in the Commonly Used Functions section.
4.5.2.3.1 WriteConfig Function
public virtual int WriteConfig( BSTR
filePath
)
Write current configuration data to a configuration file.
filePath
this is the full path and name of configuration file.
Returns
0 – Success
Less than zero - Failed to write configuration file
4.5.2.4 Group Configuration
The functions in this section are used to configure the Location Software’s internal database of Reader
Groups.
4.5.2.4.1 AddOrUpdateGroup Function
public virtual int AddOrUpdateGroup( int
groupId
,
int
groupState,
int
groupFlags,
int
allowedSolverFlags,
int
mapIndex,
double *
trackingCellPoints,
int
trackingCellPointsBufferSize,
double
trackingCellSnap)
Adds a Group to the tracker's Group database. If the Group already exists, updates the Groups's configuration.
groupId
is the ID for the group. Group ID should greater than or equal to zero. Do not use –1 as a group Id
because that value is used to denote all groups in other interface functions.
groupState
denotes that the group is enabled or disabled
0 - group disabled