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

Examples #6

Open
kaanaksit opened this issue Jan 4, 2019 · 7 comments
Open

Examples #6

kaanaksit opened this issue Jan 4, 2019 · 7 comments

Comments

@kaanaksit
Copy link

Sorry to bother with an another issue. I like this work, and I am hoping that this work be accessible for various parties in the future instead of me just cloning your work and not even sharing a bit with others.

It would be super cool if there can be some examples like how to upload/display a pattern. Current condition of README in this sense is limited, and does not provide an end-user ease. I am sure a keen person just read the documentation and write it's own library immediately.

@arrrobase
Copy link
Collaborator

I appreciate the feedback. I have some examples of several different colors/pattern/refresh rates I could upload.

@kaanaksit
Copy link
Author

This would be wonderful, and a great starting point for me as well to start using your library in my projects.

@nikhil4595
Copy link

@awctomlinson That would be really helpful for me as well.

@HK42
Copy link

HK42 commented Jun 3, 2021

This would also be really helpful for me if you still have those examples. Thank you

@arrrobase
Copy link
Collaborator

There's some examples of different refresh rates, bit depths, and LED colors that can be found in the pystimGUI code here: https://github.com/SivyerLab/pystim/blob/master/pyStim/pyStimGUI.py#L2041

Unfortunately I never needed to upload patterns (I'm not sure if it's even possible with this model) so I don't have any examples of that. I'm no longer coding actively so don't have the time to revisit this project to generate better documentation, but I'm happy to accept any PRs.

@niallodowd
Copy link

niallodowd commented Jun 11, 2021

Hey all! I too am looking for ways to implement this library into a ruggedized solution. After getting everything installed, I've noticed that certain calls can be repeated (ex: pycrafter4500.pattern_mode()) but after trying to write one myself to start a pattern projection:
with connect_usb() as lcr: lcr.pattern_display('start')

after working, any other command crashes the kernel, and I have to reload. Usually this would have to do with "closing" the communication, but I can't find a way to do this. Anyone know a fix?

Thanks in advance!

@AlexUrbanski
Copy link

Hello,
Does anyone have example code for projecting patterns to the LCR4500?

Thank you!

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

6 participants