Table of Contents
Setup Measure Velocity Track
Setup
To activate a MVTrack a mv node must be added to the track plan like this:
<mv s1="b0A" s2="b0I" distance="775" scale="87" mph="false"/>
Attributes
| Name | Description | Units |
|---|---|---|
| s1 | sensor one to trigger the measurement | ID |
| s2 | sensor two to trigger the calculation | ID |
| distance | distance between s1 and s2 | mm |
| scale | locomotive gauge/scale: H0=87, N=160… | - |
| mph | Miles Per Hour | true/false |
De sensors may also be used by a block; they both will get the events.
See also: http://www.rocrail.net/doc/rocrail-wrappers/wrapper-en.html#mv
Using existing blocks
This feature is also available in blocks:
Result view
| The arerage velocity is shown in the Rocgui server window: |
|
In case of MPH the calculated KM/H is multiplied by 0.621371192.
How to define the distance
Trace: » disclaimer » faq-en » cbus-en » mvtrack-setup-en







