Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LoadSerialMessages input for WavePlayer
#1
Hi Josh and users, 

I am having some trouble understanding the inputs syntax of LoadSerialMessages for WavePlayer. From what I got, in profile mode the message:

LoadSerialMessages('WavePlayer1', ['P' 16], 3)


should play the profile number 15 when the message 3 is sent. This  doesn't happen. I can played profile 15 (or whatever profile number I choose) only of I send the message 1. Am I missing something?

Thank you!
Cheers,
Claudia
Reply
#2
Hi Claudia,

That is odd - I'll verify once I'm back in the workshop.
For now, if you load using the alternative syntax, does it work?
LoadSerialMessages('WavePlayer1', {['P' 1], ['P' 2], ['P' 16]}); % Load messages 1, 2 and 3

Thanks,
-Josh
Reply
#3
(09-15-2018, 02:07 PM)Josh Wrote: Hi Claudia,

That is odd - I'll verify once I'm back in the workshop.
For now, if you load using the alternative syntax, does it work?
LoadSerialMessages('WavePlayer1', {['P' 1], ['P' 2], ['P' 16]}); % Load messages 1, 2 and 3

Thanks,
-Josh
Hi Josh, 

Yes, the alternative solution does work. 
Please let me know if you have any updates on the first syntax (it would be much more convenient in my code).

Thank you again!
Claudia
Reply


Forum Jump: