Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
yzeyang

Junior Member
Registered:
Posts: 9
Reply with quote  #1 
Hi Jaewon,

When OnOffMarker/OnOffDisplay were used directly on input adapters, for example

Code:

btn1 = SingleButton(button_); btn1.Button = 1;
ood = OnOffDisplay(btn1);
ood.OnMessage='Pressed'; ood.OffMessage='';
tc = TimeCounter(ood);
tc.Duration = 4*1000;
scene1 = create_scene(tc);
run_scene(scene1);


they function perfectly across trials

However, if I were to wrap an OrAdapter around btn1,
Code:

btn1 = SingleButton(button_); btn1.Button = 1;
or1 = OrAdapter(btn1);
ood = OnOffDisplay(or1);
ood.OnMessage='Pressed'; ood.OffMessage='';
tc = TimeCounter(ood);
tc.Duration = 4*1000;
scene1 = create_scene(tc);
run_scene(scene1);


For the first trial, everything is functional; then for all following trials, OnOffDisplay would cease to output to the dashboard.

I am not sure if I am missing something here. Please let me know what you think.

Many thanks
0
Jaewon

Administrator
Registered:
Posts: 708
Reply with quote  #2 
It is because OrAdapter was not properly initialized. It is fixed in the new package. Thank you for letting me know this.
0
yzeyang

Junior Member
Registered:
Posts: 9
Reply with quote  #3 
Quote:
Originally Posted by Jaewon
It is because OrAdapter was not properly initialized. It is fixed in the new package. Thank you for letting me know this.


Thank you Jaewon.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.