FAQFAQ   ZoekenZoeken   RegistrerenRegistreren 

How to print a box or rectangle character?
Ga naar pagina 1, 2  Volgende
 
Nieuw onderwerp plaatsen   Reageren    flyengravity.com - build your own jetliner Forumindex -> CDU/FMS
Vorige onderwerp :: Volgende onderwerp  
Auteur Bericht
fs737

BerichtGeplaatst: Vr Feb 01, 2008 11:47 pm    Onderwerp: How to print a box or rectangle character? Reageren met citaat

Hello everybody,

does anyone know how I can get the CDU to print this box or rectangle character like shown in the picture, at the beginning of the second line?



I have tried several characters, but either it did not print anything at all, or it printed something else.
Terug naar boven
Profiel bekijken Stuur privébericht
fs737

BerichtGeplaatst: Vr Feb 01, 2008 11:49 pm    Onderwerp: Reageren met citaat

Why is it not possible for me to edit my own post?

Anyway - I just wanted to say "thank you in advance" Wink and


Greetings from Germany,

Florian
Terug naar boven
Profiel bekijken Stuur privébericht
Olympic260
Flight Captain

gr.gif

BerichtGeplaatst: Za Feb 02, 2008 12:44 pm    Onderwerp: Reageren met citaat

These boxes are there on the 747 before you enter the FLAPS setting for takeoff. You don;t say which type you are using. I don't remember now if these are present on the 737.

Chris
Terug naar boven
Profiel bekijken Stuur privébericht
fs737

BerichtGeplaatst: Za Feb 02, 2008 3:47 pm    Onderwerp: Reageren met citaat

I think there is a misunderstanding. I am writing an own software using the protocol supplied by Engravity. I am able to write normal texts on the screen of the CDU already, all I need to know is what character I have to send to the CDU so that this box appears on its screen.

So if I want the CDU to show the letter "A" I simply send it the "A", if I want a degree sign, I send "°". Since there is no box-like letter in the 1-byte-ascii-code, I don't know what letter or ascii-code I have to send so that I get the box character.

I hope you know what I mean.


Greetings from Bremen, Germany

Florian
Terug naar boven
Profiel bekijken Stuur privébericht
fs737

BerichtGeplaatst: Za Feb 02, 2008 4:04 pm    Onderwerp: Reageren met citaat

Okay, what is it called, "Trial and Error"?

Anyway, I have found the character I was looking for:

You can print a box character by using the ascii-code 008.

So in Delphi, I would call "chr(Cool" to get the box character.


Maybe this would be a nice addition to the protocol specification?


Greetings from Bremen and thanks for your help

Florian
Terug naar boven
Profiel bekijken Stuur privébericht
fs737

BerichtGeplaatst: Za Feb 02, 2008 4:05 pm    Onderwerp: Reageren met citaat

Damn smiley, what I wanted to write was "c h r ( 8 )"...
Terug naar boven
Profiel bekijken Stuur privébericht
Engravity_Support
Site Admin

nl.gif

BerichtGeplaatst: Za Feb 02, 2008 4:38 pm    Onderwerp: Reageren met citaat

found your message too late, but i see you allready found the solution.

I'll have it added to the protocol.

How is your software going ?

Stef
_________________
www.flyengravity.com
Build your own jetliner
Terug naar boven
Profiel bekijken Stuur privébericht
fs737

BerichtGeplaatst: Za Feb 02, 2008 5:05 pm    Onderwerp: Reageren met citaat

It's growing... at the moment I am adapting the previously written code and building a framework for interfacing your CDU (which is REALLY looking impressive and is easy to interface Very Happy ).


Greetings

Florian
Terug naar boven
Profiel bekijken Stuur privébericht
saul_valencia

mx.gif

BerichtGeplaatst: Di Feb 24, 2009 11:58 am    Onderwerp: Reageren met citaat

Hello, i saw your post and maybe you could help me to get the protocol to stablish communication to PM CDU, i mean the first step i'm doing is to send commans using hyper terminal and a serial cable conected between 2 pc's, one pc is runing hyper teminal and the second one is runing PM CDU, at the moment i'm just receving something like this:

$PCDUR4T,F3,S,, *16
$PCDUL5S,F2,S,,*0F
$PCDUR5S,F2,S,,*11
$PCDUL5T,F3,S,,*09
$PCDUR5T,F3,S,, *17
$PCDUL6S,F2,S,,- - - - - - - - - - - - - - - - - - - -*2C
$PCDUR6S,F2,S,,*12
$PCDUL6T,F3,S,,<INDEX*68
$PCDUR6T,F3,S,, POS INIT>*7C
$PCDUSPD,F3,S,,*63


I don't know the commands to take control on the PM CDU

sorry for doing this on your post.
Terug naar boven
Profiel bekijken Stuur privébericht
Engravity_Support
Site Admin

nl.gif

BerichtGeplaatst: Di Feb 24, 2009 12:13 pm    Onderwerp: Reageren met citaat

the pm cdu should do that by itself. No need to use hyperterminal. The cdu uses a specific protocol. The gentleman above was writing his own software.

But non of this is neccesairy for PM, as pm natively supports the cdu. Have you assigned the cdu to pm ?

Stef
_________________
www.flyengravity.com
Build your own jetliner
Terug naar boven
Profiel bekijken Stuur privébericht
saul_valencia

mx.gif

BerichtGeplaatst: Di Feb 24, 2009 11:45 pm    Onderwerp: Reageren met citaat

Sorry because i did not explain all my situation, I offer technical support for an aviation school that has a flight simulator and flyengravity CDU's, the simulator works fine including the CDU's, i do not have one but my interest is for personal use at home, i would like to develop a program to communicate with the PM CDU using your CDU protocol, i think people have done it here in the forum, that's what i'm using Hyper Termiknal as first step.

greetings and thanks for respond.
Terug naar boven
Profiel bekijken Stuur privébericht
Engravity_Support
Site Admin

nl.gif

BerichtGeplaatst: Wo Feb 25, 2009 11:24 am    Onderwerp: Reageren met citaat

What people here were doing was writing their own software to talk to OUR CDU.

What you are trying to do is talk to PM using OUR protocol, thats quite different.

What puzzles me is why anyone would want to do that, other than trying to develop hardware using our technology/protocol (which is patented btw).

It seems like the hardway to get information out of PM since pm is allready offering a visual output and all variable are available throught FSUIPC.

Can you inform me further on your exact goal ? what you are trying to achieve here ?

Stef
_________________
www.flyengravity.com
Build your own jetliner
Terug naar boven
Profiel bekijken Stuur privébericht
saul_valencia

mx.gif

BerichtGeplaatst: Do Feb 26, 2009 12:36 am    Onderwerp: Reageren met citaat

I am sorry, maybe i believed i could get help in the forum to achieve my development, I do not want you misinterpret my intent, I always like to do many things related to software, and the aviation is my passion, even in the aviation school I recommended the CDUs from flyengravity because I think you offer very good quality products, but the truth is that I must resolve this by FSUIPC as you suggested it to me, anyway thanks for respond.
Terug naar boven
Profiel bekijken Stuur privébericht
Engravity_Support
Site Admin

nl.gif

BerichtGeplaatst: Do Feb 26, 2009 1:15 am    Onderwerp: Reageren met citaat

thank you for your kind words.

You got a pm.

Stef
_________________
www.flyengravity.com
Build your own jetliner
Terug naar boven
Profiel bekijken Stuur privébericht
jgolin

au.gif

BerichtGeplaatst: Ma Apr 28, 2014 3:27 am    Onderwerp: Reageren met citaat

Engravity_Support schreef:
found your message too late, but i see you allready found the solution.

I'll have it added to the protocol.



G'day!

Dragging the thread back from the dark ages... Smile

I have the protocol information v1.03 and was just wondering about these 'special characters'.

In the documentation it talks about the NMEA protocol and says:

Citaat:
"All characters in an NMEA message format must be ‘readable’ ASCII characters in the range 0x20-0x7F (32 – 127)"


It sounds like this is not the case, which is great - so we know

chr ( 8 ) is the box

can someone confirm chr( 248 ) is the degree symbol (per http://www.asciitable.com/)?

I don't actually have a unit myself so am coding blind - appreciate any feedback.

Thanks

John
Terug naar boven
Profiel bekijken Stuur privébericht
Berichten van afgelopen:   
Nieuw onderwerp plaatsen   Reageren    flyengravity.com - build your own jetliner Forumindex -> CDU/FMS Tijden zijn in GMT + 2 uur
Ga naar pagina 1, 2  Volgende
Pagina 1 van 2

 
Ga naar:  
Je mag geen nieuwe onderwerpen plaatsen in dit subforum
Je mag geen reacties plaatsen in dit subforum
Je mag je berichten niet bewerken in dit subforum
Je mag je berichten niet verwijderen in dit subforum
Je mag niet stemmen in polls in dit subforum


Powered by Inforaction internet services. Based on phpBB © 2001, 2005 phpBB Group