Read Binary data from device (seapath)

2 visualizzazioni (ultimi 30 giorni)
Aleksander
Aleksander il 11 Mar 2014
Commentato: Aleksander il 13 Mar 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 Commenti
Walter Roberson
Walter Roberson il 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 il 13 Mar 2014
It can be both, how ever the main porpuse is to read from a serial device.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Digital Input and Output in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by