RS-232 Serial Communication (Mark-10)

2 views (last 30 days)
Serena Kishek
Serena Kishek on 6 Dec 2021
Answered: David Hill on 6 Dec 2021
I am trying to use serial communication between Mark-10 ESM1500 test stand and matlab to record data. Has anyone done this?

Accepted Answer

David Hill
David Hill on 6 Dec 2021
Look at your manual for your instrument to set up the parameters
s = serialport('COM1',115200);%create object
s.DataBits=8;
s.StopBits=1;
s.Parity='none';
write(s,'n',char);
data = read(s,1,'uint8');

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!