首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

Presentation软件发marker方式

前些天,推送了一期《E-prime主要常见问题及matlab、python打marker方式》的文章,后来又有人来问我有没有presentation的打marker方法,这个软件的方式也比较简单,我就简单的说一下。在presentation中打marker比E-prime中还方便,在presentation软件中有专门的port界面,

如图,在上面Output界面可设置port的地址后,然后就只需要在scenario中使用即可,eg:

#-- scenario file --#

# This scenario requires that you have defined a parallel# output port in the experiment settings# in independent lines modescenario = "parallel port independent lines example";no_logfile = true;write_codes = true;pulse_width = 100; #设置触发begin;trial { nothing {}; time = 0; port_code = 1; #发送code 1 nothing {}; port_code = 2; #发送code 2 time = 10; nothing {}; port_code = 4;#发送code 4 time = 20; nothing {}; port_code = 24; #发送code 24 time = 30;};

以上部分内容参考presentation手册资料。文章仅限学习使用,不用于商业行为,若有侵权及疑问,请后台留言!

Make brain technology more simple!

  • 发表于:
  • 原文链接https://kuaibao.qq.com/s/20180724G1FXWS00?refer=cp_1026
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券