...
Code Block |
---|
<?xml version="1.0" encoding="utf-8"?> <program> <models> <1>LS13_0T</1> <2>LS10_0T</2> <3>LS8_0T</3> <4>LSPRO1</4> <5>LSPRO2</5> <6>LS13_0T_C1</6> </models> <package>FUSION</package> <psn>000001</psn> <name>7MIN/KM -- TEST</name> <version>H101S101</version> <levelamount>1</levelamount> <segamount>18</segamount> <parameters> <parameter> <id>1</id> <name>time</name> </parameter> <parameter> <id>2</id> <name>incline</name> </parameter> <parameter> <id>3</id> <name>speed</name> </parameter> <parameter> <id>4</id> <name>resistance</name> </parameter> <parameter> <id>5</id> <name>message</name> </parameter> <parameter> <id>6</id> <name>repeat</name> </parameter> </parameters> <levels> <!-- Level 1 --> <level> <!-- Workout time in minutes --> <t>25</t> <!-- Warm Up - 2 mins30s, 0 incline, 2.5 km/h --> <e><1>120<<e><1>30</1><2>0</2><3>25</3><6>0</6></e> <!-- Run Event - 2 mins30s, incline 1, 5.3 km/h --> <e><1>120<<e><1>30</1><2>1</2><3>53</3><6>1</6></e> <!-- Run Event - 2 mins30s, incline 2, 5.3 km/h --> <e><1>120<<e><1>30</1><2>2</2><3>53</3><6>1</6></e> <!-- Run Event - 2 mins30s, incline 3, 5.3 km/h --> <e><1>120<<e><1>30</1><2>3</2><3>53</3><6>1</6></e> <!-- Cool down - 2 mins30s, 0 incline, 2.5 km/h --> <e><1>120<<e><1>30</1><2>0</2><3>25</3><6>0</6></e> </level> </levels> </program> |
...
We are interested in the XML under levels. You can define multiple difficulty levels.
Tag | |
---|---|
<t> | total time of the run in minutes |
<e> | event |
<1> | time in seconds for the event |
<2> | incline |
<3> | speed in mph (53 = 5.3 mph) |
<6> | 0 = warm up/cool down, 1 = run |
Other observations:
- Fails to function properly if <6> has no values set to 1
- Anything you specify with a Repeat value of 1 will repeat (in order detailed) in order to get to the desired time specified in <t>.
- Comments between level and events cause the time not to get passed along
Plug your USB key in, your Livestrong treadmill and you will given the option to import the new routine.
...