Callback error; attempt to index a nil value

Home Forums General Programming Callback error; attempt to index a nil value

Tagged: , , , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #72303
    Anonymous
      • Topics: 4
      • Replies: 6
      • Total: 10

      hi all,

      I have been trying to create a Panel for my Emu E4. I’ve been using the Emu V1.2.6 EOS control Demo.panel as a starting point.
      I have been trying to connect all the UI components with the Hardware via SysEx generally with success. (Using http://www.deepsonic.ch/deep/docs_manuals/e-mu_eos_remote_sysex.pdf as guide)
      All of the sudden i am getting this error and cant select any preset:

      Callback error; panelMidiReceived
      At line [1670]..... attempt to index a nil value

      I attached a Screenshot.
      Couldnt find any post/thread with this specific issue.

      What have i done wrong?
      Would this be because a certain preset has to be actually Selected first?

      I would like to build my own preset manager but im struggling to understand how to display text(?what ui component do i use?) i tried everything!
      If i start a fresh template using SysEx only when i try to modulate/control any parameter, the EMU does not respond(even tho i know the SysEx formula is correct).

      Apologies for the double question.
      Any help very much appreciated!! noob here.

      #72305
      human fly
      Participant
        • Topics: 124
        • Replies: 1070
        • Total: 1194
        • ★★★★

        have a look at line 1670 in your method and see what it is
        that … the other guys will explain this better … i equate
        it with not having declared something adequately. i’m still
        a bit woolly with it all, but that’s why i get those messages.
        you may have multiple issues there, it’s stopped at the first
        error.

        #72306
        Anonymous
          • Topics: 4
          • Replies: 6
          • Total: 10

          I figured it out.
          At the line in question was a reference to some disabled controls which i deleted.

          Callback Error FIXED!
          ———————————————–

          How about the second part of my question;
          How can i display text thats coming in via SysEx? uiLCDLabel does not have a SysEx ability. I’ve tried them all.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The forum ‘Programming’ is closed to new topics and replies.
        There is currently 0 users and 41 guests online
        No users are currently active
        Forum Statistics
        Threads: 2,495, Posts: 17,374, Members: 77,605
        Most users ever online was 12 on January 22, 2019 3:47 pm
        Ctrlr