Plugin : Scenario
Author:Rex.Rainbow
- Executing function from a csv table while time-out
Download
Properties
Debug mode
Time stamp
- Time stamp type.
- Options : ["Accumulation","Differential"]
Eval mode
- Enable "Eval mode" for parameters. "Mem" feature only could be used in eval mode.
Sync timescale
- Sync to object's timescale.
Mustache
- Enable to process string by Mustache templating engine.
Left delimiter
- Left delimiter. Set "" to use default delimiter "{{"
Right delimiter
- Right delimiter. Set "" to use default delimiter "}}"
Actions
0: Load
Action:Load commands
- Load commands in csv or json format.
- Commands ( string ) : Commands string
- Format ( Combo ) : String format.
Action:Clean commands
Action:Append commands
- Append commands in csv or json format.
- Commands ( string ) : Commands string
- Format ( Combo ) : String format.
Control
Action:Pause scenario
Action:Resume scenario
Action:Stop scenario
Flow control
Action:Start scenario
- Start scenario.
- Offset ( number ) : Time offset at start
- Tag ( string ) : Tag in csv table. "" is start from 1st command.
Memory
Action:Set value
- Set the value stored in memory.
- Index ( number or string ) : Index of memory, can be number of string
- Value ( number or string ) : Value of memory
Action:Load from JSON
- Load memory from JSON string.
- JSON string ( string ) : JSON string.
Mustache
Action:Set delimiters
- Set delimiters .
- Left delimiter ( string ) : Left delimiter. Set "" to use default delimiter "{{"
- Right delimiter ( string ) : Right delimiter. Set "" to use default delimiter "}}"
Response - Wait
Action:Continue all
- Continue scenario, response of wait command.
Action:Continue with key
- Continue scenario, response of locked-wait command.
- Key ( number or string ) : Key of locked-wait command
Setting
Action:Set time offset
- Set time offset.
- Offset ( number ) : Time offset at start
Setup
Action:Setup timeline
- Setup timeline.
- Timeline ( object ) : Timeline object to get timer
Action:Setup callback
- Setup callback.
- Callback ( Combo ) : Callback object.
- Options : ["Official function","Rex function2"]
Expressions
Memory
Expression:Mem
- Get the value from memory by index.
- Index ( number or string ) : Index of memory, can be number of string
Expression:MEMToString
- Transfer memory to JSON string.
Tag
Expression:LastTag
Expression:PreviousTag
Expression:CurrentTag
Conditions
Control
Condition:On execution completed
- Triggered when scenario executed completed.
Condition:Is running
Tag
Condition:On tag changed
- Triggered when tag changed.
Condition:Is tag existed
- Return true if tag is existed.
- Tag ( string ) : Tag in csv table. "" is start from 1st command.
Wait
Condition:Is waiting any
- Is scenario waiting for any signal.
Condition:Is waiting
- Is scenario waiting for signal.
- Key ( number or string ) : Key of locked-wait command
Condition:On waiting any start
- Triggered when On waiting (for signal) start.
Condition:On waiting start
- Triggered when On waiting (for signal) start.
- Key ( number or string ) : Key of locked-wait command