26 08, 2023

I plan to use my Raspberry Pi as Serial SPE host controller. Do you have any libraries?

2023-08-26T10:55:40+10:00Categories: , |

Yes. We have different libraries you can download and use from our GitHub account.

Each 4D graphics processor requires a dedicated library. When using a Raspberry Pi, you can choose to use the Linux libraries or the C libraries for Serial SPE.

Here are the Serial SPE C libraries available:

Here are the Serial SPE Linux libraries available:

26 08, 2023

How can I load back the Serial SPE program?

2023-08-26T10:52:30+10:00Categories: , |

If you like to reprogram the display module with the default Serial SPE program. Simply follow the following steps:

  1. Open Workshop4 IDE and then create a new project
  2. Select the display module that you are using and proceed
  3. In the Choose your Environment screen, select Serial
  4. Connect your display module to the computer
  5. Go to the Comms tab and select the correct COM port
  6. Finally, in the Tools tab, click on the SPE Load button to upload the SPE program into your display module
26 08, 2023

I plan to use my Arduino-compatible board as ViSi Genie host controller. Do you have any libraries?

2023-08-26T10:48:07+10:00Categories: , |

Yes. We have different libraries you can download and use from our Github account. You can find the ViSi Genie Arduino library here.

If you are planning to use Arduino IDE, it might be simpler to use their built in Arduino library manager.

Go to Sketch -> Include Library -> Manage Libraries to open the library manager, simply search for ViSi Genie and install it.

26 08, 2023

The display shows “Error-15”. What does this mean?

2023-08-26T10:34:27+10:00Categories: , |

Error 15 or Eve Stack overflow means that either the stack size is insufficient in your program (variables and such), a recursive function fails to exit, or multiple timers are firing simultaneously.

For insufficient stack size.

You can expand the stack size by manually inserting the code below for Workshop4 Designer/ViSi and ViSi-Genie Magic

#STACK 4094 //max stack size

Using Designer/ViSi add the line at the top of your code as constant.

Using ViSi-Genie Magic add the line using Magic Code in the Constant/Global/Data Insertion

For more information about the #STACK, you can check the 4DGL Programmers Reference Manual

For recursive functions.

Check iterations, recursions or function calls that may possibly cause this. You can add like, return or return 0 as an ending argument to make sure that it terminates.

It can also happen in conditionals (especially nested ones) where you think the program might not actually reach the argument; it would still be best to add an else clause with just the return statement in it just so the memory gets freed once it exits the function.

You can find this error on Internal Functions Reference Manual > Runtime Errors.

Diablo16 Internal Functions Manual

Pixxi Internal Functions Manual

Picaso Internal Function Manual

If you are still having trouble, you can contact our technical support, who will help you check your code.

26 08, 2023

What is a host controller?

2023-08-26T10:30:51+10:00Categories: , |

A host controller is a separate programmable microcontroller (typically) designed to control the graphical user interface and process user inputs.

A host controller is typically used when the display module is configured in Serial (SPE) or ViSi Genie environments. It is also possible to create a Designer or ViSi project that is designed to work with a host controller with a custom protocol.

Host controllers can be useful if there is a system that has a lot of GPIO or external device interaction, so they can be dedicated to handling those devices and passing information to and from the display which is relevant.

Host controllers can also extend to larger devices, not just microcontrollers, but anything that has a Serial UART, which can pass information to and/or from a 4D display module.

Host controllers don’t always need to be programmable either, such as if there is an older system and a display needs to be replaced on it, as long as the old display signals can be sent over a Serial UART, then a custom protocol can be written on the 4D Display side using Designer, ViSi or even ViSi-Genie PRO, to interpret this host information and display required information on the 4D display.

Go to Top