Command setupupdate, Table 48, Parameters for command setupupdate – Vaisala Hydromet Data Collection Platform User Manual

Page 268

Advertising
background image

User's Guide ______________________________________________________________________

266 _________________________________________________________________ M210933EN-C

Command setupupdate

The data logger setup can be manually loaded from HTTP or FTP
server. The shell command syntax is as follows:

setupupdate {-uri <uri>} {-dst <filename>} {-if <netif>}

Examples of command setupupdate:

/ > setupupdate -uri http://172.25.112.180/setups/demo1.asd

Received 306 bytes of 306
Received 113414 bytes of 113414
Setup is ok
Resetting device now

/ > setupupdate -uri http://setupmgr/descex.adc -dst /Ext/
descex.adc -if eth1

Received 3863 bytes of 3863
Setup is ok
Resetting device now

/> setupupdate

Received 306 bytes of 306
this setup is already in use

Table 48

Parameters for Command setupupdate

Parameter

Use

-uri <uri>

Specifies HTTP, FTP, or file URI where setup
descriptor will be loaded from. For example,
-uri http://172.25.112.180/setups/descex.asd
- If URI specifies a descriptor, the descriptor has
to be different from the currently running setup
before the setup it defines can be taken into use.
- If URI specifies a setup file, descex.adc in this
example, it is always taken into use.
- If not given, the command uses setup manager
settings from parameter set SetupManager.

-dst <filename>

File on the logger where file will be loaded to for
temporary use. Preferably, use /Ext/<filename>.
- Use external CF card if present.
- Otherwise, use /Log/<filename>.
- Alternatively, target can be set to parameter set
SetupManager, parameter target.

-if <netif>

Network interface to use for loading. Needed only
if more than one interface is available.

Advertising