E-prime中的Task Events属性

E-prime Hands On

Posted by 陈锐CR on September 2, 2020 | 阅读

E-prime中的Task Events属性

本文首发在个人博客上(7988888.xyz),此文章中所有链接均通过博客进行访问。

最近在使用E-prime时,了解到这个event属性,感觉比较有用。它是一个基于E-prime2.0.10以上才有的一个属性,可以通过并口和串口来发送marker,那么对于新手来说,将不会再需要使用inline语句来编写了,完全的修改目标控件的task event属性即可完成实验。在E-Prime中支持task event的设备包括ParallelPort,Serial,Port,Chronos,SRBox,Joystick,Keyboard和Socket设备。

需要E-prime3.0.3.9无需加密狗安装方法(附带安装包和密钥序列号)可查阅网址: https://j.youzan.com/xLg208

Task Events使用界面

image-20200902111845917

image-20200902112454745

图1 Events by Object Type/Input Mask/Input Device

RteObject (parent of all objects, including Slide, TextDisplay, ImageDisplay and SoundOut)    
  StartTime Occurs when the RteObject begins execution of its Run method). See FinishTime for note concerning accurate timing of tasks.
  FinishTime Occurs when the RteObject finishes execution of its Run method. Note: When PreRelease is set to “(same as duration)” (i.e., default setting), FinishTime is not the actual end time of the object. It may be necessary to specify the StartTime or OnsetTime of the next occurring object as the Event.
  OnsetTime Occurs when the object begins its critical action (displaying text,displays an image, playing a sound file, etc.). See OffsetTime for note concerning accurate timing of tasks.
  ActionTime Occurs when the object finishes its critical action (e.g., display text or image, etc.).
  OffsetTime Occurs when the object ends its critical action (e.g., display text or image, playing a sound file, etc.). Note: When PreRelease is set to “(same as duration)” (i.e., default setting), OffsetTime is not the actual end time of the object. It may be necessary to specify the OnsetTime of the next occurring object as the Event.
Input Mask    
  Terminate Occurs upon termination of the input mask, regardless of the accuracy of the response or non-response.
  Disarm Occurs when the input mask is disarmed.
  Omission Occurs upon termination of the input mask (i.e., timeout) and the InputMask.History.Count is 0 (i.e., no response).
  Incorrect Occurs upon termination of the input mask (i.e., termination response or max count) and the response is *incorrect*(InputMask.ACC is zero).
  Correct Occurs upon termination of the input mask (i.e., termination response or max count) and the response is *correct*(InputMask.ACC is non-zero).
  MaxCountReached occurs once the MaxCount property for an Input Mask has been reached.
  TimeLimitReached Occurs once the TimeLimit property of an Input Mask has been reached.
  TerminationResponse Occurs once E-Prime registers that the Input Mask’s Termination Response has been pressed.
  RESPChanged Occurs once E-Prime registers that a unique response has been made. This does not apply to the very first response to an object, but to every response after that.
  Release Occurs once E-Prime registers that an Input Mask response has been released.
  Press Occurs once E-Prime registers that an Input Mask response has been pressed.
Input Devices (Joystick, Keyboard, Mouse, ParallelPort, Port, Serial Response Box, Chronos)    
  Release Occurs when E-Prime registers a release from the specified input device. Note that the release event is unrelated to an Input Mask and is specific to the InputDevice.
  Press Occurs when E-Prime registers a press from the specified input device. Note that the press event is unrelated to an Input Mask and is specific to the InputDevice.
Procedure    
  ProcedureStart Occurs as the first event in a Procedure, prior to setup and preload of objects on the Procedure.
  TimelineStart Occurs after all objects in the Procedure have loaded (just prior to the first object’s execution of its Run Method).
  TimelineFinish Occurs after the last object on the procedure finishes execution of its Run method (i.e., the object completes), prior to logging to the Context.
  EndOfProcedure Occurs when all pending input masks have finished.
  ProcedureFinish Occurs after the Context has been logged.
  FeedbackStart Occurs just prior to the Feedback object’s execution of its Run method.
  FeedbackFinish Occurs after the Feedback object finishes execution of its Run method (i.e., the object completes).
List    
  BeforeInteractiveDialog Occurs prior to display of the graphical interface/interactive dialog (when the List Object is set to Interactive Order).
  AfterInteractiveDialog Occurs after display of the graphical interface/interactive dialog (when the List Object is set to Interactive Order).

需要调整的参数界面:

image-20200902112650416

目录 可选值 描述
Source (custom), Timestamp, ACC, CRESP, RESP, RT, RTTime, Status, Tag, UserTag, Attribute references Data element provided to the Action. Custom option requires value assignment in Custom field.
Custom User-entered value, Attribute references User-entered custom value for Source. Required when Source field is set to “ (custom).”
Data Type Integer, Long, Byte, String, String (Hexadecimal), ParameterList, Color, Boolean, Logical, (none), Attribute references Data type associated with the Source parameter. Options vary based on selected Action.
Enabled Yes, No, Attribute references Enables or disables selected task event without deleting it.

本文参考E-prime官方资料:https://support.pstnet.com/hc/en-us/articles/115015040608


谢谢大家观看,如有帮助,来个喜欢或者关注吧!


本文作者:Chen Rui

博客地址 : Chen Rui Blog
知乎地址 : 知乎专栏
B站地址 : B站主页
书店地址 : 书店主页
简书地址 : 简书主页
CSDN地址 : csdn主页
学术导航 : 导航主页


版权声明:本文由 陈锐CR 在 2020年09月02日发表。本博客文章作者为陈锐CR时均采用属于个人原创撰写,未经许可,禁止在任何媒介以任何形式复制、发行本文章,如需转载,请查看About联系方式,非商业转载请注明出处,不得用于商业目的。
文章题目及链接:《E-prime中的Task Events属性》



☛您的打赏是我创作的动力☚


  相关文章:

「游客及非Github用户留言」:

%
UP
博客已运行