cortex-lab / Rigbox

A MATLAB toolbox for running behavioral neuroscience experiments and managing data
GNU General Public License v3.0
33 stars 16 forks source link

Zeroing of inputs should happen in init #285

Open k1o0 opened 4 years ago

k1o0 commented 4 years ago

Describe the bug The devices should be zero'd in the init method of exp.SignalsExp.

To Reproduce https://github.com/cortex-lab/Rigbox/blob/cd888f0ae2653ac78651243b22d566ab67a6fb60/%2Bexp/SignalsExp.m#L250-L254

Expected behavior To be consistent with the base class this should occur in init. This also makes the device values closer to zero at expStart.