Local Adaptor Settings File

The initial configuration of the adaptor service is held in the settings.ini file in the installation folder of the service. An example of the settings.ini file is shown below.

Settings.ini
[Settings]
CheckLimsInterval=30000
AdaptorType=SampleManager

[RemoteSampler]
HostName=https://example.remotesampler.com
Port=1234
Username=myusername
Password=mypassword

[SampleManager]
HostName=123.123.123.123
Port=1234
ConnectionString=anexampleconnectionstring
Username=mylimsusername
Password=mylimspassword
AcceptStyle=NWLSTYLE

[DirectFile]
ImportFolder=C:\Test\Import
ExportFolder=C:\Test\Export

The fields in the example above are described in more detail in the table below.

Ini GroupFieldDescription
SettingsCheckLimsIntervalThe default time interval (in ms) used by the service when polling the Remote Sampler cloud and the external data system for changes to data
AdaptorType

The mode of operation of the adaptor service. Currently, the only options are:

  • SampleManager
  • DirectFile
RemoteSamplerHostNameThe hostname of the cloud Remote Sampler system to which the adaptor should connect 
PortThe port of the cloud Remote Sampler system to which the adaptor should connect
UsernameThe username with which the adaptor should connect to the Remote Sampler cloud system
PasswordThe password (in plain text) with which the adaptor should connect to the Remote Sampler cloud system
SampleManagerHostNameThe hostname of the SampleManager server to which the adaptor should connect 
PortThe port of the SampleManager server to which the adaptor should connect 
ConnectionStringThe connection string for the SampleManager backend database
UsernameThe username with which the adaptor should connect to the SampleManager
PasswordThe password (in plain text) with which the adaptor should connect to the SampleManager
AcceptStyleCurrently only one value supported: NWLSTYLE
DirectFileImportFolderThe folder the adaptor should poll for XML files to import
ExportFolderThe output folder to which the adaptor should write XML files containing exported data

Warning

Changes to the settings.ini file will only be applied when the service is restarted and some settings may be overwritten after startup by those held on the cloud Remote Sampler system.