Platforms to show: All Mac Windows Linux Cross-Platform

Back to PhidgetLCDMBS class.

PhidgetLCDMBS.Clear

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Clears all pixels in the current frame buffer.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

PhidgetLCDMBS.ClearAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Clears all pixels in the current frame buffer.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

Calls ClearAsyncCompleted event later.

PhidgetLCDMBS.Constructor

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

PhidgetLCDMBS.copy(sourceFramebuffer as Integer, destFramebuffer as Integer, sourceX1 as Integer, sourceY1 as Integer, sourceX2 as Integer, sourceY2 as Integer, destX as Integer, destY as Integer, inverted as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Copies all pixels from a specified rectangular region to another.

sourceFramebuffer: Index number of the frame buffer containing the source rectangle
destFramebuffer: Index number of the frame buffer containing the destination rectangle
sourceX1: X coordinate of upper left corner of source rectangle
sourceY1: Y coordinate of upper left corner of source rectangle
sourceX2: X coordinate of bottom right corner of source rectangle
sourceY2: Y coordinate of bottom right corner of source rectangle
destX: X coordinate of upper left corner of destination rectangle
destY: Y coordinate of upper left corner of destination rectangle
inverted: If true, copied pixels are inverted

PhidgetLCDMBS.copyAsync(sourceFramebuffer as Integer, destFramebuffer as Integer, sourceX1 as Integer, sourceY1 as Integer, sourceX2 as Integer, sourceY2 as Integer, destX as Integer, destY as Integer, inverted as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Copies all pixels from a specified rectangular region to another.

sourceFramebuffer: Index number of the frame buffer containing the source rectangle
destFramebuffer: Index number of the frame buffer containing the destination rectangle
sourceX1: X coordinate of upper left corner of source rectangle
sourceY1: Y coordinate of upper left corner of source rectangle
sourceX2: X coordinate of bottom right corner of source rectangle
sourceY2: Y coordinate of bottom right corner of source rectangle
destX: X coordinate of upper left corner of destination rectangle
destY: Y coordinate of upper left corner of destination rectangle
inverted: If true, copied pixels are inverted

Calls copyAsyncCompleted event later.

PhidgetLCDMBS.drawLine(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws a straight line in the current frame buffer between two specified points.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

x1: X coordinate of the first point
y1: Y coordinate of the first point
x2: X coordinate of the second point
y2: Y coordinate of the second point

PhidgetLCDMBS.drawLineAsync(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws a straight line in the current frame buffer between two specified points.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

x1: X coordinate of the first point
y1: Y coordinate of the first point
x2: X coordinate of the second point
y2: Y coordinate of the second point

CallsdrawLineAsyncCompleted event later.

PhidgetLCDMBS.drawPixel(x as Integer, y as Integer, pixelState as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws, erases, or inverts a single specified pixel.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

x: The X coordinate of the pixel
y: The Y coordinate of the pixel
pixelState: The new state of the pixel.

PhidgetLCDMBS.drawPixelAsync(x as Integer, y as Integer, pixelState as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws, erases, or inverts a single specified pixel.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

x: The X coordinate of the pixel
y: The Y coordinate of the pixel
pixelState: The new state of the pixel.

Calls drawPixelAsyncCompleted event later.

PhidgetLCDMBS.drawRect(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer, filled as Integer, inverted as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws a rectangle in the current frame buffer using the specified points.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

x1: The X coordinate of the top-left corner of the rectangle
y1: The Y coordinate of the top-left corner of the rectangle
x2: The X coordinate of the bottom-right corner of the rectangle
y2: The Y coordinate of the bottom-right corner of the rectangle
filled: If true, the rectangle will be solid. If false, just a single pixel outline.
inverted: If true, clears the region instead of drawing

PhidgetLCDMBS.drawRectAsync(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer, filled as Integer, inverted as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws a rectangle in the current frame buffer using the specified points.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

x1: The X coordinate of the top-left corner of the rectangle
y1: The Y coordinate of the top-left corner of the rectangle
x2: The X coordinate of the bottom-right corner of the rectangle
y2: The Y coordinate of the bottom-right corner of the rectangle
filled: If true, the rectangle will be solid. If false, just a single pixel outline.
inverted: If true, clears the region instead of drawing

Calls drawRectAsyncCompleted event later.

PhidgetLCDMBS.Flush

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Flushes the buffered LCD contents to the LCD screen.

PhidgetLCDMBS.FlushAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Flushes the buffered LCD contents to the LCD screen.

Calls FlushAsyncCompleted event later.

PhidgetLCDMBS.getFontSize(Font as Integer, byref Width as Integer, byref Height as Integer)

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

font: The specified font
width: The width of the font
height: The height of the font

PhidgetLCDMBS.Initialize

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Initializes the Text LCD display.

PhidgetLCDMBS.MaxCharacters(font as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The maximum number of characters that can fit on the frame buffer for the specified font.

font: The specified font
maxCharacters: The maximum number of characters for the font

PhidgetLCDMBS.saveFrameBuffer(frameBuffer as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Writes the specified frame buffer to flash memory

Use sparingly. The flash memory is only designed to be written to 10,000 times before it may become unusable. This method can only be called one time each time the channel is opened.

PhidgetLCDMBS.saveFrameBufferAsync(frameBuffer as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Writes the specified frame buffer to flash memory

Use sparingly. The flash memory is only designed to be written to 10,000 times before it may become unusable. This method can only be called one time each time the channel is opened.

Calls saveFrameBufferAsyncCompleted event later.

PhidgetLCDMBS.setCharacterBitmap(Font as Integer, Character as String, Bitmap as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Create a bitmap and select a character to represent it.

Now, when you use the specific character, the bitmap will show in it's place.

font: The font the character belongs to
character: The character to be changed, in a null-terminated string.
bitmap: Bitmap array as Memoryblock.

PhidgetLCDMBS.setCharacterBitmapAsync(Font as Integer, Character as String, Bitmap as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Create a bitmap and select a character to represent it.

Now, when you use the specific character, the bitmap will show in it's place.

font: The font the character belongs to
character: The character to be changed, in a null-terminated string.
bitmap: Bitmap array as Memoryblock.

Calls setCharacterBitmapAsyncCompleted event later.

PhidgetLCDMBS.setFontSize(Font as Integer, Width as Integer, Height as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the size of the specified font.

font: The specified font
width: The width of the font
height: The height of the font

PhidgetLCDMBS.writeBitmap(xPosition as Integer, yPosition as Integer, xSize as Integer, ySize as Integer, Bitmap as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws a bitmap to the current frame buffer at the given location.

Each byte in the array represents one pixel in row-major order.
Changes made to the frame buffer must be flushed to the LCD screen using flush.

xPosition: The X coordinate of the bitmap
yPosition: The Y coordinate of the bitmap
xSize: The length of each row in the bitmap
ySize: The number of rows in the bitmap
bitmap: The bitmap to be drawn

PhidgetLCDMBS.writeBitmapAsync(xPosition as Integer, yPosition as Integer, xSize as Integer, ySize as Integer, Bitmap as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Draws a bitmap to the current frame buffer at the given location.

Each byte in the array represents one pixel in row-major order.
Changes made to the frame buffer must be flushed to the LCD screen using flush.

xPosition: The X coordinate of the bitmap
yPosition: The Y coordinate of the bitmap
xSize: The length of each row in the bitmap
ySize: The number of rows in the bitmap
bitmap: The bitmap to be drawn

Calls writeTextAsyncCompleted event later.

PhidgetLCDMBS.writeText(Font as Integer, xPosition as Integer, yPosition as Integer, Text as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Writes text to the current frame buffer at the specified location.

Changes made to the frame buffer must be flushed to the LCD screen using flush.

font: The font of the text
xPosition: The X position of the start of the text string
yPosition: The Y position of the start of the text string
text: The text to be written

PhidgetLCDMBS.writeTextAsync(Font as Integer, xPosition as Integer, yPosition as Integer, Text as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Write text asynchronously.

Writes text to the current frame buffer at the specified location.
Changes made to the frame buffer must be flushed to the LCD screen using flush.

font: The font of the text
xPosition: The X position of the start of the text string
yPosition: The Y position of the start of the text string
text: The text to be written

Calls writeTextAsyncCompleted event later.

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


The biggest plugin in space...