ilmenator Posted March 29, 2013 Report Share Posted March 29, 2013 Hi TK, I have a situation here in which I need to display messages on an external device. This device (a Mackie C4) receives the strings via SysEx commands, indicating on which display (1 of 4) to print, and at which position, with the characters ASCII encoded. It would be nice if a modified label functionality (not necessarily the control characters, with the exception of ^<label> maybe, which seems very handy) could be used for this purpose? So instead of having to convert the strings manually into hex format and insert that into the SysEx message, have this done automatically? The C4 expects something like this for the first display: F0 00 00 66 17 30 xx [yy] F7 with xx = position of first character to display: 00 = first position in first line 36 = last position in first line 38 = first position in second line 6E = last position in second line and [yy] = sequence of ASCII coded characters For the other displays it's the same, only that you select a display in the following way: Display 2 (second from top): F0 00 00 66 17 31 xx [yy] F7 Display 3 (third from top): F0 00 00 66 17 32 xx [yy] F7 Display 4 (lowest): F0 00 00 66 17 33 xx [yy] F7 The main thing I need is to avoid having to convert the strings manually. Everything else should be doable via the SYSEX_VAR I guess. Would this be possible? Thanks, ilmenator Quote Link to comment Share on other sites More sharing options...
TK. Posted March 30, 2013 Report Share Posted March 30, 2013 Yes, it would be possible to add a ^label function, I will consider this in one of the next releases. Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
ilmenator Posted March 30, 2013 Author Report Share Posted March 30, 2013 Perfect, thanks - looking forward to this! Quote Link to comment Share on other sites More sharing options...
TK. Posted March 31, 2013 Report Share Posted March 31, 2013 The ^label statement is now supported in V1.022 Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
ilmenator Posted April 1, 2013 Author Report Share Posted April 1, 2013 (edited) Fantastic, thanks! Edit: I just realized that the label apparently needs to be defined locally? In other words, it seems I cannot define a label globally in the .NGL file and have that transmitted as part of the SysEx stream? Also, would it be possible to define more SysEx variables in the SYSEX_VAR line? It seems the system ignores it when I try to add e.g. manuf1=0x00 manuf2=0x21 manuf3=0x02 and try to use these in the SysEx stream? Edited April 1, 2013 by ilmenator Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.