Command Line Tool
-
- LCD?
- Posts: 5
- Joined: Mon Jul 24, 2006 9:27 am
Command Line Tool
Hi,
I've recently purchased a LK204 and looking for a command line tool to perform some basic functions. I don't need test software but I need a means for example to dim the display and has to be done using this, as the software I'm using (Girder) + pluggin, doesn't appear to support this type of functionality (and I'm not a programmer, but can work with some very basic scripting/perl).
Any suggestions?
Thanks,
Mark
I've recently purchased a LK204 and looking for a command line tool to perform some basic functions. I don't need test software but I need a means for example to dim the display and has to be done using this, as the software I'm using (Girder) + pluggin, doesn't appear to support this type of functionality (and I'm not a programmer, but can work with some very basic scripting/perl).
Any suggestions?
Thanks,
Mark
-
- Matrix Orbital
- Posts: 231
- Joined: Mon Oct 24, 2005 10:38 am
- Location: Calgary, AB, Canada
- Contact:
Hi Mark,
You can use uProject to dim the display. Simply open it up, select the COM port, and baud rate, then go to the remember panel, click the remember button (so that the changes that you make will be permanent) then go to the main panel and move the brightness slider to the desired brightness, and thats it.
Let me know how this works.
--
Jon
You can use uProject to dim the display. Simply open it up, select the COM port, and baud rate, then go to the remember panel, click the remember button (so that the changes that you make will be permanent) then go to the main panel and move the brightness slider to the desired brightness, and thats it.
Let me know how this works.
--
Jon
-
- LCD?
- Posts: 5
- Joined: Mon Jul 24, 2006 9:27 am
-
- LCD?
- Posts: 5
- Joined: Mon Jul 24, 2006 9:27 am
-
- LCD?
- Posts: 5
- Joined: Mon Jul 24, 2006 9:27 am
-
- LCD Guru
- Posts: 55
- Joined: Tue Apr 12, 2005 2:31 am
Re: Command Line Tool
Not really difficult, here is a small command line tool (wrote it in a few minutes, so don't expect it will always run without any errorsmfergusson wrote:Hi,
I've recently purchased a LK204 and looking for a command line tool to perform some basic functions.


http://www.jvonk.info/mosdk/SerialCLT.zip (7 Kb)
Usage is quite easy,
SerialCLT.exe /Port:<portname> /Baudrate:<baudrate> text-to-send
Portname defaults to COM1
Baudrate defaults to 19200
Code: Select all
SerialCLT.exe /Port:COM3 Hello
If you want to send special characters, use [254] to send the byte 254 to the display.
Code: Select all
SerialCLT.exe /Port:COM3 [254][88]Hello
Code: Select all
SerialCLT.exe /Port:COM3 "SerialCLT.exe" /Port:COM3 [254][88][254][118][254][61][1][10]
etc

-
- LCD?
- Posts: 5
- Joined: Mon Jul 24, 2006 9:27 am
-
- LCD Guru
- Posts: 55
- Joined: Tue Apr 12, 2005 2:31 am
No, not at all. Please keep in mind that it's not completely fool-proof. Also please don't forget to mention that you need the .NET Framework 2.0. (does that make sense, a 22MB download for a 7KB tool?Henry wrote:Jeroen, mind if we post that on the website?
