Example Of A Command File; Data Files - Jetter JCM-501-E00 User Manual

Table of Contents

Advertisement

Jetter AG
Available
commands

7.11.5 Example of a command file

Task
Solution
USB flash drive -
Content
Command file

7.11.6 Data files

File format
Data lines
JCM-501-E00 User Manual
A conditional jump is defined as follows:
if
{condition}
goto
{skipped block}
:end
The commands correspond to common Windows
New functions are to be added to an installed JCM-501-E00. To this end, the fol-
lowing modifications are required:
Operating system update
New application program
New values for some of the registers
You copy the required files to a USB flash drive and create a command file for
the Autostart function.
The USB flash drive contains the following files:
The autostart.bat file
The new OS
A *.da file containing the new register values
A start.ini file and a *.es3 file containing the new application program
@echo off
if not exist \app\autostart.exe goto end
if exist \app\update.ini goto end
if exist \app\usb_update_process_marker goto dm
echo \data\update\jvm_ce0_1.00.0.04.os >\app\update.ini
md \data\update
copy \%1\jvm_ce0_1.00.0.04.os \data\update\jvm_ce0_1.00.0.04.os
echo >\app\usb_update_process_marker
md \app\progtest
copy \%1\progtest\progtest.es3 \app\progtest\progtest.es3
copy \%1\register.da \app\register.da
del \System\reset.exe
goto end
:dm
del \app\usb_update_process_marker
:end
The data file consists of the following elements:
Pure text file
Each entry must be in a separate line of text
Each line must be completed by carriage return/line feed
Comment lines must be preceded by ";"
Each data file must start with the entry SD1001.
A data line consists of the following elements:
ID of the variable at the beginning of the line
Now follows the number of the variable separated by a blank or tab
Then follows the value of the variable separated by a blank or tab
end
Programming | 7
®
command line syntax.
38 / 59

Advertisement

Table of Contents
loading

Table of Contents