Practicum 1.6.0 released

New
  • Tidier user interface (navigation menu, system settings, action buttons, list navigation, file upload)
  • Possibility to reset the password via email (if an SMTP server has been configured)
  • Better performance of the program with many parallel accesses
  • Improved information when filtering inventory items by status
  • English localization of the program
practicum_160_blog_en

ListJoiner 1.1.0 released

What's new:

- Added 4 new join modes.
- Compatibility with ARM processors.
- UI improvements.
Mac App Store:
https://apps.apple.com/app/listjoiner/id1503976082

listjoiner_ui_1

Tutorial: Color mixer

A short tutorial that shows how to program a simple color mixer with Xojo.

Tutorial: Game of life

A short Xojo tutorial that shows how to program Conway's "Game of Life".

Tutorial: Scale image

A short Java tutorial that shows how to scale an image.

Tutorial: Get system information

A short Java tutorial that shows how to obtain certain information about the system on which the Java program is running.

Tutorial: Simple length converter

Again time for a little tutorial in between. We create a small program to convert metric units of length into each other. So: Go to the keys and let the fun begin!

Tutorial: Bubblesort animation

A few years ago I programmed a simple animation of the bubblesort sorting algorithm with Xojo. For fun, I simplified the code from back then significantly and reprogrammed the whole thing (see video).

Tutorial: Randomly pick items from list

A few days ago we needed a software that should randomly draw three winners from a list of people. The list should be able to be inserted by Copy&Paste e.g. from a CSV file. So I quickly got to the keyboard and programmed something small. For fun I made a little video out of it.

Talking at the European Xojo Developer Conference, organized by Monkeybread Software



This year the 12th European Xojo Developer Conference, organized by Monkeybread Software, was held in Cologne on 24th and 25th October 2019. I gave a talk on the subject: Data acquisition and data processing with Arduino and Xojo. Thanks to my son for helping me preparing the electronic circuits which I used during the presentation. Also many thanks to Christian and Stefanie from Monkeybread Software for organizing the conference. It was nice to meet software and hardware developers from all over the world.

Tutorial: Controlling RGB LED with Arduino and Xojo

Today we control an RGB-LED with Arduino and Xojo:

- First, you need to build the circuitry as shown in the picture below.
Sketch_RGB_LED_bb

- Donwload the required Arduino and Xojo project files here (https://no516.com/dl/Control_RGB_Led.zip).
- Unzip the donwloaded project files.
- Connect the Arduino to your computer using an USB cable.
- Open the Arduino project file in the Arduino IDE and upload the project to the Arduino board.
- Open the Xojo project file and run the project in the Xojo IDE.
- When the application starts, you have to connect to correct the serial port (select the port from the popup menu and press the „Connect“ button)
- Now you can control the different colors of the RGB-LED with the three silders.

Screenshot_Control_RGB_LED
To control the RGB-LED we simply call the folowing code whenever one of the three sliders gets moved:

SerialController.Write("<"+ Str(Slider_Red.Value) + "," + Str(Slider_Green.Value) + "," + Str(Slider_Blue.Value) + ">")

Note that we use the “<“ and “>” symbols as start an end markers for the command that we send to the Arduino board. This is how the Arduino will know where a command begins and ends. The values of the sliders are separated by commas. On the Arduino board we use special code to parse the received message.

Tutorial: Controlling LED with Arduino and Xojo

It is quite easy to contral 3 LEDs with Arduino and Xojo:

- First, you need to build the circuitry as shown in the picture below.
Sketch_Arduino_3_LED_bb
- Donwload the required Arduino and Xojo project files here (https://no516.com/dl/Control_Led.zip).
- Unzip the donwloaded project files.
- Connect the Arduino to your computer using an USB cable.
- Open the Arduino project file in the Arduino IDE and upload the project to the Arduino board.
- Open the Xojo project file and run the project in the Xojo IDE.
- When the application starts, you have to connect to correct the serial port (select the port from the popup menu and press the „Connect“ button)
- Now you can enable the red, yellow and green LED (or turn them all off) by pressing the corresponding button.
Screenshot_Control_LED
To enable the red LED we simply need to put this code in the „Action“-event of the button with caption „RED“:

SerialController.Write("r")

This command will send a single character through the serial port to the Arduino board.

To enable the yellow or green LED we use:

SerialController.Write(“y”)
or
SerialController.Write(“g”)

To turn all three LEDs off, we send the chracter „o“:

SerialController.Write(“o”)


Just Code Challenge winner!

This year I took part in the „Just Code Challenge“ organized by Xojo (https://www.xojo.com) and won :-)

More information about the challenge here:
https://blog.xojo.com/2018/06/18/jump-right-in-just-code-challenge/

and the winners here:
https://forum.xojo.com/50192-just-code-challenge-winners

Thanks to the Xojo-team for the great opportunity and the great prices!