Increase AI channel number

115 views
Skip to first unread message

春月Li

unread,
Jun 23, 2021, 10:58:25 PM6/23/21
to WaveSurfer
Dear all, 

I use WaveSurfer-0.965. All my drivers and NI devices are correct. WaveSurfer works perfectly in my experiment. It's just that I used all 8 AI channels in WaveSurfer. Now, I need an extra AI channel to get the signal from Scanimage. Is there a way to do increase the AI channel in WaveSurfer?  Thank you!

Best,
Chunyue

Adam Taylor

unread,
Apr 25, 2022, 4:29:41 PM4/25/22
to 春月Li, WaveSurfer
Chunyue,

I realize this almost certainly comes too late to be helpful, but: There is no way to increase the AI channel count in WaveSurfer beyond the number that is supported by your DAQ card in *differential* acquisition mode.  Your options are to: 1) buy a DAQ card with more AI inputs, or 2) add an additional DAQ card (WaveSurfer can use multiple DAQ boards).

If WaveSurfer supported using the AI channels in "single-ended" mode, it could support more channels.  But there are UI implications to supporting both diff and SE, and there has never been time/money to add this feature.

Adam Taylor
HHMI Janelia


--
You received this message because you are subscribed to the Google Groups "WaveSurfer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wavesurfer+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wavesurfer/520150e0-dbb7-482f-aced-3e7a7555b776n%40googlegroups.com.

rmojica...@gtempaccount.com

unread,
Jun 30, 2023, 12:34:21 PM6/30/23
to WaveSurfer
To this point, I am trying to record a treadmill through an analog channel. I have a PCIe-6374 which supports four AI channels in differential mode, and my breakout box (BNC-2110) could accommodate them. However, WaveSurfer only lists two channels (AI0 and AI1), which are currently being used for ephys. Is there any way to confirm that WaveSurfer is reading the available channels incorrectly, or am I missing something here? I'm using WS 0.982 at the moment.

Best,
Raul

Adam Taylor

unread,
Jul 5, 2023, 5:14:26 PM7/5/23
to WaveSurfer
For most of the X-series cards, the number of differential AI channels is half the number of physical channels.  (I assume this is related to the fact that the 6374 is a simultaneous sampling card, which most of the X-series cards are not.)  But for that card, it seems the number of differential channels is equal to the number of physical channels.

For a quick-and-dirty fix, assuming the PCIe-6374 is the only card you need to use, I would suggest removing the "/2" on line 4 of the file

+ws/getNumberOfDifferentialAITerminalsFromDevice.m

I'm afraid my time commitments don't allow me to do much more right now.  In any case, I'm *very* reluctant to provide bug-fixes for older versions of WaveSurfer.

Hope this helps,
Adam Taylor
HHMI Janelia

rmojica...@gtempaccount.com

unread,
Mar 15, 2024, 9:38:03 AM3/15/24
to WaveSurfer
Update: I abandoned the idea for a while, but I just tested the workaround and it works like a charm.
Thanks!

Adam Taylor

unread,
Jul 10, 2024, 11:28:58 AM7/10/24
to WaveSurfer
Glad to hear it!

Adam
Reply all
Reply to author
Forward
0 new messages