Download OpenEx User`s Guide

Transcript
OpenEx User's Guide
The zCdCount parameter tag defines the number of conditions. zCdPeriod
is not used in this construct because the sweep durations are not necessarily
constant throughout the experiment. Instead the asynchronous next sweep
controls the duration and timing of each sweep.
The current condition number is compared to the total number of conditions
(zCdCount) to determine when the condition loop is complete. When this
occurs, the output value is set high and this flags OpenWorkbench through
the zCdDone parameter tag to indicate that the last condition has been
reached.
Using the Standby on Stop check box and the Stop When Done check box
under Condition Loop, the protocol can be set to Idle (check boxed cleared)
or Standby (check box selected) mode when the zCdDone parameter tag
value is set high.
The zCdNum parameter tag is an optional tag that points to the current
condition number. When zCdNum is used OpenWorkbench will display the
value on the Block Info sheet while the experiment is running.
Note: The zCdCount and zCdDone parameter tags are OpenEx reserved
tag names. These tag names must be included in the construct and must not
be altered.
Basic Nesting Control
zSwPeriod
[1:15,0]
PulseTrain2
zSwCount
zCdPeriod
[1:13,0]
Enable
PulseTrain2
zCdCount
Enable
Reset
nPer=25000
nPulse=8
Enab=Yes
Rst=Run
PLate=0
PCount=0
nPer=25000
nPulse=8
Enab=Yes
Rst=Run
PLate=0
PCount=0
Sw Fire
zSwNum
zCdNum
Sweep Nested in Condition
Uses:
Used in circuits where both conditions and sweeps are used for either
stimulation or acquisition and the count and period for both sweeps and
conditions are known. Each compiled circuit file assigned to a device in
OpenWorkbench that will use a sweep nested in a condition must include
some form of nesting control construct.
Description:
This is the simplest form of nesting. Each condition automatically fires the
sweeps. The user must make sure the length of the sweeps does not exceed
the length of each condition period.
When this construct is used. OpenWorkbench protocol settings can be used
to define the sweep and condition period and the maximum number of
sweeps and conditions.
Details:
The zCdPeriod parameter tag defines the period of the condition and the
zCdCount parameter tag defines the number of conditions.
The zSwPeriod parameter tag defines the period of the sweep and the
zSwCount parameter tag defines the number of sweeps.
312