counting both levers

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13064
    Med_Support
    Moderator
    labrat

    I am currently attempting to ask the program to show the count for lever presses on both bars. I have created a paradigm in which I would like to know how many times they press the left and right levers. Is this a possibility?

    #13065
    Med_Support
    Moderator
    Gary Bamberger

    It is definitely possible to record the number of presses on both inputs. Hopefully the sample code below will help.

    ^LeftLever = 1
    ^RightLever = 2
    
    S.S.1,
    S1,
    #R^LeftLever: ADD L; SHOW 1,Left Lever,L ---> SX
    #R^RightLever: ADD R; SHOW 2,Right Lever,R ---> SX
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.