Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global Timer in emulator mode
#1
Is Global Timer supported in emulator mode?  On my rig, my protocol works when Bpod hardware (v0.8) is connected, but it shows error when it's in emulator mode. The error seems to be caused by the fact that obj.HardwareState.OutputType shows "UUUXBBWWWPPPPPPPPVVVVVVVVGGG" with a hardware, whereas it shows "UUUXBBWWWPPPPPPPPVVVVVVVV" without a hardware --- so, the Global Timer outputs are not recognized.

Is this a bug? Or, does the Global Timer need a hardware by nature?

Thanks,
HK
Reply
#2
Hi HK,

Thanks for the bug report - you're correct.
I'll release a fix with the next software update.

For now, in /Bpod_Gen2/Functions/@BpodObject/SetupHardware.m

change line 14 from

obj.HW.Outputs = 'UUUXBBWWWPPPPPPPPVVVVVVVV';

to

obj.HW.Outputs = 'UUUXBBWWWPPPPPPPPVVVVVVVVGGG';

Thanks!

-Josh
Reply
#3
(11-28-2018, 02:27 AM)Josh Wrote: Hi HK,

Thanks for the bug report - you're correct.
I'll release a fix with the next software update.

For now, in /Bpod_Gen2/Functions/@BpodObject/SetupHardware.m

change line 14 from

obj.HW.Outputs = 'UUUXBBWWWPPPPPPPPVVVVVVVV';

to

obj.HW.Outputs = 'UUUXBBWWWPPPPPPPPVVVVVVVVGGG';

Thanks!

-Josh

Thanks a lot!

HK
Reply


Forum Jump: