Skip to content

francisbanua/XPLAB-stage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XPLAB Stage

These are the programs created during the stage at XPLAB (12/06/23 - 30/06/23). They were developed by me and another student, with the assistance of two tutors. All programs were written using the POWER-KI language and the POWER-KI Workbench.

ciao-01.pka

12/06/23

This program prompts the user to enter their name and returns "Ciao" followed by the user's name.

ciao-01

ciao-02.pwk

12/06/23

Similar to ciao-01.pka, but with a graphical user interface (GUI). The user can input their name in a text box, and upon clicking a button, a label displaying "Ciao" followed by the user's name will appear.

ciao-02

agenda-02.pwk

12/06/23 - 13/06/23, 21/06/23

This program allows the user to add, edit, and delete information (surname, name, number) about a person in a table, and the data is saved in a SQL database. The user can add or edit information by using the respective buttons and filling the text boxes. They can also delete information about a selected person.

agenda-01 agenda-01-02

rete-01.pwk

13/06/23

This program displays a camera and allows the user to send and receive messages using UDP, specifying the destination IP. The user can enter the destination IP and the message in two text boxes. Upon clicking a button, the message is sent to the specified destination. Sent and received messages are shown in a panel along with their respective IP addresses.

rete-01

realsense-01.pwk

13/06/23 - 14/06/23

This program showcases the four modes of a RealSense camera.

realsense-01

grid-02.pwk

15/06/23 - 19/06/23

This program allows the user to perform various actions on a grid panel, such as choosing colors and adding, editing, deleting and drawing points.

The user can choose a color by clicking on a button, which opens a new GUI displaying a table of colors. In this GUI, the user can add and edit colors by entering the color name and color value in text boxes. They can confirm or cancel the action. To delete a color, the user selects a color from the table and clicks the delete button.

To choose a color for drawing, the user double-clicks on a color, which takes them back to the primary GUI. Then, the user can specify the x and y coordinates of the point by entering them into two text boxes. By clicking a button, the point properties are added to a table, and the point is drawn on the panel.

grid-02 grid-02-02

file-transfer-01.pwk

16/06/23 - 20/06/23

This program enables file transfer using TCP, allowing the user to specify the destination IP.

The user can transfer a file by choosing it with a button, which opens the file explorer in Windows, allowing the user to select a file. The destination IP can be inserted into a text box. By clicking a button, the file transfer process is initiated. The program is always listening for incoming files, and any received files, along with the sender's IP, are added to a table.

file-transfer-01

web-01.pwk

21/06/23

This program utilizes the Web User Interface (WUI) to create HTML pages and allows the user to navigate the web using WEB/WEBFAST.

The user can enter the link of a website in a text box. By clicking a button, the website is loaded into a panel. The user can also load an HTML page created in the WUI interface by entering "127.0.0.1/" or "localhost/" followed by the HTML file name in the text box.

web-01 web-01-02

native-cloud_01.pwk

22/06/23

This program opens a remote GUI and displays all the connections in a table.

By executing a command in the terminal, the user can open a remote GUI that connects to another device (which can be the same device). The remote device's GUI shows a table with all the current connections.

native-cloud_01 native-cloud_01-02 native-cloud_01-03

server-remote-01.pwk

22/06/23 - 26/06/23

This program provides a remote GUI that allows clients to navigate through the server's files, create new folders, rename, delete, download, and upload files.

By executing a command in the terminal, the user can open a remote GUI that connects to the server and enables file management. The user can rename files and folders, create new folders, and perform various file operations. A panel appears when renaming or creating a folder, allowing the user to enter the name and confirm or cancel the action. The user can delete files and folders, download files, and upload files using the respective buttons. The download button opens the Windows save file dialog window.

server-remote-01 server-remote-01-02

ardu-dist-01.pwk

26/06/23 - 27/06/23

This program shows the distance from an object and multiplies it by a number. This uses an ultrasonic sensor configured with Arduino and sends to the POWER-KI program the distance value, which will be written after "Distance:". The user can multiply this value by a number inserted in a textbox, which will be sent to Arduino after the click of a button. So with POWER-KI we can receive data from Arduino and also send data to Arduino.

adru-dist

diario.pwk

27/06/23 - 29/06/23

This program is a school diary that allows students to manage grades, the school weekly timetable, subjects, and events. All data is saved in an SQL database.

When the program starts, the student can see a table displaying the weekly event summary with columns for each day of the week. Another table is provided for managing grades. The student can add a grade by entering the grade in a text box, selecting the subject from a combo box, choosing the date using a button that opens a new GUI for date selection, and clicking the add button. Grades can be deleted by selecting them in the table and clicking the delete button.

The program includes three buttons that show different panels. The first button is for the school weekly timetable, where the student can enter subjects for each day in a table with 7 columns. The timetable can be saved in the database using a save button.

The second button is for managing subjects, displaying them in a table. The student can add a subject by entering the name and teacher's name in two text boxes and clicking the add button. Subjects can be deleted by selecting them in the table and clicking the delete button.

The third button is for managing events, displaying them in a table. The student can add a new event by entering the title and notes in text boxes, selecting the type and subject from combo boxes, choosing the date using a button, and clicking the add button. Events can be deleted by selecting them in the table and clicking the delete button. The student can also edit an event by double-clicking on it, which fills the input fields with the event's values. The student can confirm the changes by clicking the confirm button or add a new event with those values by clicking the add button.

diario-01 diario-orario diario-materie diario-eventi

durata-01.pwk

29/06/23

This program generates a graph in a panel based on a table that contains different operations along with their start and end times. The graph visually represents when each operation starts and ends. There's also a vertical line which moves with the cursor, and a label on top of the panel that shows the current time in the vertical line. This program lets the user select a table with a button, and the table will be loaded on the GUI and the database SQL.

durata (1)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published