Introducing waveforms(functions) to the LiveNIDaq #126
Labels
feature request
New feature or request
good first issue
Good for newcomers
hardware
help wanted
Extra attention is needed
Milestone
FEATURE: Introducing waveforms(functions) to the LiveNIDaq
Is your feature request related to a problem? Please describe.
Currently the
LiveNIDaq
API offers to users a way to set certain voltage values to desired analog channel at a time. It can be found here: https://github.com/royerlab/coPylot/blob/f99a3b7ea654fb8e7d5dd2f213cde6c5ab726c38/copylot/hardware/ni_daq/live_nidaq.py#L33 . Users can implement their own functions using this API to generate certain signal waveforms and this can be exhausting and error prone. Here I like to propose providing common waveforms within coPylot so we can implement and test it in one-place for all.Describe the solution you'd like
Final implementation I like to see consist of functions for each unique waveform that can stream the required voltages for the desired waveform with given sampling rate and characteristics. These can be member functions to existing
LiveNIDaq
class for now and we can consider later if they deserve a separate module. I like to see following waveforms (for now, and the list below can be extended at any time):The text was updated successfully, but these errors were encountered: