Sie sind nicht angemeldet.
micpt
Junior Member
![]() |
Quellcode |
1 |
xsltproc.exe template.xsl Aquasite2012.xml |
![]() |
Quellcode |
1 2 3 4 |
:top xsltproc.exe template.xsl Aquasite2012.xml -o output1.xml timeout 10 goto top |
Zitat von »Legend«
xsltproc.exe = the xsl processor
template.xsl = the template-file
Aquasite2012.xml = the file where Aquasuite stores the Data
-o output1.xml = the new transformed XML-File for LCDHost - you can choose also other names
timeout 10 = wait 10 sec.
goto top = repeat from top
When started, this Batchfile will repeat all 10 seconds the transformation of the As2012 File to output1.xml. Please keep in mind that this cost CPU-Time and Utilisation. My first test i started with the saxon processor and all 10 sec. my CPU utilisation rise up to 13%-15%. Not really good when running with you Squad trough Teheran and searching the Sniper to knife him (BF3 Gamer). XSLTproc is better - only 1% to 2% CPU utilisation.
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
<logdata><Date>2013-04-07</Date><Time>02:59:10.423</Time> <Sensor1>26.25</Sensor1> <Sensor2>45.45</Sensor2> <aquaeroCPU>28.7</aquaeroCPU> <Flow1>158.2</Flow1> <Flow2>148.6</Flow2> <Fan2>876</Fan2> <Fan3>873</Fan3> <Fan4>958</Fan4> <FullstandinP>80</FullstandinP> <Wassertemperatur>29.16</Wassertemperatur> </logdata> |
Zitat
1. First run task scheduler (just type task scheduler on the windows 8 start screen and press enter and it should start)
2. Create a new task (right click "new task")
3. Change it to a system run task (click "change user or group" and type "System" under the object name and press enter)
4. Check the "Hidden" check box
5. Give the task a name such as XML batch
6. Set a New Trigger as "At System Startup" and make sure the enable check box is ticked (click the "trigger" tab and click "new" then choose the "at system startup" drop box
7. Set the action to start the xml.bat file (click "actions" tab and "new" button then choose "start a program" and browse to where the batch file is saved
8. Finally click on the "OK" button to save and finish.
9. You can now right click it to run it manually. Next time your system starts it should start automatically.
micpt
Junior Member
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<logdata> <Date>2013-04-13</Date> <Time>20:48:29.411</Time> <Sensor1temperature>24.02</Sensor1_temperature> <Sensor2temperature>45.97</Sensor2_temperature> <aquaeroCPUtemperature>31.41</aquaeroCPU_temperature> <Flow1flow>158.9</Flow1_flow> <Flow2flow>146.7</Flow2_flow> <Fan2rpm>882</Fan2_rpm> <Fan3rpm>898</Fan3_rpm> <Fan4rpm>870</Fan4_rpm> <FullstandinPpercent>80</FullstandinP_percent> <Wassertemperaturtemperature>25.48</Wassertemperatur_temperature> <Pumpefrequency>88.079859072225489</Pumpe_frequency> <Pumpevoltage>12.163934426229508</Pumpe_voltage> <Pumpecurrent>0.584</Pumpe_current> <Pumperpm>5284.79154433353</Pumpe_rpm> </logdata> |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »micpt« (14. April 2013, 01:59)
micpt
Junior Member
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »micpt« (24. November 2013, 15:00)
-