Page 1 of 1

example: Sending text from LK202-25 with Visual Basic 6

Posted: Tue Sep 13, 2011 8:22 pm
by ourstreaming
I am learning Visual Basic. I just want to attach commands to the keypress using visual basic without learning c programming.
I want to send serial commands to serial devices such as ipod,projectors stepper motors, etc.
Has anyone used Visual Basic to do this?
Thanks
Leon

Posted: Wed Sep 14, 2011 9:02 am
by Clark
Hi Leon,

Let's see what all-wise Google says...yes, Microsoft has a support page for that. Please take some time to learn the code you wish to deploy in your project; it will help you discover the limitations of your design and build on it's strengths.

Thanks,
~Troy

Posted: Wed Sep 14, 2011 11:10 am
by Ray
Thats vb.net though, vb6 got released in 1999, microsoft's official support ended somewhere in 2005. You might be better off learning vb.net instead since thats still a supported product.

Assign Keypad Codes 0xfe oxd5[KDown][KUp]

Posted: Wed Sep 14, 2011 3:00 pm
by ourstreaming
I am almost afraid to post again because you keep sending me some where else.
I promise that this is my last try.

When I press the up arrow key on the keypad, yes it does send a 'H' to the serial port. That is why I brought your product in the first place.
I want to change that 'H' into "Hello world"

MSComm1.Output = Chr$(&HFE) +Chr$(&HD5) [KDown][KUp] + ("Hello World") + Chr$(13)
Thanks
Leon

Posted: Thu Sep 15, 2011 9:23 am
by Clark
Hi Leon,

The LCD will only ever respond with one byte, your host will receive that byte and initiate a desired action; sending hello world to the screen or another device perhaps.

Thanks,
~Troy

The LCD will only ever respond with one byte

Posted: Thu Sep 15, 2011 12:27 pm
by ourstreaming
Thanks Troy,
Now I understand.
Leon

new lk204-25

Posted: Wed Apr 23, 2014 10:09 am
by ourstreaming
Just purchased a lk204-25 from mouser.
The screen lights up but there is no logo text nor can I send text.
Is there something that you can suggect before I send it back.

Thanks
Leon

Re: example: Sending text from LK202-25 with Visual Basic 6

Posted: Wed Apr 23, 2014 11:15 am
by Clark
Hi Leon,

If you haven't tried it already, I would recommend the manual override procedure outlined in your manual. And, if you aren't already, I would also recommend testing with a known good piece of software. For an alphanumeric unit, uProject is a good place to start.

Finally, if this turns out to be a hardware fault, please send an email to support@matrixorbital.ca with the serial number of your unit (##M##-####) and a reference to this thread, then we can get started on an RMA for repair.

Cheers,
Troy