Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should be able to override Waveform Generation with specific channels #33

Open
Poofjunior opened this issue Jan 12, 2023 · 0 comments
Assignees

Comments

@Poofjunior
Copy link
Collaborator

This is useful for live viewing.

High level, we want to be able to have a live view of a specific channel where the NI card only plays a specific channel. By default, the WaveformGenerator only takes channel specifications from the config. We want to be able to override this (sometimes) to put the NI card in a state where it's playing waveforms only for the specified channel.

old:

def generate_waveforms(cfg, plot: bool = False):
    pass  # stuff here.

new:

def generate_waveforms(cfg, plot: bool = False, channels: list[int] = None):
    pass  # stuff here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants