AllenInstitute / MIES

Multichannel Igor Electrophysiology Suite
https://alleninstitute.github.io/MIES/user.html
Other
23 stars 7 forks source link

Always run the testpulse during DAQ #49

Closed t-b closed 5 years ago

t-b commented 6 years ago

The new mode is called "TP during DAQ" for the headstages which have that activated. Similiar to the name "TP during ITI" (inter trial interval).

t-b commented 6 years ago

Forum post: https://www.wavemetrics.com/forum/general/daqmxwaveformgendaqmxscan-running-multiple-same-time. There it says that we can't have parallel tasks for NI hardware.

Documentation: https://alleninstitute.github.io/MIES/

timjarsky commented 6 years ago

It will be important that the layout of the oscilloscope window stays consistent between TP and DAQ. Specifically, the order and position of headstages should remain constant/stable between TP and DAQ to avoid confusing the user.

t-b commented 6 years ago

@timjarsky Well if we only want to use two x-axis we have to move the plots around or?

timjarsky commented 6 years ago

@t-b if possible, display only two time-axes (three if you count the relative axes). The other axes can be hidden. I'm also open to hiding the TP time axis as it can easily be inferred from the TP param and the transients. I may preffer the latter option as it would help keep the look cleaner.

t-b commented 5 years ago

Steps:

  1. Allow selection of testpulse stimset in DA tab
    • Write channelType column in config wave. Also for normal DAQ and TP
    • Ignore testpulse channels for dDAQ/oodDAQ
    • SW_SweepSaving should ignore "TP during DAQ" channels
    • Write channelType into labnotebook.
  2. Create Testpulse data via adapted version of DC_UpdateTestPulseWaveMD for both NI and ITC
  3. Visualize the latest Testpulse in the oscilloscope data window
t-b commented 5 years ago

@MichaelHuth Regarding SW_SweepSaving should ignore "TP during DAQ" channels do you think it makes sense to implement 1D wave saving first (which this moved out of the NIDAQ support MR)?

t-b commented 5 years ago

Opened PR.