AddUserDataMultiRow: Stores (asynchronous) user supplied data.

View source: R/RcppExports.R

AddUserDataMultiRowR Documentation

Stores (asynchronous) user supplied data.

Description

AddUserDataMultiRow stores user supplied data asynchronously to the TOF data acquistion into the current data file. Creates datasets "Data" and "Info" at Location.

Usage

AddUserDataMultiRow(
  Location,
  NbrElements,
  NbrRows,
  Data,
  ElementDescription = NULL,
  CompressionLevel = 0L
)

Arguments

Location

Location of group in HDF5 file where the datasets are created.

NbrElements

Number of elements to store (per call to this function), maximum is 1048575.

NbrRows

Number of rows to store per call to this function (each row contains NbrElements entries), maximum is 2047.

Data

Vector of length NbrElements*NbrRows containing the data to be stored in dataset "Data".

ElementDescription

Vector of length NbrElements containing the text description of elements. If ElementDescription is NULL the dataset "Info" is not created.

CompressionLevel

ZLIB compression level (0-9) for dataset creation. If the dataset at Location already exists this parameter has no effect.

Details

Same as AddUserData, but adds argument NbrRows to add several lines of user data at once.

See Also

Other Data storage functions: AddAttributeDouble(), AddAttributeInt(), AddAttributeString(), AddLogEntry(), AddUserData(), GetRegUserDataDesc(), GetRegUserDataSources(), KeepFileOpen(), QueryRegUserDataSize(), ReadRegUserData(), RegisterUserDataBuf(), RegisterUserDataNoStore(), RegisterUserDataWrite(), UnregisterUserData(), UpdateUserData()


pasturm/TofDaqR documentation built on March 29, 2024, 12:10 a.m.