For those who have problems with Firmata's sysex and want to acess sysex comands easily:
Try
http://connect.mind-craft.net/arduino-firmata-vb-class - change "storedInputData" variable to public and use it, e.g.:
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
arduino1.StartSysex()
arduino1.mycommand1(20, 1)
arduino1.EndSysex()
Thread.Sleep(100) 'Delay less than a second
arduino1.processInput()
TextBox1.Text = arduino1.storedInputData(1)
End Sub[code]
use
https://github.com/jgautier/arduino-1/blob/master/examples/EchoString/EchoString.inoand read
http://firmata.org/wiki/Protocol to add your own sysex command to Arduino.vb[/code]