EasyManua.ls Logo

Lightware UCX-2x1-HC30 - Update; Package Options; Complex Example

Lightware UCX-2x1-HC30
167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9. Firmware Update UCX series – User's Manual 143

Update

Command
LightwareDeviceUpdaterV2_CLI.cmd update [options]
Options
Option Description 
-p or --package  yes
-i or --ip 
one of them is
mandatory
-n or --hostName 
-r or --reportProgress Report update progress in percentage form. Default: false optional


at this command; see the Package Options section.
optional
ATTENTION! 
update command.In that case, there is no need to run the restore command after the update.
Example
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd update --ip
192.168.0.52 --package f:\!!!LIGHTWARE\firmware\taurus_v1.2.0b7.lfp2 --reportProgress
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd update --ip
192.168.0.52 --package f:\!!!LIGHTWARE\firmware\taurus_v1.2.0b7.lfp2 --reportProgress
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar update --ip
192.168.0.52 --package f:\!!!LIGHTWARE\firmware\taurus_v1.2.0b7.lfp2 --reportProgress
[2021-06-17 08:53:01.250] [ INFO] [ main] - Device IPs: [192.168.0.52]
[2021-06-17 08:53:09.075] [ INFO] [ main] - All the selected devices are accessible over the network.
[2021-06-17 08:53:11.097] [ INFO] [ main] - All the selected devices are compatible with the specified
package.
[2021-06-17 08:53:15.067] [ INFO] [ 192.168.0.52] - Taurus UCX update process started
[2021-06-17 08:53:15.074] [ INFO] [ 192.168.0.52] - Update parameters: deviceIp: 192.168.0.52, factoryDefault:
true
[2021-06-17 08:53:15.185] [ INFO] [ 192.168.0.52] - Update API version: 1.0
[2021-06-17 08:53:15.222] [ INFO] [ 192.168.0.52] - Update protocol: http://
[2021-06-17 08:53:15.223] [ INFO] [ 192.168.0.52] - Authentication type: BASIC
[2021-06-17 08:53:15.415] [ INFO] [ 192.168.0.52] - Device info: Product name: UCX-4x2-HC30, Device label:
LW_UCX-4x2-HC30_00006869, Serial number: 00006869, Mac address: a8:d2:36:F0:68:69, Ip address: 192.168.0.52, Host
name: , Package version: v1.2.0b6, Part number: 91310081, Hw version: V20_AXAX
[2021-06-17 08:53:15.450] [ INFO] [ 192.168.0.52] - Uploading firmware package.
[2021-06-17 08:53:16.108] [ INFO] [ProgressReporter] - Progress: 2%...
[...]
The lines containing "ProgressReporter" can be enabled optionally. If it is enabled, the current state is
displayed in every 5 seconds.
Package Options

Command
LightwareDeviceUpdaterV2_CLI.cmd packageOptions [options]
Options
Option Description 
-p or --package  yes
Example
c:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd packageOptions
--package f:\!!!LIGHTWARE\firmware\taurus_v1.2.0b7.lfp2
Login options:
--user : HTTP(s) basic authentication user (Default: empty string)
--pw : HTTP(s) basic authentication password (Default: empty string)
Package option example can be seen in the following section.
Complex Example
The following options applied:
Firmware is updated
Authentication enabled
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd update --ip
192.168.0.52 --package f:\!!!LIGHTWARE\firmware\taurus_v1.2.0b9.lfp2 --user admin --pw 4x2 --reportProgress
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar update --ip
192.168.0.52 --package f:\!!!LIGHTWARE\firmware\taurus_v1.2.0b9.lfp2 --user admin --pw 4x2 --reportProgress
[2021-07-01 08:35:23.421] [ INFO] [ main] - Device IPs: [192.168.0.52]
[2021-07-01 08:35:31.547] [ INFO] [ main] - All the selected devices are accessible over the network.
[2021-07-01 08:35:33.715] [ INFO] [ main] - All the selected devices are compatible with the specified
package.
[2021-07-01 08:35:37.675] [ INFO] [ 192.168.0.52] - Taurus UCX update process started
[2021-07-01 08:35:37.682] [ WARN] [ 192.168.0.52] - This update will call factory reset on the device. All user
settings will be lost.
[2021-07-01 08:35:37.688] [ INFO] [ 192.168.0.52] - Update parameters: deviceIp: 192.168.0.52, factoryDefault:
true
[2021-07-01 08:35:38.505] [ INFO] [ 192.168.0.52] - Update API version: 1.0
[2021-07-01 08:35:38.774] [ INFO] [ 192.168.0.52] - Update protocol: http://
[2021-07-01 08:35:38.776] [ INFO] [ 192.168.0.52] - Authentication type: BASIC
[2021-07-01 08:35:40.660] [ INFO] [ 192.168.0.52] - Device info: Product name: UCX-4x2-HC30, Device label:
LW_UCX-4x2-HC30_00006869, Serial number: 00006869, Mac address: a8:d2:36:F0:68:69, Ip address: 192.168.0.52, Host
name: , Package version: v1.2.0b8, Part number: 91310081, Hw version: V20_AXAX
[2021-07-01 08:35:40.728] [ INFO] [ 192.168.0.52] - Uploading firmware package.
[2021-07-01 08:35:43.736] [ INFO] [ProgressReporter] - Progress: 4%
[2021-07-01 08:35:48.744] [ INFO] [ProgressReporter] - Progress: 12%
[2021-07-01 08:35:53.759] [ INFO] [ProgressReporter] - Progress: 20%

Table of Contents

Related product manuals