Forums
Send input action from software? - 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: Send input action from software? (/showthread.php?tid=616)



Send input action from software? - nobias - 06-14-2019

Hi! Is it possible to generate an input action to the state machine from software (Matlab) on the host? I'm aware that there are softcode output actions, but is there also a way to generate an input event?
Thanks!


RE: Send input action from software? - Josh - 06-16-2019

Hi Nobias,

The function you're looking for is SendBpodSoftCode()
This example shows its usage.

-Josh