About Configuration Settings
|
- some things you need to know -
|
The special .INI file that is included with this distribution allows for setup of the device configuration
without having to do it programmably and may be useful for someone who is creating software for distribution
that will always use the same configuration aside from something like setting of the COM port. The .INI file is
never used unless it is loaded with the function
call EX_SetDevToIniSetup ( ).
IMPORTANT:
below is a list of the only changes that can safely be made manually
to the .INI file if you intend to make use of it with
your software
by using the above mentioned function call. Other changes need to be made indirectly using the
ini configuration tool.
-
comPort | singleChanScanMainChan | singleChanScanSubChan
| channel | subChan | biPolar | gain | LogScans
|
You should never set the following manually in the .ini file:
-
BAUD | remoteAvg | tScan
| Rate | ScanInterval | wordCnt | filter | SubChannels
|
There are function calls that allow you to create a new .ini file based on your current device configuration
as well as calls to display the contents of the .ini file using a windows message box. You can see the configuration related
function calls   HERE.  It's important to remember that the .ini
file is only a convenience and is not required or even looked at by the DLL unless you make the function call mentioned above
that loads it. The DLL always loads with a default configuration and
there are function calls available to change each and every one of the configuration parameters.
The scan interval setting is one of the entries that appears within the .INI file, and one that should never
be changed manually within that file. If the default isn't good for you, then use the special
  "IniTool.exe" 
utility (downloaded
from our website) or the DLL function calls designed for that purpose. It's recommended that you become familar with the definition
of and usage of the scan interval by reading the Q/A topic HERE.
After reading the information at the previous link, you may understand that a range of possible settings for the scan interval
cannot be determined until other parameters such as number of scan channels, filter settings, internal averaging, are known.
The DLL always loads with default configuration parameters as
described HERE. Those settings will work together without conflict. Having
a default configuration serves a generic function of allowing a developer to quickly test the function of the Model-201 with a
simple function call - EX_Run(). It is likely that a developer will want something
other than default settings except for testing purposes.
A complete set of function calls into the DLL is provided to allow each of the configuration parameters to be both set
and also checked. These function calls can be reviewed HERE, with even
more settings HERE. It's important to note that the final setting should
always be made to the scan interval since the range at which it can be set is influenced by other configuration parameters
as discussed further up.
|
|