Download E-Prime Extensions for Net Station User Manual

Transcript
E-Prime Extensions for Net Station User Manual
Chapter 2: Tutorials
Task 5: Add a Net Station package call to initialize the system
Add a package call at the beginning of the SessionProc to initialize the
system for use with Net Station. Name the object “NSInit”.
The Net Station package file must be initialized at the start of the experiment by
making a call to the NetStation_Init routine. To call a routine in a package file
you can either make the call directly using E-Basic script within an Inline object,
or (more preferably) drag a PackageCall object from the E-Studio Toolbox, drop
it at the desired location within the experiment, and edit its properties. When
using the PackageCall object it is strongly recommended that you rename the
object to reflect the specific package file and routine that are being referenced
within the object. When creating paradigms for use with Net Station it is a
common convention to create a name for each PackageCall object by
abbreviating Net Station as “NS” and then concatenating the name of the routine
being called, e.g. the object which is used in this task to call the “NetStation_Init”
routine is named “NSInit”.
1) Double click the
SessionProc object to
open it in the workspace.
n
2) Drag a new
PackageCall object
from the Toolbox and
drop it as the first object
in the SessionProc
procedure. The object
will be given a default
name of PackageCall1.
3) Click on the
PackageCall1 object to
select it then press F2
to rename the object.
You may alternatively
right click on the object
and select Rename from
the context menu.
o
Z
4) Type “NSInit” as the
new object name and
then press Enter to
accept the change.
[
Page 32
1.1.0