Rhs2116 Recording
The following excerpt from the HeadstageRhs2116 example workflow demonstrates the Rhs2116 recording functionality by streaming and saving data from the Rhs2116 device.
The Rhs2116Data operator generates a sequence of Rhs2116DataFrames using the following settings:
- The BufferSize property is set to 30. Each
Rhs2116DataFrame
will contain a [1 x 30 sample] Clock vector, a [32 channel x 30 sample] AmplifierData matrix, and a [32 channel x 30 sample] DcData matrix. This corresponds to 1 ms of data per data frame. - The DeviceName property is set to "HeadstageRhs2116/Rhs2116". This links
Rhs2116Data
to the Rhs2116s on the Headstage Rhs2116.
The relevant properties are extracted from the Rhs2116DataFrame
by right-clicking the
Rhs2116Data
operator, and choosing the following Output members: Clock, AmplifierData, and DcData.
The MatrixWriters save the selected members to files with the following
formats: rhs2116pair-clock_<filecount>.raw
, rhs2116pair-ac_<filecount>.raw
, and
rhs2116pair-dc_<filecount>.raw
, respectively.
Tip
For more details about configuring the Rhs2116 and its data, read the datasheet.