MED PC 2 XL – not working

MEDState Notation Repository Forums Software Help Archive MED PC 2 XL – not working

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

    Hi!

     

    I am trying to convert my data into excel but it is just throwing out the error message “Operation Unavailable”.

     

    Details:
    The program is a random interval reward protocol (20-80″ waiting period plus a 10″ reward period). I count:
    session duration B(0) (up to 40 minutes),
    total nosepokes B(1),
    total trials in B(2) (up to 100).

     

    Then I have two arrays:

    D(J) - trial by trial data
    D(J+0)=trial duration;
    D(J+1)=#Nosepokes per trial;
    D(J+2)=#Nosepokes in the reward period per trial.
    

     

    E(K)=second-by-second data:
    E(K+0)=time ;
    E(K+1)=marks beginning of the waiting period (1) or the beginning of the reward period (2) ;
    E(K+2)= nosepokes each second
    

     

    I wrote a Table Profile using Header Rows for the basic stats and my B() data then used Data Table Rows for my D(J) and E(K) arrays (Image of the MPC2XL program attached and also the Random Interval protocol code) but it isn’t working.

     

    Can anyone tell from the image attached what I have done wrong in the MPC2XL program?

     

    Thank you so much for your time!
    Suszie

    Nevermind! I figured it out!

    For my D(J) and E(K) arrays I wasn’t supposed to have the K+ and J+ in the brackets as well!

    It’s working fine now 🙂

    #13512
    Med_Support
    Moderator
    Gary Bamberger

    I’m glad to hear that you figured it out. You learned more by getting it wrong the first time and then fixing it, than if you had gotten it correct the first time.

    Gary

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Software Help Archive’ is closed to new topics and replies.