node-lynx-lss-helper
v0.0.21
Published
Generates messages from LSS scripts
Downloads
2
Readme
Node LSS Helper
This project generates messages by applying variables to FinishLynx and FieldLynx LSS scripts.
DISCLAIMER: This project is not affiliated with Lynx Systems Incorporated. It's an open source project intended to make it easier to build messages via LSS script templates.
Usage
- Read an LSS file
- Generate a message
Implemented LSS Group/Variables
- FieldLynx
- \13
- \14
- \16
Implemented LSS Commands
- \U\hh
- \X\hh
- \B\hh
- \D\hh
- \I\hh
- \Ic\hh
- \L\hh
- \R\hh
LSS command examples
Time Running
\11\01\01T\02%15.15s\03\04
\11 indicates a group code \01 indicates a variable within that group code \01T\02 are raw characters %15.15s is a printf statement \03\04 are raw characters
Results Header
\13\00Command=LayoutDraw;Name=Individual;Window=2;Clear=1;\0a
\13 indicates a group code \00 indicates a variable within that group code Command=LayoutDraw;Name=Individual;Window=2;Clear=1;\0a are raw characters
\13\00\01R\02
\13 indicates a group code \00 indicates a variable within that group code \01R\02 are raw characters
\13\01%s\05
\13 indicates a group code \00 indicates a variable within that group code %s is a printf statement \05 are raw characters
Event Round Heat
\13\04%s\L0000\X3\B0
\13 indicates a group code \04 indicates a variable within that group code %s is a printf statement
\L0 - move cursor to beginning of line 000 - Write 000 \X3 - Set X to 3 \B0 - delete until beginning of line until string contains 3 characters
For event 23
\13\04%s = 23|
\L0 = |23
000 = 000|23
\X3 = 000|23
\B0 = 0|23
\13\05-%s-
\13 indicates a group code \04 indicates a variable within that group code
- writes the letter dash %s is a printf statement
- writes the letter dash
\13\06%s\L0000\X2\B0\R0\05
For heat 1
\13\04%s = 1|
\L0 = |1
000 = 000|1
\X2 = 000|1
\B0 = 0|1
\R0 = 01|
]0
\13 \06 %s \L0 000 \X2 \B0 \R0 \05