Zapit-Optostim / zapit

General purpose optostimulation system
GNU Lesser General Public License v2.1
6 stars 1 forks source link

Need a solution for sending data to Bonsai #63

Closed raacampbell closed 1 year ago

raacampbell commented 1 year ago

Easiest for now is to save stimuli to disk and have Bonsai present them with code that is already written in bonsai. To this end:

  1. Waveform arrays should be saved (as version 6) .mat files. DONE 138a18806aa9c545b6929d6a4fd0132c09d8c866.
  2. Write a minimal example class wit the .NET api to show how they can be presented. 738fd084b234743489646e9a4e1a545e61f6ee21 (still need to add trigger line)
  3. Stimulus config details will also need to be saved.
raacampbell commented 1 year ago

The minimal wrapper is here: 6dda03efb45f487fcca20ca6bd15811715dfc1fa but it uses Vidrio wrappers and in this case we want to switch to .NET

raacampbell commented 1 year ago

Triggering works in .NET version 9d33479c26f0f98f487c1e7f025c1c576f8fa0d4