Rigbox
Rigbox copied to clipboard
Choosing custom water type for single session/experiment
Enable water type to be selected for the session (for rigs with two reservoirs)—as opposed to a single type being hard-coded in hw/RewardValveControl
Okay I'll add this as a rig option that can overwrite the one set in the hardware file...
Do you use two separate valves or just one?
Just one valve!
On Thu, Jan 10, 2019 at 9:38 AM k1o0 [email protected] wrote:
Do you use two separate valves or just one?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cortex-lab/Rigbox/issues/88#issuecomment-453031438, or mute the thread https://github.com/notifications/unsubscribe-auth/AZFX-AqZ727oonh0vVhqGjjHiIqDCetKks5vBwojgaJpZM4Z1Npc .
-- Lauren E. Wool [email protected] www.laurenwool.com +44 (0) 7761 303990 +1 (802) 999 7192
I've made the relevant changes which can be found on this commit: 8701a6936e1e16536727f6268f8becfe9964ea8a
To try it out move both expServer and mc to the 'waterType' branch of Rigbox. Now the rig options dialog will have a drop down menu (grey'd out if you're not logged into Alyx) where you can override the default water type for that rig. This, like with other rig options, is not saved between experiments but is saved between rigs. In other words people using your rig will need to double-check the water type each experiment. Once a non-default water type is selected, it will be the water type for that rig for every experiment until it is changed or mc is restarted.
Note, the default water type (i.e. the one you set in the hardware file) should be the water type with which you did the calibration.
Let me know if it works or if there are problems.
Hello, we are also using the Rigbox in our experimental setup, and would like to have two valves (One valve for rewarded trials, one valve for non-rewarded trials to make the same sound but not to give water, or use one for Left one for right rewarded trials). How can we implement this?