Read Binary data from device (seapath)

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 commentaires

Walter Roberson
Walter Roberson le 11 Mar 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 le 13 Mar 2014
It can be both, how ever the main porpuse is to read from a serial device.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Tags

Aucun tag saisi pour le moment.

Commenté :

le 13 Mar 2014

Community Treasure Hunt

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

Start Hunting!

Translated by