EasyManuals Logo

STW TC1 User Manual

STW TC1
374 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
Page #326 background imageLoading...
Page #326 background image
11 Utilities Tools
User Manual 326/374
11 Utilities Tools
Description
This chapter provides an overview, including a short description, about the utilities of STW available on the TC1.
11.1 stw_dptool
NAME
stw_dptool - tool shows the content of the datapool
SYNOPSIS
stw_dptool [-h] [-v] [-m] [-a] [-x] [-z]
[-d <dp_name> <dp_list> <dp_var>]
[-s <dp_name> <dp_list> <dp_var> <value>]
DESCRIPTION
This tool can show the content of the datapool. It allows the user to print
all datapools or only a subset of lists or variables of a specifc datapool.
OPTIONS
-v Version number of the tool.
-h Usage and options (help).
-a <datapool_path>
Print a list of all datapools found under <datapool_path>.
Calling without a path will use default directory: /var/run/taf/Datapools.
-p <dp_name> <dp_list> <dp_var>
Print only a specific datapool, list or variable.
-s <dp_name> <dp_list> <dp_var> <value> <datapool_path>
Set specific <value> to <dp_var>, <datapool_path> is optional.
-x Print a list of all datapools with detailed information.
-z Print a list of all datapools with more dedetailed information.
EXAMPLES
Print all datapools found under /var/run/taf/Datapools:
stw_dptool -a
Print all datapools found under /mnt/dataflash/Datapools:
stw_dptool -a /mnt/dataflash/Datapools
Print only the datapool 'gpsDPL':
stw_dptool -p gpsDPL
Print only the list 'gpsList' of the datapool 'gpsDPL':
stw_dptool -p gpsDPL gpsList
Print only the variable 'gps_lat' of the list 'gpsList' of the datapool 'gpsDPL':
stw_dptool -p gpsDPL gpsList gps_lat
Set the variable 'gps_qual' of the list 'gpsList' of the datapool 'gpsDPL' to '4'
(using the default datapool path: /var/run/taf/Datapools):
stw_dptool -s gpsDPL gpsList gps_qual 4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish