Platforms to show: All Mac Windows Linux Cross-Platform

Back to OldPhidgetTextLCDMBS class.

OldPhidgetTextLCDMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The constructor.

On success the handle value is not zero.
Lasterror is set.

OldPhidgetTextLCDMBS.getBacklight as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the state of the backlight.

The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.getBrightness as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the brightness of the backlight. Not supported on all TextLCDs

The backlight brightness has a range of 0 to 255.
The Lasterror property is set.

OldPhidgetTextLCDMBS.getColumnCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of columns per supported by this display.

The Lasterror property is set.

OldPhidgetTextLCDMBS.getContrast as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the contrast value from 0-255.

Note that this defaults to 0.
The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.getCursorBlink as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Determines if the cursor's blinking is on or off.

Note that this defaults to False.
The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.getCursorOn as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Determines if the cursor is on or off.

Note that this defaults to False.
The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.getRowCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of rows supported by this display.

The Lasterror property is set.

OldPhidgetTextLCDMBS.getScreen as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the active screen.

Lasterror is set.

OldPhidgetTextLCDMBS.getScreenCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of Display supported by this TextLCD.

Lasterror is set.

OldPhidgetTextLCDMBS.getScreenSize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the screen size.

See PHIDGET_TEXTLCD_SCREEN_* constants.
Lasterror is set.

OldPhidgetTextLCDMBS.initialize

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Initializes the active screen.

Only supported on the TextLCD adapter.
This should be called if a screen is attached after power up, or to clear the screen after setting the size.
Lasterror is set.

OldPhidgetTextLCDMBS.setBacklight(backlightState as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the state of the backlight.

The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.setBrightness(Brightness as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the brightness of the backlight. Not supported on all TextLCDs

The backlight brightness has a range of 0 to 255.
The Lasterror property is set.

OldPhidgetTextLCDMBS.setContrast(Contrast as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the contrast from 0-255.

The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.setCursorBlink(CursorBlink as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the cursor's blinking on or off.

The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.setCursorOn(CursorOn as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the cursor on or off.

This cursor is displayed at the last location that was changed.

The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.setCustomCharacter(index as Integer, val1 as Integer, val2 as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets a custom character.

With existing hardware, there is space for 8 custom characters : Index can range from 8 to 15.
Each character is described by a set of integers.
For more information, have a look at the TextLCD example in the examples.zip for Phidget21.

The Lasterror property is set.

Some examples using this method:

OldPhidgetTextLCDMBS.setDisplayCharacter(index as Integer, column as Integer, character as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets a single character on the display.

index: The row index.
column: The column index.
character: The character to display.

The Lasterror property is set.

OldPhidgetTextLCDMBS.setDisplayString(row as Integer, displayString as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the text to display on a particular row of the display.

Row: Row to set on display
DisplayString: String to set on display. The text will be clipped at the right edge of the display.
The Lasterror property is set.

OldPhidgetTextLCDMBS.setScreen(screenIndex as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the active screen.

This is the screen that all subsequent API calls will apply to.
Lasterror is set.

OldPhidgetTextLCDMBS.setScreenSize(screenSize as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the active screen size. Only supported on the TextLCD Adapter.

Lasterror is set.

The items on this page are in the following plugins: MBS Phidgets Plugin.


The biggest plugin in space...