Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetCondition()
#1
Hey Josh,

I'm having some issues using SetCondition() with BNC1 and BNC2. It seems like ConditionValue
is inverted? For instance:

Code:
sma = SetCondition(sma, 1, 'BNC1', 0);

If I understand correctly, condition1 should be true, if BNC1 is low. But when trying this, for some reason its true when BNC1 is high?! Things work as expected when using Port1, Port2, etc instead of the BNC inputs ... can you reproduce this? Or am I missing something? :)

Thanks,
Florian

Edit: Bpod r2.2, newest firmware and Matlab software ...
Reply


Forum Jump: