Copyright 2017. All rights reserved. Advantech Co. Ltd.
Page 58
cli > set 1 3 cpu_model=N4200 frequency=1.10 core_count=4
set function OK.
Figure 40: The ‘set’ Command
3.10.3.5
start
The ‘start’ command executes a specific DUI function or runs all functions of a specific
diagnostic/update service:
cli > start <service ID> <function ID> <parameter=value>
For example, execute the cpu_ver function of cpu test service with current parameter values
(see
Sections 3.10.3.3
cli > start 1 3
start the function 3 of service 1 ...
start function OK.
Figure 41: The ‘start’ Command to Start a Function
Execute all diagnostic functions of the cpu test service with current parameter values:
cli > start 1
start all functions of service 1 ...
Figure 42: Execute all Functions of the Cpu Test Service
3.10.3.6
stop
The ‘stop’ command is used to stop the execution of a specific DUI diagnostic/update
function:
cli > stop <service ID> <function ID>
For example, stop the cpu_ver function of cpu test service:
cli > stop 1 3
service stopped.
stop function OK.
Figure 43: The ‘stop’ Command
3.10.3.7
wait
The ‘wait’ command is used to pause current program execution, waiting till the previous
running diagnostic/update function gets done. This is useful as some diagnostic/update
functions may take some time to finish the execution:
cli > wait <service ID> <function ID>
For example, issue this command in CLI to wait until the execution of the cpu_ver function
(in cpu diagnostic service, see
Sections 3.10.3.3
) is completed:
cli > wait 1 3