eeros_architecture:hal:configuration_file
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
eeros_architecture:hal:configuration_file [2017/05/11 11:11] – [Scale and Range] graf | eeros_architecture:hal:configuration_file [2017/06/29 15:51] – [Available Keywords] graf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Configuration File ====== | ====== Configuration File ====== | ||
- | The external hardware is decribed by means of a configuration file in [[http:// | + | The external hardware is decribed by means of a configuration file in [[http:// |
Let's consider a first example | Let's consider a first example | ||
< | < | ||
Line 58: | Line 58: | ||
===== Scale and Range ===== | ===== Scale and Range ===== | ||
Channels carrying an analog signal must be assigned a '' | Channels carrying an analog signal must be assigned a '' | ||
+ | |||
+ | ===== Available Keywords ===== | ||
+ | ^ Keyword ^ Type ^ Remarks ^ | ||
+ | | deviceX | object | device, X is the device number | | ||
+ | | library | string | EEROS wrapper library, give full name of library including file ending and version (e.g. *.so.0.1.2) | | ||
+ | | devHandle | string | device node which will be used for this device/ | ||
+ | | subdeviceY | object | subdevice, group of channels with specific type | | ||
+ | | type | string | describes the type of this subdevice group, name has to be the same as the library-name in your wrapper library | | ||
+ | | channelZ | object | describes one channel of this type | | ||
+ | | signalId | string | unique signal id for this channel, with this name you can claim the signal in your EEROS application | | ||
+ | | inverted | bool | invert value of this channel (working for digital in/outputs) | | ||
+ | | scale | object/ | ||
+ | | range | object/ | ||
+ | | id | string | used to name each scale and range array element, every scale element needs a range element with the same id | | ||
+ | | minIn | double | minimum input value, used to set scale or range of scalable in-/ | ||
+ | | maxIn | double | maximum input value, used to set scale or range of scalable in-/outputs | | ||
+ | | minOut | double | minimum input value, used to set scale or range of scalable in-/outputs | | ||
+ | | maxOut | double | maximum output value, used to set scale or range of scalable in-/outputs | | ||
+ | | scale | double | scale value to set scale of scalable in-/output directly, do not mix with scale object! | | ||
+ | | offset | double | offset value to set offset of scalable in-/output directly | | ||
+ | | unit | string | unit of this in-/output, used for scalable in-/ | ||
+ | |||
+ | |||
+ | |||
eeros_architecture/hal/configuration_file.txt · Last modified: 2024/06/10 16:24 by ursgraf