Skip to contents

write data block to database table

Usage

hsWriteBlockToTable(
  channel,
  block,
  blockName,
  tblNamePtrn = "tblSenGrabSmp_@M",
  boolAsk,
  dbg = FALSE
)

Arguments

channel

database connection

block

block

blockName

block name

tblNamePtrn

name of table to be written in database. @M is replaced with the name of the monitoring point

boolAsk

logical. Ask before tropping existing tables?

dbg

If TRUE, debug messages are shown