Hi,
I quickly went over a few web-pages that deal with "Motorola Binary
Format". From what I understand, this is a digital I/O protocol used
over a serial RS-232 link to let a PC communicate with a Motorola GPS
receiver.
First of all, despite its name, this protocol is just not more binary
than any other digital protocol : all of them code bits ! And like the
huge majority of serial communication protocols, it sends the
information as a stream of ASCII bytes. This is the bit-level code.
Knowing this, the only thing you need to do for a perfect control of
these data, is write a "parser" that will recognize ASCII bytes paterns
and convert them to a data type that will fit your use.
You must use a function to read the ASCII bytes-stream from the GPS.
What is that function output type ? Is it a table of unsigned bytes ?
What you could do is send me a VI with a control on it representing a
piece of data read from your "GPS serial acquisition" function, and one
or more indicators, which represent the various values you would like to
extract from the raw data.
Fill both the control and the various indicators with the values they
should show when the stream is parsed correctly, and make these values
the default values.
I will send it back with code.
Maybe this can help - oz
By the way do you speak french ?...
Makra wrote:
> Oliver,
>
> Thank you for "the basics" lesson. I admit I am knew to this. The
> Abstract data are telemetry and values from a GPS receiver.
> The it is the bit-level code that I am having trouble converting into
> the displayed data, to use your terminology. The device returns
> binary code (Motorola Binary Format) that I can display easily. The
> example I attached to ian.f's answer is an example of some of this
> data. The reason for me seperating it is that It is a long binary
> sequence which has a given format to it. So I am seperating the
> sequence and wish to convert each binary value(displayed in its Hex
> shorthand) into a string of that very Hex shorthand, so I can use the
> Hexadecimal to Number.VI
>
> If you have any further suggestions, please let me know. Thank you,
> Joel
>
>