UCLALabRAD / LaSER-Project

Effort to add functionality to the EGGS-Campbell repository to allow for the simulation of hardware in experiments conducted by the Campbell and Hudson labs.
0 stars 0 forks source link

Device servers + simulated general/specific devices for all devices in experiments, clean up experiments #18

Open lando224 opened 1 year ago

lando224 commented 1 year ago

Full device list: -Agilent33210A Function Generator (Experiment 3) -AMO3 Piezo (2,4) -KeysightDSOX2024A Oscilloscope (4)

lando224 commented 1 year ago

Fixed simulated oscilloscope toggling to work with new signal format. more work to be done with autoscale and testing.

lando224 commented 1 year ago

Simulated Devices: Piezo seems good to go. FG just needs implementation of update_signal_function (using scipy built-in waveforms). Oscilloscope average and peak work, frequency is mostly there, and auto scale needs a lot of work. Also, I need to go in lab and see if measuring causes waveform to appear (it seems like you can get measurements even if the channel is off). In terms of device servers, biggest issue is trace on the oscilloscope.

lando224 commented 1 year ago

frequency works for oscilloscope

lando224 commented 1 year ago

need to do a bit more research on scipy signal functions and play with agilent33210A a bit to finish function to calculate output signal for function generatro

lando224 commented 1 year ago

for FG, not sure how to support changing edge times in pulse wave using scipy. However, duty change in square wave and symmetry change in ramp wave are both supported by scipy

lando224 commented 1 year ago

Need to implement a bit more stuff for windows, and also test auto scale for oscilloscope. May add some function types to FG also. Will not be writing simulated Rigol FG in time for project submission, just Agilent

lando224 commented 1 year ago

I think simulated devices are all done (to the extent I want for project submission).