Rhd2164
The following excerpt from the Headstage 64 example workflow demonstrates the Rhd2164 functionality by streaming and saving data from the Rhd2164 device.
The Rhd2164Data operator generates a sequence of Rhd2164DataFrames using the following properties settings:
BufferSizeis set to 30. EachRhd2164DataFramewill contain a [1 x 30 sample]Clockvector, a [64 channel x 30 sample]AmplifierDatamatrix, and a [3 channel x 30 sample]AuxDatamatrix. This corresponds to 1 ms of data per data frame.DeviceNameis set to "Headstage64/Rhd2164". This links theRhd2164Dataoperator to the corresponding configuration operator.
The relevant members are selected from the Rhd2164DataFrame by right-clicking the Rhd2164Data operator and
choosing the following Output members: Clock, AmplifierData, and AuxData. The
MatrixWriter operators saves the selected members to
files with the following format: rhd2164-clock_<filecount>.raw, rhd2164-amplifier_<filecount>.raw, and
rhd2164-aux_<filecount>.raw, respectively.