Error[126] Â D:\REMOTECONTROL\MIOS\2_XT2_MIDIBOX_LC_V1_4\LC_SFB.INC 238 : Argument out of range (1027 not between -1024 and 1023)
Halting build on first failure as requested.
BUILD FAILED
my code in “enc.inc”:
USER_ENC_NotifyChange
   ;; if encoder number within 0 and 7, send a V-pot event
   movlw    0x07
   IFLEQ    MIOS_PARAMETER1, ACCESS, rgoto LC_ENC_SendVPot
   movf    MIOS_PARAMETER1, W
   ;; if encoder number == 8, send jog-wheel event
   xorlw    0x08
   bz    LC_ENC_SendJogWheel
  Â
   ;; if encoder number within 9 and 13, send NRPN-event
   movf    MIOS_PARAMETER1, W
   xorlw    0x09
   bz LC_ENC_SendNRPN
   movf    MIOS_PARAMETER1, W
   xorlw    0x0A
   bz LC_ENC_SendNRPN
   movf    MIOS_PARAMETER1, W
   xorlw    0x0B
   bz LC_ENC_SendNRPN
   movf    MIOS_PARAMETER1, W
   xorlw    0x0C
   bz LC_ENC_SendNRPN
  Â
   ;; if encoder number > 13, send CC-event
   movlw    0x0D
   IFGEQ    MIOS_PARAMETER1, ACCESS, rgoto LC_ENC_SendCC
   ;; else do nothing
   return
LC_ENC_SendNPRN and LC_SendCC are new subroutines to handle NRPN/CC - events.
Today I tried to update my LC - Application to Vers. 1.6 by copying all my personal modifications to the new source files, but after compiling, I got a similar error as in the past:
“Error[126]Â Â E:\MIOS\SW\LC 1.6\LC_1_V1_6\MACROS.H 161 : Argument out of range (1044 not between -1024 and 1023)”
What’s the meaning of this error-message? And how can I solve this problem?