Closed nzjrs closed 3 years ago
actually everywhere. I guess we need to send this information from the SampleChunk (when we detect it changes)
C:\Users\John Stowers\Documents\GitHub\fly-vr (master -> origin)
(venv) λ flyvr-daq.exe --config tests\sample_data\v2\john_rig_only_daq.yml -v
flyvr.daq : INFO starting DAQ process
flyvr.audio.AudioStimPlaylist : DEBUG playlist item: Delay (<flyvr.audio.stimuli.ConstantStim object at 0x0000027D9D776148>)
flyvr.audio.AudioStimPlaylist : DEBUG playlist item: Opto1090-9-1 (<flyvr.audio.stimuli.PulseStim object at 0x0000027D9D6CC088>)
flyvr.audio.AudioStimPlaylist : DEBUG playlist item: Opto1090-8-1 (<flyvr.audio.stimuli.PulseStim object at 0x0000027D9D6E4888>)
flyvr.audio.AudioStimPlaylist : DEBUG playlist item: Opto1090-7-1 (<flyvr.audio.stimuli.PulseStim object at 0x0000027D9D6E6C08>)
flyvr.audio.AudioStimPlaylist : INFO playlist paused: False order: <Randomizer([Delay, [...]],mode=none,repeat=1>
flyvr.audio.AudioStimPlaylist : INFO playing item: Delay
flyvr.daq : INFO initializing DAQ Tasks
flyvr.daq.IOTask : INFO DAQ:Dev1: analogoutput/['ao0'] (limits: 10.0, SR: 10000, nSamp/ch: 5000, nSamp/event: 250, RSE: True)
flyvr.daq.IOTask : INFO DAQ:Dev1: analoginput/['ai0', 'ai1'] (limits: 10.0, SR: 10000, nSamp/ch: 10000, nSamp/event: 10000, RSE: True)
flyvr.common.SharedState(in='daq') : INFO signaling daq ready
flyvr.daq : INFO starting DAQ tasks
I noticed this because of the incorrect buffer size for the output (5000) but it was nevertheless also fixed with chunk provenance in https://github.com/murthylab/fly-vr/commit/9d87ca8924328b5598e61789c31c35065f3e6885
or at least the accounting of when things occur is incorrect?
because of how the
data_generator
works, maybe we have tosignal_new_playlist_item
before the chunk is callback'd to the daq buffer?retroduce
notice that in the toc file Opto1090-9-1 plays immediately after Delay