trying to read a track name & send info down serial port

Learn about building and using Max for Live devices.
Post Reply
slatepipe
Posts: 1946
Joined: Thu Dec 30, 2004 4:10 pm
Location: stoke newington in london
Contact:

trying to read a track name & send info down serial port

Post by slatepipe » Mon Apr 24, 2017 1:32 pm

hi - so i hve been working on this touchpanel control project for the last month or so, it works pretty good at the moment but is a work in progress as i continually think of new things to try and do with it

currently i am trying to read the name of whatever track channel i am on and then send that info into the serial object so that it can be picked up by the processor for the touchpanel on the other side of the COM port but the patch i have at the moment to try and read this data is totally crashing Live, to the point where it wont even load the Live set with the device in until i open a new blank set and load the device and re-edit it, which freaked me out a bit the other day as i thought i'd messed up my whole set

anyway - can someone have a look at the patch below and see if you can see where it is going wrong please? a friend told me that 'the live num might be getting confused trying to store preset information at the same time as accessing the channel name ' but that info is a bit beyond me at the moment

thanks for any help :)

<pre><code>
----------begin_max5_patcher----------
1493.3oc6Zs0aaaCE9YGf7ePPXuMWCdS2FFFP6aAX8kg9VaggrDSL6jkLjnc
SZw9uOdwRVNUQl1VlNtauD4PRQdNe7b+nue6MibmU7Hsx042b9nynQeWLxH0
XxQFUOvH2EwOljEWoVnawJdFk6Ndyb4qVnGQMKndXVpdwy9xafnlEuLlmLmk
+vzRZBWerPr+DuwNXj2DB..PDwuAS.5+57452rh+TFUsksOYVd8ACqGMoXwB
ZNWuT0X+ys2HeJdL1XlTswu.OB6hGA8wi3HfjGI3Z9x.tSef7mVR06gq61ku
CmCFVNeAspJ9AZCcvoOp2xkkEKok7mbpnYBNilNkWFm72MKLikSSJVoI.j4P
G1.jaiPRXfB57GJnCcznTN8qBZ+GAoL1Z5jhYUzx0zxWP9A0AHPL.DPPOEV.
TBPHzAiBi6AIZ1n30haVAIIN8owbdIa1Jt1DwnsfwH2oBYgJVEmlmn1endhM
X4fhoeKyoJikPcfMyceQNOOdglieaIKNy4cEYoG.fGzGfGoj1PdAMlj7hTXN
3rf4Rtoh8MMNJNhgW28AJ2QgWGG.1oEO39QPXXTCB5CORDzZn2KI+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