RegisterUserDataBuf: Registers a data source to store (synchronous) user supplied...

View source: R/RcppExports.R

RegisterUserDataBufR Documentation

Registers a data source to store (synchronous) user supplied data.

Description

RegisterUserDataBuf registers a data source to store user supplied data synchronously to the TOF data acquistion (every buf) into the data file being currently recorded. Creates datasets "TwData" and "TwInfo" at Location.

Usage

RegisterUserDataBuf(
  Location,
  NbrElements,
  ElementDescription = NULL,
  CompressionLevel = 0L
)

Arguments

Location

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

NbrElements

Number of elements to store per buf.

ElementDescription

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

CompressionLevel

Compression level used for data storage (0: no compression, 1-9: increasing levels of compression (and CPU load)).

Details

Needs to be executed before starting the acquisition. Use UpdateUserData to actually store the data.

See Also

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


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