JaneliaSciComp / Wavesurfer

A Matlab application for electrophysiology data analysis
https://wavesurfer.janelia.org/
21 stars 11 forks source link

Add support for single-ended AI channels (both RSE and NRSE) #242

Open xup5 opened 6 years ago

xup5 commented 6 years ago

Hi,

Is there a way to change signal source types in wavesurfer?

We tested different signal type settings for our VR ball sensor. Non-referenced single-ended works best. I believe the default setting of wavesurfer is referenced single-ended.

Thank you! Xu.

adamltaylor commented 6 years ago

All analog inputs in WS (as of version 0.981) are configured in differential mode, and this cannot currently be changed. In addition to your request, we've had at least one internal request (here at Janelia) to add the ability to configure AI channels as single-ended (RSE or NRSE). I'd like to implement this, but I can't tell you when it might be done.

It sounds like your VR ball sensor is probably a floating signal source. If that's correct, you can add a couple of resistors to ground to use that source with a differential input. See the NI whitepaper

http://www.ni.com/white-paper/3344/en/

especially Table 1.

Sorry, and hope this helps, Adam

xup5 commented 6 years ago

Thanks! Looking forward to new versions.

Best, Xu.