Serial Stream Status Bits

waiter

New Member
Joined
May 29, 2005
Messages
40
Location
Northwestern Ohio
I'm updating Waiters Flight Data Recorder AND putting together a program to display Dynon EFIS / EMS data on a remote PC (i.e. display in back seat driven by a PC)

Character #30 - #33 can represent VSI or Turn Rate.

What bit in the Status bit (Character #42 - #47) represent this change.

ALSO

In the EFIS-10A user guide (Sp 20, 2007) Double check your tables on page 8-2 and 8-3 concerning the Status Bit.

Waiter
 

waiter

New Member
Joined
May 29, 2005
Messages
40
Location
Northwestern Ohio
Don't KNow!!

The Flight DataRecorder is a VB6 EXE.

The remote display is written in VB 2008. It needs Framework 3.5. The display is fixed at 800x600, Might Work???

I'm still working on it. I'll post when I put it up on my web site.

Waiter


I STILL NEED THE STATUS BIT INFORMATION. TNKS
 

dynonsupport

Dynon Technical Support
Staff member
Joined
Mar 23, 2005
Messages
13,226
Directly from the D10A user manual, page 8-3, Character 42:

"A 6-character ascii-hex field representing a 24-bit status bitmask. When the value of bit 0 (LSbit) is 0, the altitude field is displayed altitude, and turn rate is output in characters 30-33. When the value of bit 0 is 1 the altitude field is pressure altitude, and VSI is output in characters 30-33."

http://dynonavionics.com/downloads/User_Manuals/EFIS-D10A Pilot's User Guide.pdf
 

waiter

New Member
Joined
May 29, 2005
Messages
40
Location
Northwestern Ohio
I seen that, and I studied it, and pulled out all my hair, but I still can't figure out how 6 characters of ASCII that represent HEX can get 24 bits?? AND where is the placement of the LSB??

i.e. HEX characters ZERO(0) thru F  gets me 16 bits, Thats 16 bits per character, there are 6 characters. 6 x 16 = 96. I come up with 96 bits that can be represented by the 6 ASCII characters?

Looking at the raw data, I see the 6 characters changing, but I can't envision how to come up with the placement of LSB bit 0  (as described in the owners manual) from what I'm seeing in the raw data stream?

While monitoring the data stream from my 10A (with the latest firmware), These are the two different sets of characters I see that occupy the six characters of the "Status Bitmask":

0061EB  and 0069F6

I'm still very confused?

Waiter

(EDITED BY WAITER) -- GOT IT, SEE NEXT POST. :-[
 

waiter

New Member
Joined
May 29, 2005
Messages
40
Location
Northwestern Ohio
OK,   GOT IT :) :) (DUH)

I figured out the parsing: example using 0061EB

This is three hex characters, each character represents 8 bits when converted from HEX to BIN.

00 = 0000 0000
61 = 0110 0001
EB = 1110 1011

0061EB = 000000000110000111101011

The LSB is all the way on the right.

************************************************
In my data stream I see other bits toggling i.e.

0061EB = 000000000110000111101011
0069F6 = 000000000110100111110110

What are these other bits used for???

Waiter
 

dynonsupport

Dynon Technical Support
Staff member
Joined
Mar 23, 2005
Messages
13,226
The other bits are for internal use and we don't publish their functions. They were used back when the EFIS used serial to talk to the EMS.
 

lgingell

Active Member
Joined
Mar 23, 2005
Messages
2,193
If the remote display app is written in VS2008, it won't natively run on Windows Mobile 6, although it would be pretty easy to convert. Part of the tricky part would be finding a Windows Mobile 6 Pocket PC with the right hardware to talk to the Dynon RS232. Most PocketPC's have USB only....and not necesarily the right USB and driver set to talk to a serial/USB adapter (you can't just use one from a PC). That would be a bigger issue - oh, and the screen resolution. I almost did this myself in the past.

..lance (software developer PCs/Pocket PCs/BlackBerry's/iPhone etc.)
 
Top