Loading...
 
4D Systems Supporting Files
Designed to provide useful information showcasing the spectrum of features that 4D products have to
offer, through easy to read documentation supported by illustrative images and sample code extracts.

ViSi-Genie Magic Slide to Unlock with a Host

Name : 4D-AN-00172
Title : ViSi-Genie Magic Slide to Unlock with a Host
Revision : 1.01
Description : To understand this application note more quickly, the reader is advised to read and understand first the application note

ViSi-Genie Magic Slide to Unlock.

ViSi-Genie Magic Slide to Unlock shows how a stand-alone ViSi-Genie program with a slide-to-unlock feature is created. The slide-to-unlock project has two forms. The first form has a slider whose knob, when dragged to the right-most part, triggers the program to navigate to the second form. A winbutton on the second form, when pressed, causes the program to navigate back to the first form.

This application note shows how to modify the project in ViSi-Genie Magic Slide to Unlock, such that when the knob of the slider is moved to the extreme right (the program is unlocked), a message is sent to the serial port. Also, when the winbutton on the second form is pressed (the program is locked), another message is sent to the serial port.

More specifically, this application note shows how the function SendReport(…) is used with ViSi-Genie Magic objects. The function SendReport(…) is one of the callable functions in the new ViSi-Genie Communications protocol. This function causes the program to send a REPORT_EVENT or a REPORT_OBJ message to the serial port. This function can be inserted into the code of a Genie Magic object.
Link : http://www.4dsystems.com.au/appnote/4D-AN-00172/
Supported Processor : PICASO, DIABLO16
Supported Environment : ViSi-Genie
Subcategory : genie-magic
Files :
Difficulty : Medium
Recommendation(s) :
Title Difficulty
General How to Update the PmmC for Diablo16 Easy
General Migrating from PICASO-SGC-GFX to PICASO Easy
General How to Update the PmmC for Picaso Easy
General Partitioning a micro-SD into FAT and RAW Components Easy
ViSi-Genie Getting Started - First Project for Picaso Display Modules Easy
ViSi-Genie Getting Started - First Project for Diablo16 Display Modules Easy
ViSi-Genie onChanging and onChanged Events Easy
ViSi-Genie Advanced Buttons Medium
ViSi-Genie Inputs Medium
ViSi-Genie Labels, Text, and Strings Medium
ViSi-Genie How to Add Magic Objects Medium
ViSi-Genie Magic Slide to Unlock Medium