Read Binary data from device (seapath)

1 visualización (últimos 30 días)
Aleksander
Aleksander el 11 de Mzo. de 2014
Comentada: Aleksander el 13 de Mzo. de 2014
HI, I wish to read a binary formated data sett from a device (seapath) a typical string looks like this:
aa51 507e 45d2 23c4 2d1c 9588 0765 03410000 102a 0001 0000 0000 0000 ff65 fff2 21cf fff8 0006 0006 0000 78ac
i have tried with difrent methods, how ever just end up with jumbled and non readable values returned. i have attahced a screen shot of the meassage format, all help is mutch welcome.
  2 comentarios
Walter Roberson
Walter Roberson el 11 de Mzo. de 2014
Is it a serial type device or a file-oriented device? The optimum mechanisms can be quite different for file-oriented devices.
Aleksander
Aleksander el 13 de Mzo. de 2014
It can be both, how ever the main porpuse is to read from a serial device.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by