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

implement reward valve as clock channel output #41

Open
nsteinme opened this issue Mar 22, 2018 · 2 comments
Open

implement reward valve as clock channel output #41

nsteinme opened this issue Mar 22, 2018 · 2 comments

Comments

@nsteinme
Copy link
Contributor

If desired output is a square pulse of duration d, then use a clock output channel, with duty cycle = 1, frequency = 1/d, run duration d. (If run duration is less precisely timed than the clock frequency then maybe use duty cycle=0.8 and frequency = 1/d*0.8 and run duration = d/0.8?)

The point is to free up an analog output channel, and make it so the reward does not interfere with analog outputs.

The change needs to happen in hw.daqController, by adding an option to use special output commands when the channel is a clock output type.

@k1o0
Copy link
Contributor

k1o0 commented May 22, 2019

I believe Jai implemented this. @jaib1 do you have a link to the code? What branches is this on and what were the changes again?

@k1o0
Copy link
Contributor

k1o0 commented Nov 8, 2022

@jkbhagatio Do you know where this code is? @pipcoen would like to use it for his experiments

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