Multichannel Systems Roboocyte2 Scripting Manual User Manual
Page 6

Roboocyte2 Manual
6
1.2.2 User Defined Interactive Variables
There are also user defined interactively changeable variables. These variable are
defined by the command SetDialogVariable.
Robo2.SetDialogVariable("clampvoltage", -60, "Recording Voltage in mV");
generates the variable "clampvoltage" with the value -60. The comment
"Recording Voltage in mV" will help you to identify the meaning of the variable
when opening the dialog.
To interactively display and change the values the command ShowDialog() is
used.
1.2.3 Predefined Variables
Some values which are important for the use of the Roboocyte2 are predefined
(they do not have to be defined via
var
). These variables can be changed in the
script source and also interactively via display of a dialog during script execution.
Some of these variables are used as parameters in the high level commands, so
that a script can be easily parameterized in the dialog without having to change
the script source code.
All of these variables are of type int.
The syntax to set the values in the source is as follows: The command is a
function call which starts with Set_ and then the variable name (in upper case) is
appended, e.g.
Set_DCOFFSET_RANGE(5);
which will assign the value 5 to the variable DCOFFSET_RANGE
To interactively display and change variable values the command
ShowStandardDialog() is used.
List of all predefined variables, their default values, and respective
command
Variable
Default
Description
Robo2.ResistanceCheck_I(MIN_RESISTANCE_I, MAX_RESISTANCE_I)
Robo2.ResistanceCheck_U(MIN_RESISTANCE_U, MAX_RESISTANCE_U)
MIN_RESISTANCE_I
100 Ohm
minimum TEVC probe resistance
of the I electrode
MAX_RESISTANCE_I
1000 Ohm
maximum TEVC probe
resistance of the I electrode
MIN_RESISTANCE_U
100 Ohm
minimum TEVC probe resistance
of the U electrode
MAX_RESISTANCE_U
1000 Ohm
maximum TEVC probe
resistance of the U electrode
Robo2.DCOffsetCorrection(DCOFFSET_RANGE, DCOFFSET_DELAY,
DCOFFSET_WAIT, DCOFFSET_ATTEMPTS)
DCOFFSET_RANGE
3 mV
max deviation of DC offset
from 0
DCOFFSET_DELAY
20 sec
delay before DC offset
measurement
DCOFFSET_WAIT
10 sec
wait after each check
DCOFFSET_ATTEMPTS
3
number of attempts to try DC