actions-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
actions-en [2020/02/09 16:44] – [Notes:] cds | actions-en [2024/01/20 17:34] (current) – [Notes:] rjversluis | ||
---|---|---|---|
Line 6: | Line 6: | ||
\\ | \\ | ||
+ | |||
=====Index===== | =====Index===== | ||
{{: | {{: | ||
====Table column headers==== | ====Table column headers==== | ||
**ID:** The unique action ID\\ | **ID:** The unique action ID\\ | ||
- | **Description: | + | **Description: |
**Type:** The type abbreviation (see table below). The type is set in the tab Definition.\\ | **Type:** The type abbreviation (see table below). The type is set in the tab Definition.\\ | ||
Line 93: | Line 94: | ||
| Block | bk | Block | schedule, schedule_manual, | | Block | bk | Block | schedule, schedule_manual, | ||
| Staging block | sb | Staging block | unlock, white, yellow, green, red, open, closed, exitopen, exitclosed, compress | //unlock ID// | The color commands will set the exit signal defined for this block. \\ open/closed are for enter side. | | | Staging block | sb | Staging block | unlock, white, yellow, green, red, open, closed, exitopen, exitclosed, compress | //unlock ID// | The color commands will set the exit signal defined for this block. \\ open/closed are for enter side. | | ||
- | | Locomotive | lc | Locomotive | go, stop, velocity, velocity2, percent dispatch, swap, blockside, carcount, min, mid, cruise, max, consist, assigntrain, | + | | Locomotive | lc | Locomotive | go, govirtual, stop, velocity, velocity2, percent dispatch, swap, blockside, carcount, min, mid, cruise, max, consist, assigntrain, |
- | | Function | + | | Function |
| Turntable | | Turntable | ||
| Fiddle Yard | seltab | Fiddle Yard | goto | //track number// | | | | Fiddle Yard | seltab | Fiddle Yard | goto | //track number// | | | ||
- | | Text | tx | Text | update, __**[[variable-en# | + | | Text | tx | Text | update, __**[[variable-en# |
| Sound | sound | - | play, straigh, turnout | Sound file name. | Set the sound player device in the interface tab. \\ (RocNet only!) | | | Sound | sound | - | play, straigh, turnout | Sound file name. | Set the sound player device in the interface tab. \\ (RocNet only!) | | ||
| [[: | | [[: | ||
Line 122: | Line 123: | ||
Extra parameters are ignored.\\ | Extra parameters are ignored.\\ | ||
- | ==XML Script== | + | ==XMLScript== |
- | A XML script | + | A XMLScript |
- | See: **[[xmlscripting-en|XML Scripting]]**\\ | + | See: **[[xmlscripting-en|XMLScripting]]**\\ |
Extra parameters are ignored.\\ | Extra parameters are ignored.\\ | ||
- | ==Example: Sound playback with VLC== | + | ==VLC== |
+ | **Example: Sound playback with VLC** | ||
Install **[[https:// | Install **[[https:// | ||
Define an action:\\ | Define an action:\\ | ||
Line 133: | Line 136: | ||
Leave default “Double quote” and “Asynchrone” unchanged.\\ | Leave default “Double quote” and “Asynchrone” unchanged.\\ | ||
Command: “C: | Command: “C: | ||
- | Parameter: “C: | + | Parameter: “C: |
+ | |||
+ | Explanation of the parameters: | ||
+ | '' | ||
+ | '' | ||
+ | '' | ||
+ | '' | ||
- | Explanation of the parameters: | + | Further |
- | “C:\sound\Aarau1_Irina.mp3” - the Sounddatei (here a “mp3”) which shall be played.\\ | + | '' |
- | ”- -play-and-exit” - the program VLC is started, the sound played back and the program closed.\\ | + | |
- | ”- -qt-start-minimized” - no display of a window.\\ | + | |
- | ”- -qt-notification=0” - Windows plays back no other sound.\\ | + | |
The action can be triggered by a block or a feedback.\\ | The action can be triggered by a block or a feedback.\\ | ||
Line 195: | Line 201: | ||
* Virtual | * Virtual | ||
+ | \\ | ||
+ | =====Report===== | ||
+ | {{: | ||
+ | A double click will open the selected object.\\ | ||
+ | ====Generate==== | ||
+ | Generates a report of all used actions in all objects.\\ | ||
actions-en.1581263095.txt.gz · Last modified: 2020/02/09 16:44 by cds