Borrar filtros
Borrar filtros

Reading ASCII values from serial COM port

2 visualizaciones (últimos 30 días)
kintali narendra
kintali narendra el 26 de Jul. de 2018
Hi all I tried reading ASCII values from barcode scanner(through serial port) into ML using the following program
delete(instrfind)
s = serial('COM5');
fopen(s)
[tline1,count1,msg1] = fgetl(s)
fclose(s)
but its not working
Can you help me in resolving the issue.
I know that the barcode code scanner communicates using ASCII.

Respuestas (0)

Categorías

Más información sobre String Parsing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by