Hello there,
I am using the newest Realterm Version (3.0.0.20 and Matlab R2014a) and try to send a Hexcode (for example '7e55443322117f') to my serial port. I have the problem that the Hex Data is always converted into ASCII code befor sending it.(Output is then the Ascii code 37 65 35 35 34 34 33 33 32 32 31 31 37 66) I guess that I need to "Send it as Numbers" (I have also found something like "SendAs" function but not how to implement it) from the Realterm program but I do not know how I can implement this function in Matlab.. Can someone help me with this?!
Thank you in advance!
Daniel
My mini-code example:
function [ ] = Realterm_send(send)
hrealterm=actxserver('realterm.realtermintf');
hrealterm.baud=57600;
hrealterm.caption='Matlab Realterm Server';
hrealterm.port='1';
hrealterm.windowstate=1;
hrealterm.PortOpen=1;
send = ('7e55443322117f');
invoke(hrealterm, 'PutString',send);
end