View source: R/logger_PCE_TDS100.R
readLogger_PCE_TDS100 | R Documentation |
Read logger file of flow meter TDS 100 by PCE Deutschland GmbH
readLogger_PCE_TDS100(txt, timeformat = .defaultTimeFormat("v3"))
txt |
full path to text file generated by logger |
timeformat |
Date and time format used in the file. Default: "%y-%m-%d %H:%M:%S" |
data frame with columns tstamp, flow, flowunit,
vel, velunit, UP, DN, Q. Duplicate lines
are removed. The data frame has an attribute metadata containing the
meta data of the file, as returned by .getMetadata
http://www.warensortiment.de/bedienung/ba_durchflussmessgeraet-pce-tds100h_de-v-1-1.pdf
http://www.industrial-needs.com/manual/manual-pce-tds-100h.pdf
## Not run: # set path to example file (contained in this package) file_1 <- extdataFile("PCE/example_PCE_TDS100.log") file_2 <- extdataFile("PCE/example_PCE_TDS100_noMeta.log") # read a file containing metadata x1 <- readLogger_PCE_TDS100(file_1) # warnings about duplicate timestamps # read a file not containing metadata x2 <- readLogger_PCE_TDS100(file_2) # warning about missing meta data # examine the structures of the results str(x1) str(x2) # get meta data from attribute "metadata" kwb.utils::getAttribute(x1, "metadata") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.