-
Notifications
You must be signed in to change notification settings - Fork 0
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
create red pitaya hardware module #37
Comments
Looks like by using a combination of the from rpyc import connect
from PyRedPitaya.pc import RedPitaya
conn = connect(REDPITAYA_IP, port=18861)
redpitaya = RedPitaya(conn)
print redpitaya.ams.temp # Read property
redpitaya.hk.led = 0b10101010 # Write property
from time import sleep
from pylab import *
redpitaya.scope.setup(frequency = 100, trigger_source=1)
sleep(100E-3)
plot(redpitaya.scope.times, redpitaya.scope.data_ch1)
show() |
Upon completion of remote connecting test and satisfies oscilloscope requirements for @CyLap , then purchase 3x Red Pitayas. Can be easily purchased through RS Components. |
Today we had a chat about the convergence of this task with the similar one for using the TimeTagger for ODMR. It is important to think of the Red Pitaya module separately from the counting (which will be done using the TimeTagger). The code that is needed here is:
The final config will look a bit like this
|
To get there from where we are now:
|
To do step 6 (create interfuse) I suggest starting with the confocal_scanner_interface.py file. Then look at the opening lines of interfuse/confocal_scanner_spectrometer_interfuse.py file for ideas. We will end up with 3 hw devices essentially defined in on_activate: "self._scanner_hw", "self._trigger_hw", "self._counter_hw". Then, simply pass through as required. The exception is for scan_line, which is where you stitch together as metioned above. |
A Red Pitaya hardware module will be useful for many things. Our immediate applications will be to control the galvo mirrors and to trigger the SMIQ ODMR sequence.
The text was updated successfully, but these errors were encountered: