The basics of how to control the microscope over the network have been described here.
Over time, a number of other commands have been added to facilitate the control of Scanbox remotely. Here is an up-to-date list of network commands. If there are others you need just let us know.
Set animal ID to <string>
Set ROI field to <NNN> (typically a number, but it can be a string too)
Set the experiment field to <NNN> (typically a number, otherwise do not use autoincrement)
Set the base data directory to <string>
Programatically press the Zero button (XYZ) in Knobby
Moves the microscope. <ax> is ‘x’, ‘y’ or ‘z’, and determines which axis is moved . <val> is the signed value in micrometers that you want to move by. Example ‘Px-50’ Use with knobby in super-fine setting.
Move the microscope to the origin (0,0,0)
Set the port camera mirror on or off (‘0’ or ‘1’)
If char is ‘0’ it blanks the laser, otherwise it turns it on. Used to blank laser between trials in long experiments.
Sets the optotune slider to the value represented by <string>
Appends <string> to the message panel
Clear the message panel
Set SLM disk radius to NNN’
Set SLM stimulation time to NNN msec.
Set SLM laser power (slider) to NNN (value between 0 and 5).
Compute SLM phase
Select cell #N to be ready for SLM stimulation
s Stimulate using current SLM parameters
e Trigger LED stimulation with current parameters
Note: All commands should be terminated by ‘LF’