Forums
Serial Interface for PulsePalModule - Printable Version

+- Forums (https://sanworks.io/forum)
+-- Forum: Bpod (https://sanworks.io/forum/forumdisplay.php?fid=1)
+--- Forum: Software (https://sanworks.io/forum/forumdisplay.php?fid=6)
+--- Thread: Serial Interface for PulsePalModule (/showthread.php?tid=757)



Serial Interface for PulsePalModule - Jeff - 02-25-2020

Hi there...How can I run the Analog Output Module as a PulsePalModule using the serial interface? Is the syntax similar to running the module as a WavePlayer? Thanks in advance...


RE: Serial Interface for PulsePalModule - Josh - 02-26-2020

Hi Jeff,

You'll first have to put pulse pal module firmware on the device (4ch file here).
From MATLAB, you can interface with the device using the PulsePalModule class (documented here).
From the state machine, you'd trigger the device by sending a single byte. The bits indicate which output channels to trigger.

-Josh