======Main process configuration====== The subfolder **msprocesses** of a Nimue platforms project includes the so called **process configuration file** with the default name **DefaultConfig.xml**. This file defines the data sources and the details about how to get data from the sources (measurement systems configuration). The main structure of such a file looks as follow: ... ... ... ... =====Configuration of the measurement system===== The most important element is **** with the following attributes: ^ Attribute name ^ Description | ^ id | unique identifier of the measurement system used in the trialType definitions | ^ system | Name of the measurement system type as defined in their implementations. | ^ fileSuffix | file suffix of the default output file written in the motiondata file format. | Multiple -elements are possible to define one or more measurement systems. Properties which are specific for a measurement system can be added by -elements: ... The data sources are defined as a hierarchy of ****- and ****-children-elements. In the current implementation it is not allowed that ****-elements can contain further ****-elements. **Attributes of :** ^ Attribute name ^ Description | ^ name | name of the measurement unit group. | ^ dispayName | Name shown in the nodes hierarchie after loading the configuration. | A ****-element defines a sequence of **channels** streaming double-data. If the sequence of channels is not defined by the appropriate ****-elements, a default sequence is used. But it is recommend to explicitly define the channels sequence to be sure about the data. **Attributes of :** ^ Attribute name ^ Description | ^ name | name of the measurement unit. | ^ dispayName | Name shown in the nodes hierarchie after loading the configuration. | ^ sampleRate | Sample rate of the data streamed by this measurement unit. | **-elements of the :** The -elements should have -elements for each channel of the unit. Its attribute "name" must match with the channel name as defined in the TransducerUnit implementation. Channel which are not configured are automatically disabled. ****- and ****-elements can have ****-elements as children to define specific properties. =====Configuration of the trial types===== A trial type defines general aspects of the recording and especially which data should be written into files. ^ Attribute name ^ Unit ^ Type ^ Description ^ Optional | ^ name | | String | The name of the trial type. It is visible in the list of available trial types in the record UI. | No | ^ duration | seconds | float | The duration of the recording. If not set variable-length-recording should be used. But this is currently not implemented. | No | ^ offset | seconds | float | An offset/time interval to wait after start triggering bevor starting the recording | Yes | ^ closeOffset | seconds | float | An offset/time interval to wait after recording and before closing the recording.This can be useful if a sequence of trials is recorded and after the last trial the trigger has to wait before a closing procedure is executed, e.g. a robot needs time to move to a start position before the robot program is closed. | Yes | ^ measurementSystemConfigIds | | String | A list of measurement system IDs to be used. All measurementsystem which are not listed here are automatically disabled. | No | ^ labelset | | String | The name of the labelset to define, which data should be written into files. Details are described in the chapter "Configuration of the output" (filename with suffix xml).| Yes | ^ overwrite | | boolean | Default==true, if set to true, than if a trial is saved an existing file with the the same file name is overwritten without any question. If set to false and a file exists a index is automatically added before the file suffix "_". Also all existing files with such indizes are recognized and the index is choosed as a the last found index +1. If this index is bigger than a max index than the index starts agains with 1 and an existing trial is overwritten withoug any question. The max index can be overwritten with the next attribute. | Yes | ^ maxindex | | int | Max index to be used as a suffix if a trial exists. Default==9 | Yes | Further e.g. trigger or multicycle specific trial type configurations are defined in property-groups. This is described in the following sub chapters. ====Multicycle configuration==== There are two types of multicycles configuration available. The first one defines only how many cycles should be measured. The following attributes are used as children from the property group **multicycles**: ^ Attribute name ^ Description | ^ cycles | The number of cycles | The second type defines a sequence of trial types. The following attributes are used as children from the property group **multicycles**: ^ Attribute name ^ Description | ^ cyclesSequence | A space separated list of trial type names | ^ pressButtonForNextCycle | if set to "true" between switching to an other trial type a dialog box is opended and a butto must be pressed. This cancel option allows to cancel the complete measurement process. | ====Trigger configuration==== =====Configuration of the output===== Each trial is saved into a seperate file in the motion data object file format. The default suffix of such files is ".r3d". ====Timeseries==== Which data to be saved is defined in a labelset xml file as follows: **The sequence of the labels is used to connect to the corresponding channels, if every mathtype is used only once.** To make this possible default channels names are used for the following math types: ^ Math type ^ Default channel names | ^ REAL | T | ^ COLUMN_VECTOR_3D | v n={0,1,2} | ^ MATRIX_3X3D | m i={0,1,2}, j) j={0,1,2} | ^ QUATERNION_D | q i={0,1,2,3} | If the unit contains a specific type more than once than the label must define the attribute "channelNames" which contains a list of channel names for each channel of the given type. In the case of type REAL this attribute must contain only one channel name. The channel name must be the name as defined in the corresponding transducer unit implementation. This can be different to the name, given for the -element as defined in the measurement system configuration! **The