Import settings
Applies to
Sensoft Multiline
Issue
How do I import my settings from Sensoft 1.5, Sensoft ML or Sensoft MC into Sensoft Multiline?
Solution
Since this operation is only semi-automatic, you best email us your settings files and we do the conversion for you. The settings file that is opened at the application start is the file Default_config.ini located in the folder:
For Sensoft 1.5: Documents\LabVIEW Data\Sensoft\Config Data\Configurations |
For Sensoft ML: Documents\LabVIEW Data\Sensoft\Config Data\Configurations_ML |
For Sensoft MC: Documents\LabVIEW Data\Sensoft\Config Data\Configurations_MC |
If you have other other settings files that you load manually, send us these too. For Sensoft MC please send us also the file Thresholds_table_mc.txt in the same folder.
After receiving the converted files back, copy Default config.ini to Documents\LabVIEW Data\Sensoft\Config Data\Configurations Multiline and, if there are, the other files to a directory of your choice.
For reference, the procedure is the following:
- Copy the settings file to the new location (e.g.
Documents\LabVIEW Data\Sensoft\Config Data\Configurations Multiline\Default config.ini) - Open the new settings file in a text editor
- Replace the first line from e.g.
[Sensoft_MC.vi]to[Sensoft Multiline.vi] - Lines containing
Box config path: Replace the "_" with spaces. Usually one line likeBoxes Config (in) 0.Box config path = "Config_Sensystem_Compact_621x_box.ini" - Lines containing
Calibration path: Remove the stringConfig Data\\ - (This is required only if you want these parameters to have a non-standard value, which is quite rare.) Manually add the following lines, where the right hand side is calculated from the values of the old settings:
Update rate \5BHz\5D =scan rate / # scansMean data interval \5Bm\5D =DC avg. time * Recipe 0.Speed * 60Filter.Lower cutoff frequency \5BHz\5D =1/Filter specs.Lower Fc period [sec]Boxes 0.DO.Duration = "Until wire good again"if Reset Ctrs? = True,"Until end of measurement"otherwise. If you have more than one box, also for Boxes 1, and so on. - (Only for Sensoft MC) For all lines Recipe x. Criteria y.Type = "z", where x and y are numbers and z a string like "Lump Alarm":
- Replace in z: "Neck-Down" -> "Neck-down", "Std. dev." -> "Roughness"
- Replace the space in z with '"\nRecipe x. Criteria y.Severity = "'
In Notepad++ this corresponds to a Replace all with the following Regular expression:
Find what:^Recipe (\d+).Criteria (\d+).Type = "(?:(Neck-[Dd]own)|(Std. dev.)|(.+?)) (.+?)"$
Replace with:Recipe \1.Criteria \2.Type = "(?3Neck-down:)(?4Roughness:)\5"\nRecipe \1.Criteria \2.Severity = "\6"
The result is e.g.:
Recipe 0.Criteria 1.Type = "Neck-Down Alarm"
becomes
Recipe 0.Criteria 1.Type = "Neck-down"
Recipe 0.Criteria 1.Severity = "Alarm" - In Sensoft Multiline, open the settings file (button
Load...on page Settings) - Reset and control the DI/O settings: In Sensoft Multiline, open the hardware configuration (button
Configure...on page Settings), change Sensystem type to a similar and then back. Accept with button OK - Manually edit the Criteria. Using the right mouse button you can copy criteria and paste them to all lines
- Save the configuration file (button
Save As...) over itself