Search found 19 matches

by PaulBMO
Tue Sep 30, 2014 2:21 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Set font using C#, version 8.5
Replies: 3
Views: 7144

Re: Set font using C#, version 8.5

Thanks Troy. I got it working.
by PaulBMO
Mon Sep 29, 2014 8:31 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Set font using C#, version 8.5
Replies: 3
Views: 7144

Set font using C#, version 8.5

Hi,

I've got an Visual Studio 2013 C# application to control the EGLK19264A-7T-USB-WB-PL display.
All worked fine with version 8.4. Now I have a big problem with setting the font ID using version 8.5.
All other commands I send to the display work fine.

Can you help me?
And could you please supply ...
by PaulBMO
Tue Apr 01, 2014 2:56 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Trouble with Read Module Type in C#
Replies: 3
Views: 5287

Re: Trouble with Read Module Type in C#

Hi Martino,

Thanks for your reply.

The problem was that I had to wait 50 milliseconds for the display.
So I added this line:

comport.Write(commando2Bytes, 0, commando2Bytes.Length);
int milliseconds = 50;
Thread.Sleep(milliseconds);


regards
Paul
by PaulBMO
Fri Mar 28, 2014 8:35 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Trouble with Read Module Type in C#
Replies: 3
Views: 5287

Trouble with Read Module Type in C#

When I execute this code (visual studio, C#):

//Read module type
commando[0] = 254;
commando[1] = 55;
port.Write(commando, 0, commando.Length);

int length = port.BytesToRead;
byte[] buf = new byte[length];
port.Read(buf, 0, length);
Console.WriteLine("Received data: " + buf);

I don't get ...