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:00] – [SignalId] 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 19: | Line 19: | ||
" | " | ||
" | " | ||
- | " | + | " |
- | " | + | " |
], | ], | ||
" | " | ||
Line 56: | Line 56: | ||
Every channel must contain a '' | Every channel must contain a '' | ||
- | ===== Scale ===== | + | ===== Scale and Range ===== |
- | Every channel | + | Channels carrying an analog signal |
+ | |||
+ | ===== Available Keywords ===== | ||
+ | ^ Keyword ^ Type ^ Remarks ^ | ||
+ | | deviceX | object | device, X is the device number | | ||
+ | | library | string | ||
+ | | devHandle | string | device node which will be used for this device/ | ||
+ | | subdeviceY | object | subdevice, group of channels with specific type | | ||
+ | | type | string | describes | ||
+ | | channelZ | object | describes one channel | ||
+ | | 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 | ||
+ | | 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