前些天,推送了一期《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!
领取专属 10元无门槛券
私享最新 技术干货