-
Notifications
You must be signed in to change notification settings - Fork 0
Home
StimControl was written and primarily tested on MATLAB R2023b. Although best efforts have been made to ensure cross-version functionality, some features may not work on other versions of MATLAB. In particular, SerialComponent may run into compatibility issues when MATLAB versions are newer, as in 2023 the new serial library was only partially implemented.
- imaq toolbox (currently gentl and gige have been explicitly tested)
- data acquisition toolbox
- Serial library (or serialport for newer versions - see the serial documentation)
The first time you start StimControl, all supported & connected devices should be detected and initialised automatically.
You will need the following config files to be defined to use any DAQ features:
- Channel parameters file for each DAQ you want to use
These files must also be manually edited whenever a new device is connected to the PC if you wish to use it within StimControl. Config files outlines the process for this.
Once you have StimControl set up, you can write stimulation protocols! Example protocols can be found in the experiment_protocols folder, and in-depth explanations of the logic can be found on the Protocols page of the wiki. You can check your protocols using the Protocol Checker under the Tools menu. Note that if you are using multiple computers, it is worth thinking about synchronisation methods to ensure your data can be aligned
Files are saved in users/[username]/Desktop/logs/[mouseID]/[yymmdd]/[experimentID] by default. This save path can be changed in the Setup tab.
Bugs should be reported on the issues page.
- if you want to do single runs of the same trial twice, you will need to click away from and then back to the trial using the arrows.
- to run StimControl alongside additional programs that communicate to various devices, launch StimControl first, then deactivate any detected devices you want to interface with elsewhere
- If you make changes to a protocol file while it's loaded, you will need to re-load it (unload by deleting the entry in the protocol field then reload) for StimControl to notice any changes.
Every attempt has been made to make StimControl's functionality as smooth as possible, but as with all projects the point at which I had to call it finished came far too soon. Please document any issues you find in the issues page, and document any fixes or workarounds. You'll have a hard time finding answers to any issues you might find anywhere else on the internet, so we have to stick together.