This script demonstrates the code to include in a script for a behavioural assay, such as aversion learning, that involves delivering a mild shock to fish.
The ACTION SHOCK section of this demo script demonstrates what code should be included in a script that delivers a mild electrical shock stimulus.
INCLUDE ZSYS DEFINE ITI 5 DEFINE TRIALS 3 ACTION MAIN INVOKE(SHOCK,TRIALS) COMPLETE ACTION SHOCK SET(VOLTAGE_LEVEL,9000) WAIT(ITI) SET(VOLTAGE4,70) WAIT(ITI) COMPLETE
- The shocking plates must be plugged in to socket CN5 at the back of the top box of the AD unit.
- In ACTION SHOCK you will see the voltage level is set at 9000 - the highest this can go is 10000.
- After the unit waits for a predefined time, the unit generates a 70ms pulse.
- A strip of LED lights are supplied with the Zantiks AD unit to test the shocking plates using this demo script. The LEDs will flash to indicate a shock was successfully initiated (the voltage level must be no lower than 9000 for the test). To run the experiment, unplug the LED lights so the voltage isn't drained away from the plates.
Here you can download the mild shock demo script as a .zs file. Right click on the download link below and download / save the file as a zanscript file, i.e. in the same format: mild_shock_demo.zs. Remember that the mild shock plates must be plugged in to the CN5 socket located at the top rear of the AD unit.
Script download: mild_shock_demo.zs