Author: Jan

BSA – Color Palettes

Setting up all the colors needed for controls is actually a bit of job because you need a set of colors for (1) Normal display, (2) Mouse Hover, (3) different states. In this case I show a button so I need Pressed. And for each set I need background, text and border etc. So, if…

Read the full article

BSA – Text Edit 2

My previous entry raised the issue about how to edit multi-line text. The illustrations below show one possibility. In this case I illustrate a description – something I want on every object. This is a normal property, but since it is a multi-line text it servers little purpose to display it on a few characters…

Read the full article

BSA – Text Edit

This shows the Note – the Note is a tool allowing you to write text with a Note border around it and it can be linked to obkects with lines etc – a handy way to make comments. However – how do we edit the note? (1) display the full note, while (2) display the…

Read the full article

BSA – Property Editor

Don’t worry – you will hear a lot about the Property Editor. The one you see above is yet a simple one. I am still using string edit for colors, but it works fine due to the nature of JavaScript. JavaScript accept colors in string format by name or #xxxxxxxx. (ARGB format). I will add…

Read the full article

BSA – Dialog Design

I am reaching a point where my illustrations regarding BSA are more and more the real thing. Property Editor is now real so I can start edit the components and add properties. I have a few days work setting up correct properties and then I will deal with saving and loading projects and a few…

Read the full article

BSA – DataSource

A critical component for a HMI Frontend is “Data Source”, meaning where is data loaded and saver. HMI alone is worthless unless it is actually connected to something. This can be a remote Modbus device, a database, simple memory structure, file structures etc. BSA will provide the component, but the user must add the source…

Read the full article

BSA – Sub-diagrams

Yet Another Fake Diagram. The symbols are real, but the links between the symbols are fakes yet… give me a few days. But, the fun is that I have reached a point where it is easier to make illustrations using BSA than Powerpoint. The illustration show a classic sub-diagram – you have a state symbol…

Read the full article

BSA – Importing Source Code

This first version of BSA will not have any capability to create anything than HMI, so we need to be smart about how we integrate source code. And the answer is straight forward: We could parse the source and auto-detect interface functions and events – it is possible, but it will require a good parser…

Read the full article

BSA – Including IoT Devices

A “device” is a definition in our system that can be visualized as anything you want – in this example I use an image showing two of my cards attached. What is important is that this device have input and output events – in this case shown as PLD terminals. This is a mock-up diagram…

Read the full article