2example script "dose-response, 1 defining dialogue variables – Multichannel Systems Roboocyte2 Scripting Manual User Manual

Page 19

Advertising
background image

Appendix

19

2

Example Script "Dose-Response"

In the following chapter, you will learn how a typical recording script is built. As an example we
will use the script: "dose-response.js" which can be found on the Roboocyte Setup CD. Another
example script which can be found on the Roboocyte CD is the script "standard_procedures.js".
This script only includes the protocol independent part without the recording protocol part and
without user-defined variables

The following chapters describe a typical recording protocol sequence step-by-step:

1. Defining variables and parameter uses in the script

2. Starting the oocyte loop

3. Compensating electrode DC voltage offsets

4. Testing electrode resistance and voltage offsets

5. Oocyte impalement

6. Starting voltage-clamp and leak-current test

7. Executing the experimental protocol

8. Continue with next selected oocyte

2.1 Defining Dialogue variables

2.1.1 User Defined Dialogue Variables

The first part in a script should be used to define all necessary variables, such as holding potential,
incubation times, number of used valves etc. If these parameters are defined as dialogue variables,
they can be easily modified in a dialogue before starting the script recording

The command for defining a user defined (dialogue) variable has the following format::

Robo2.SetDialogVariable("variable_name", variable value , "comment");

I.e. the command "Robo2.SetDialogVariable("pre_agonist_s", 5, "Time before agonist
application (s)"); creates the variable "pre_agonist_s" with the default value "5" and the
comment "Time before agonist application (s)"

The command "Robo2.ShowDialog();" opens a window after starting the script listing all user
defined variables. All values can be changed here, but are only valid for a single script execution.
Please note that whenever you start the script a second time, default values will be reloaded.

Advertising