TSP: The Transport Sample Protocol



ASCII Writer
[TSP Consumers]

A TSP ascii writer consumer. More...

Collaboration diagram for ASCII Writer:

Modules

 ASCII Writer Library
 

The TSP ascii writer consumer library API.



Detailed Description

A TSP ascii writer consumer.

a TSP consumer which is able to output symbols values in different ASCII file format. It's output may be standard output or file with other options to chose file format and eventual size limit. It's main purposes is to be able to export TSP distributed symbols and value to some kind of CSV (Comma Separated Value) format in order to be easily post processed by spreadsheet softwares or simpler plotting software like Gnuplot (http://www.gnuplot.org/). You may specify different file format output which essentialy change the header of the file.

tsp_ascii_writer [-n] -x <sample_config_file> [-o <output_filename>] [-f <output file format>] [-l <nb sample>] [-u TSP_provider URL ]
  • -n (optional) will check and enforce no duplicate symbols
  • -x the file specifying the list of symbols to be sampled
  • -f (optional) specifying the format of output file. Recognized file format are
    • simple_ascii tabulated ascii no header
    • bach tabulated ascii with BACH header
    • macsim tabulated ascii with MACSIM header
    Default is simple_ascii.
  • -o (optional) the name of the output file. If not specified standard out is used.
  • -l (optional) the maximum number of sample to be stored in file. Unlimited if not specified.
  • -u (optional) the TSP provider URL. If not specified default is localhost.
Framework Home Page.

Beware !! TSP wave is coming...