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

Need to implement a digital io device and logger. #162

Closed
iandobbie opened this issue Sep 3, 2020 · 3 comments
Closed

Need to implement a digital io device and logger. #162

iandobbie opened this issue Sep 3, 2020 · 3 comments

Comments

@iandobbie
Copy link
Collaborator

Asynchronous digital IO for flip mirrors and similar. Currently there are two cockpit modules which do this the piDIO module and the NI6036. Both of these modules control digital devices but with no high speed or defined timing. They also provide temperature (and possibly other analouge signal) logging.

A digital device needs:

read state
set state

Possibly also requires reading a setting multiple lines at once.

Signal logging is a bit more complicated as we need to decide if the values are pushed or pulled.

@carandraug
Copy link
Collaborator

The NI6036 class in cockpit was removed in microscope-cockpit/cockpit@e2264fe

There is also the Redpitaya Server class on https://github.com/MicronOxford/RedPitaya-DSP/ (but note its different implementations on the different branches of that project as mentioned on MicronOxford/RedPitaya-DSP#10)

@iandobbie
Copy link
Collaborator Author

I have pointed the cockpit issue on PIDIO startup issues here as pidio should be totally moved out of cockpit and into microscope with a new digital IO api and also I think temperature and other scalars leading to the value logger. I will investigate should be quite easy to be honest.

@iandobbie
Copy link
Collaborator Author

This issue is completely covered by #270 and early related code. We now have an abstract class, a simulation and a concrete implementation on the Raspberry Pi. It does debug, land logvalueviewer as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants