With the Opencockpits USB LCD card you can control up to 4 LCD's.
Contrary to other Opencockpits USB cards/modules (like the Outputs card, or the MCP, or a Master card), this card is controlled by a separate software package.This program, called IOClcd.exe, acts as a IOCP client to SIOC. In our SIOC script we can use SIOC variables that will be displayed via IOClcd.exe.
To make this more clear I'll show you an example: the display of the Left, Center, Right and Total fuel tank values of the Level-D Boeing 767 (FS9 version).
First we use the IOClcd_config.exe program to define a so-called virtual screen at a 20x4 character display. You may define up to 4 virtual screens per display. With a SIOC variable you can switch between virtual screens, so you can switch for instance between a Fuel screen and a Engine parameters screen.
In this example I'll only define the Fuel screen:
Var 2950 is used as virtual screen selector, if we assign it he value 0, then this fuel screen will show up.
Certain positions are given fixed text values, like the L, the C and the R, and the decimal points.
The yellow blocks are the fields where the actual fuel tank values will be shown. I have defined them two positions wide for the integer values and 1 position wide for the decimal values. Each field has a SIOC Variable attached, it starts with 2951 for the integer value of the Left fuel tank and it ends with 2958 for the decimal value of the Total Fuel value. All these definitions are entered with the IOClcd_config.exe program and at the end we save this configuration in a file called fuel767LCD_fs9.lcd.
The SIOC script used to compute and display the Fuel Tank Values of the Level-D Boeing 767 can be found in this zip file, together with all the other related configuration files. The interesting part of the SIOC script is the definition of the variables that are implicitly "linked" to the 20x4 display via the IOClcd.exe program:
Var 2950 value 0 // virtual display selector
Var 2951 name FuelLHLCD // FuelL High part at LCD (2 digits)
Var 2952 name FuelLLLCD // FuelL Low (decimal) part at LCD (1 digit)
Var 2953 name FuelCHLCD // FuelC High part at LCD (2 digits)
Var 2954 name FuelCLLCD // FuelC Low (decimal) part at LCD (1 digit)
Var 2955 name FuelRHLCD // FuelR High part at LCD (2 digits)
Var 2956 name FuelRLLCD // FuelR Low (decimal) part at LCD (1 digit)
Var 2957 name FuelTHLCD // FuelT High part at LCD (2 digits)
Var 2958 name FuelTLLCD // FuelT Low (decimal) part at LCD (1 digit)
If we run this SIOC script (and FS9, and IOClcd.exe) the LCD display will show a screen like this: