Hi lab person and welcome to the forums!
It looks like you are interested in triggering the camera by hardware on a frame-by-frame basis. If that is the case, you shouldn't need to change anything in the software at all. The input to SpinnakerCapture is meant to control acquisition start only, and not frame-by-frame acquisition (as software triggering would be jittery anyway, so not very useful).
What you need to do in this case would be to connect the arduino output directly to the Spinnaker camera GPIO input in hardware. You also need to go into the SpinView configuration software and enable trigger mode.
This is all done outside of Bonsai itself and I think there are other questions in this forum that have gone through the process in more detail.