Skip to content

Streaming data from the XSMU #1

Description

@gitansh95

Description :

Need a function that streams data faster from the PQMS, something of the form getReading() that returns (data, dt, time_interval), where data is the datapoint, time_interval is the time interval of acquisition, and dt is the time duration of acquisition of each datapoint.

Motivation :

Need to acquire data from the XSMU as fast as possible, to go beyond 1/f dominated regime in noise measurements, and be able to calculate the resistance using the gaussian noise using fluctuation-dissipation theorem.

Possible Implementation :

This requires following features to be implemented.

1) Dynamically change baudrate to suit data stream.

	-- CHANGE_BAUD

2) Start recording

	-- START_REC : Starts recording of timed data into internal buffer.

3) Transfer recorded data chunks to computer

	-- REC_SIZE : Queries number of available data points in buffer

	-- REC_DATA : Transfers requested number of data points to driver.

5) Stop recording

	-- STOP_REC : Stops recording gracefully.

	-- KEEP_ALIVE : Stops recording if keep alive packets are not received, i.e. driver is dead.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions