CTserial reads comma-separated value strings from a user-specified serial port, parses individual channel values from the strings and writes the channel data to time-stamped CloudTurbine files.

Usage:

The “-bps” option is used to specify the number of blocks per segment.  Without this option (or if you specify “-bps 0”) the segment layer is not used in the CloudTurbine folder hierarchy.

Channel names are specified using the “-c <channels name(s)>” command line flag.  For instance, this may be “-c chan1,chan2,chan3”.  The number of comma-separated values received on the serial port must match the number of channels which have been specified using the “-c” flag.

A simulation mode is enabled using the “-z” flag.  Simulated data is produced for as many channels as have been specified via the “-c” flag.  When using simulation mode, you must also specify the desired output time period using the “-d” flag.  No data is read from a serial port when running in simulation mode.