pull_bed_stream: Pull the stream from the IOBED connection

View source: R/pull_bed_stream.R

pull_bed_streamR Documentation

Pull the stream from the IOBED connection

Description

Pull the stream from the IOBED connection

Usage

pull_bed_stream(con, close = TRUE)

Arguments

con

(serialConnection) serial connection for the IOBED bed, as obtained by bed_connection.

close

(lgl, default TRUE) would you like the connection will be automatically closed after pulling?

Value

a character vector from the data retrieved by the buffer of the connection con, one character each element of the vector.

Examples

## Not run: 
  con <- bed_connection()
  pull_bed_stream(con)
  open(con)
  # do some stuff
  close(con)

## End(Not run)

UBESP-DCTV/iobed.bed documentation built on Sept. 4, 2022, 5:57 a.m.