Site icon Knarfalingus.net

LG UD4379 control via RS232 using C#

Recently I decided to upgrade my primary home computer monitor.  It had been 10 years since I bought my last monitor, a 24″ DELL, and its predecessor which is a 19″, that served as a secondary was bought a few years before that.   I went for what is one of the larger ones currently on the market, the LG 43UD79 .  This monitor has six inputs, four HDMI, one Display Port, one USB-C.

There are also eight ways you can configure the inputs.

You also get to choose which input sends sound to the built in speakers.

Taken all together, that is a lot of possibilities.  Furthermore, you can use the joystick at the bottom of the monitor to change inputs/arrangements, or use the remote control.  Now the remote control is useful, but it is still a bit of work.  Switching from a 4 input quad mode, to single input with PIP in the upper right, audio coming from the PIP source?  Lots of keypresses on the remote.

Luckily the LG UD4379 comes with an RS232 port, and I can write code.  So long story short I wrote a small C# program to handle switching from mode to mode.  I call the program from a set of shortcuts in a folder on my desktop, each named by what they do.

Main caveats so far :

The code and hardware used can be found here on GitHub

Quad mode

Single input with PIP

Shortcuts

 

Exit mobile version