Commit Graph

25 Commits

Author SHA1 Message Date
ee58f19251 Change in DaqConfigurations API for consistency 2021-05-14 11:24:07 +02:00
bd4961710e Bugfix in deserializing device info. Added comments and function in stream manager to rescan Daq devices 2021-05-13 21:35:51 +02:00
57fe4e6b7c Playing a sine wave works, recording seems to work, although we have not checked what is actually recorded. For that we now switch to ACME! 2021-05-08 15:06:11 +02:00
b031dfb280 Cleanup some debug print statements --> logging interface 2021-05-08 15:03:57 +02:00
e72e9154aa StreamManager is new frontend to all DAQ. 2021-05-07 22:53:29 +02:00
ee888891d9 Bugfix in lasp_daq.pyx. This was the reason of the initial tick in the audio. The CppSleep was done with the GIL held. Sometimes indentation is what you need in PYthon... 2021-05-07 22:50:03 +02:00
466a6f5cc1 Stream and recording seems to work. Also signal generator seems to work. Error handling is not working properly yet. 2021-05-05 19:48:04 +02:00
4657063467 Record is back working. Now ready for testing signal generator 2021-05-04 15:10:13 +02:00
fa32e9eac3 Bugfixes of Python/C++ interaction layer, first tests for DaqConfiguration code 2020-10-18 13:58:42 +02:00
fa0c241fb9 Daq measurement interface changed to permanently work with UlDaq. Should become a choice in future. Simultaneous output and input not yet working. Probably the DAQ API is not working properly with threads. We should find a minimum working example of simultaneous input/output. Then, the UlDAQ and RtAudio details should be abstracted away in a common interface, written in C++ 2020-09-18 08:52:56 +02:00
c9b84e4c96 First work to multiple API AvStreams. Python thread for UlDaq does compile, ready for testing 2020-09-15 20:34:27 +02:00
04c3631a72 Renamed an attribute in daqconfigs. Small bugfix in lasp_calibrate.py 2020-03-09 15:50:46 +01:00
dcb861a6ef Output data for device now directly written to buffer. Bugfix in interleaved/deinterleaved creation of Numpy array from data 2019-12-26 16:04:49 +01:00
705f77858d Updated API for recording using context manager. Easy for Recording, both in GUI and in CLI 2019-12-23 12:25:37 +01:00
b88ec2904c Update API for the AvStream. 2019-12-22 15:00:50 +01:00
0109056b5f Recording is working again. Sometimes it hangs on closing stream. 2019-12-18 10:02:20 +01:00
1f1922272d Lots of code and comments improvements 2019-10-27 14:19:26 +01:00
23fc4c9259 Exposed AvPowerSpectra explicitly. Comment improvements. Line breakages, etc. Added 10s and infinite to TimeWeighting types. 2019-03-28 21:26:11 +01:00
c830891f66 Added PowerSpectra function to report_tools, plotting level differences. 2018-12-28 13:55:09 +01:00
f5e98088ed Updated calibration script 2018-12-28 13:49:50 +01:00
c152bf65f3 Improved bar colors. Ticks on y axis in float on bars. Legend positions in bars. Moved asceefigs repo into lasp.tools. 2018-10-01 14:25:09 +02:00
a10326d617 Converted daqconfig to Python3.7 dataclass. Changed revtime name to revtimewidget. Added real time APS dialog. But contains bug on close! Split up SLMWidget and SLM into different files for accessing the SLM class from scripts. Changed lower y-limits of figure plot in GUI to something more sensible. Added umik to list of devices, but does not work yet due to 24-bits audio bug. First steps to change legend position in bar plot. 2018-09-13 13:56:05 +02:00
889a1898f5 Tracer level in dmat_to_ndarray lower. set only one input channel default in default_device. Bugfix nogil on data read in daqdevice. Lots of improved comments. Real time power spectra functionality working again 2018-08-01 20:36:58 +02:00
473de073a6 Bugfix in Measurement.exportAsWave, throughput of sensitivity value into final measurement object in Recording class, added lasp_record and lasp_playback scripts. 2018-07-31 13:09:42 +02:00
0475b7a60b Moved lasp_playback to this repo 2018-07-31 11:23:39 +02:00