Difficulty using serial communication
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jason
el 2 de Abr. de 2014
Comentada: Walter Roberson
el 3 de Abr. de 2014
Hello,
I'm new to using serial communication, and trying to talk to a serial device on COM3. I can connect to the device, but can't seem to read or write anything (writing does nothing, reads are welcomed with a timeout).
The documentation for the device states: Set up your control PC to meet the following communication setup: Line setup: 115200-8N1-Hardware Handshake (RTS/CTS) Program message end character: <LF> (Line Feed, 0Ahex) Response message end characters: <CR><LF> (Carriage Return, 0Dhex Line Feed, 0Ahex)
I am having difficulty translating this to settings for the serial function in matlab. Does anyone have any ideas?
~ J
0 comentarios
Respuesta aceptada
Walter Roberson
el 3 de Abr. de 2014
baudrate 115200, flowcontrol hardware, BytesAvailableFcnMode terminator, terminator LF
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!