GODDAMN took me FOREVER to find that "New Topic" button in the top right side...was
going crazy
anyways, i see all these codes in the manual for my 12232 graphical LCD and i was just wondering how i send the bytes to the com port with C++
i know i need to use OpenFile() and write it but im not sure how. thanks
Progamming a graphical with C++
-
- -=Beloved by all=-
- Posts: 286
- Joined: Tue Aug 14, 2001 6:00 pm
- Location: ...I could tell you my velocity...
File streaming to the Comm port is the easiest way to do this under Win32, except that it does not work under NT derivatives. I would declare that using file streaming is a dead method.
I am by no means a guru, so I don't truly understand what it is that is different about 3rd party libraries, but that is the way to go. NT is real picky about who gets to talk to the hardware, and these communcations "libraries" get around it somehow.
Under VB, and maybe VC++, there might be built it in functions - I don't know. Even if there is, you could still use one of my favorite libraries.
http://www.medasis.com/tools has the zComm library. This is for Borland C++ Builder (A vastly superior tool)
http://www.marshallsoft.com has the marshallsoft library for Borland or MS. We have used this one alot. If you have used almost any of our demo programs, this is the cause of the popup windows. Getting rid of that popup costs 50 bucks or something.
The difference between using a library like this and using file streaming is that you don't have to get into all the arcane coding. You just instantiate a class and call a function like:
MyCommPort->Send("Hello World");
I like that a lot better. More so since I never really learned how to do file streaming properly - and it works under Win2K
Minus pictures, I think I am now the holder of the "longest post" award
I am by no means a guru, so I don't truly understand what it is that is different about 3rd party libraries, but that is the way to go. NT is real picky about who gets to talk to the hardware, and these communcations "libraries" get around it somehow.
Under VB, and maybe VC++, there might be built it in functions - I don't know. Even if there is, you could still use one of my favorite libraries.
http://www.medasis.com/tools has the zComm library. This is for Borland C++ Builder (A vastly superior tool)
http://www.marshallsoft.com has the marshallsoft library for Borland or MS. We have used this one alot. If you have used almost any of our demo programs, this is the cause of the popup windows. Getting rid of that popup costs 50 bucks or something.
The difference between using a library like this and using file streaming is that you don't have to get into all the arcane coding. You just instantiate a class and call a function like:
MyCommPort->Send("Hello World");
I like that a lot better. More so since I never really learned how to do file streaming properly - and it works under Win2K
Minus pictures, I think I am now the holder of the "longest post" award
anis- or aniso- combining form [NL, fr. Gk, fr. anisos, fr. a- + isos equal]
: unequal <anisotropic>
: unequal <anisotropic>
You know... they send me to college... AND I FORGET HOW O DO EVERYTHING I LEARNED!
Seriously. My Senior Project was writing a Paint program that communicated with the robotic arm controller connected to the SERIAL PORT. It repoduced your drawing that you did on the screen.
I forgot it all! and I was responsible for the translation and communications modules!!!! ARRRGHHH I never thought I was gonna need that... so did I keep it? Noooooo... I am a complete idiot.
Seriously. My Senior Project was writing a Paint program that communicated with the robotic arm controller connected to the SERIAL PORT. It repoduced your drawing that you did on the screen.
I forgot it all! and I was responsible for the translation and communications modules!!!! ARRRGHHH I never thought I was gonna need that... so did I keep it? Noooooo... I am a complete idiot.
yes you are, yes you are ...
I would recommend http://www.programmersheaven.com to get a unit file or include or something, just search a bit round on this site.
I would recommend http://www.programmersheaven.com to get a unit file or include or something, just search a bit round on this site.
Dexter, you alive? How is the graphic plug in coming along? I was at virtul-hideout and stumbled on your site again and saw some new pics... it's looking great! Let me know if you need a beta tester
http://www.smokinmhz.com/
http://www.smokinmhz.com/
Henry J.
President
Matrix Orbital
President
Matrix Orbital
whoa....lol. people check out the site?On 2001-12-03 18:56, Henry wrote:
Dexter, you alive? How is the graphic plug in coming along? I was at virtul-hideout and stumbled on your site again and saw some new pics... it's looking great! Let me know if you need a beta tester
http://www.smokinmhz.com/
I'm uh....still writing it...I guess I'm a real slow poke about it...im just playing more with the hardware for the project again...it goes in cycles
hardware then software then nothing for weeks, then it starts all over
LOL... yup, sounds about right... it's like you never know what to do next, or just get bored with it... nasty cycle I tell you...On 2002-01-10 22:50, Dexter wrote:whoa....lol. people check out the site?On 2001-12-03 18:56, Henry wrote:
Dexter, you alive? How is the graphic plug in coming along? I was at virtul-hideout and stumbled on your site again and saw some new pics... it's looking great! Let me know if you need a beta tester
http://www.smokinmhz.com/
I'm uh....still writing it...I guess I'm a real slow poke about it...im just playing more with the hardware for the project again...it goes in cycles
hardware then software then nothing for weeks, then it starts all over
Keep us informed though...
Henry J.
President
Matrix Orbital
President
Matrix Orbital