Chapter 3
Driver configuration
The driver configuration is saved in a *.rio file, defined in the corresponding IODRV block as described in section 2. The *.rio file is simple text file, thereby is editable in any text editor. The basic structure is following:
Config 4
ComName "COM6"
Node {
NodeID 1
SignalCount 4
}
Node {
NodeID 4
SignalCount 2
}
}
The rows have this meaning:
- VMonDrv – Defines a section for VMonDrvconfiguration
- Config – Identification number of configuration from table 3.1
- ComName – Communication port name, all possibilities are in table 3.1
- Node – Defines a section for sensing node configuration
- NodeID – Node ID. May be found in the node serial number or using Intertia Studio
- SignalCount – Active analogue inputs count
Node identification number may be found on the device label, the last four digits are the unique ID (fig. 3.1). Another option is to use the Inertia Studio software, the node ID is shown in the bottom right corner along with status information (see fig. 4.1).
For the example above, the first analogue input from the node with ID has in the From flag VMON__N1S1. The first analogue input from the node with ID is read from the flag VMON__N4S1.
Configuration | Function | Communication ports |
[x stands for port number] | ||
1 | OS Linux, Ethernet communication | "edevx" or "ethx" |
2 | OS Linux, USB communication | "/dev/ttyACMx" |
3 | OS Windows | "COMx" |
4 | OS Windows the Boost library | "COMx" |
[Previous] [Back to top] [Up] [Next]