Testing a Zanscript

Once you have written a script and loaded it as a service in the Zantiks unit, it is advisable to test that it does what you want it to do.

In this example we use a script from the 5-Choice Serial Reaction Time Task (5-CSRTT) for adult zebrafish, and using a fake fish. The video illustrates how you can check a script using a fake fish, from shortening the time values in the script so that you can run through the demo quickly, to using a fake fish to check that the light stimuli and detectors are loaded correctly, and, from looking at the demo results .csv file in the Media directory, that the script is reporting as you wish.

How to test your scripts by running a demo experiment first in a Zantiks unit