Getting Started

Step 3- Create First Device

The image in KOS represents the software stack you will run on the node. It can be run on actual hardware or a simulator provided by KOS Studio. In this Article, we will walk through setting up our first image and running it on the simulator. KOS supports single-node and multi-node devices; for the purpose of this article, we will be working on a single-node device.

In the single-node device, you have a single-board computer running Linux and Java.

We will follow these steps to create an image for the device.

Sr. No

Step

Step Description

1

Create an image

Create an image

2

Configure an image

Configure the image created in Step 1

3

Run image on simulator

Run the configured image on Simulator

Create an image for the device

  1. Log in to KOS Studio and switch to the project in which you want to create the image.

  2. Navigate to my images and click on Open Image Manager

  3. On the Image Manager window, click on the Create a new image button in the upper right corner.

  4. On the Create a new image pop-up, provide the following information :

    1. Name: The name of the image should be unique within your organization.

    2. Description: The description of the image.

  5. Click on the Create button. This will create an image with the given name, and it is now listed on the Image Manager.

Configure the image

After completing step 1, KOS Studio creates a blank image, and the user needs to configure different layers in the created image. In this article, we will do a basic configuration of an image. Learn more about image configuration here

  1. Log in to KOS Studio and navigate to my images.

  2. On my Images, select Configure image main settings for the image created in step 1. Note that the icon has a red dot indicating errors the user must address.

  3. Click the ‘Configure’ tab in the Image Configuration window.

  4. KOS Release :

    1. Click the ‘KOS Version’ layer at the bottom.

    2. Click the ‘Configure new release’ button to select the KOS release version.

    3. Select the KOS release from the Release Channel available for your organization.

    4. Select the check boxes for Developer tools, Graphics and Chromium

    5. Click the Create button.

    6. Make sure the radio button for the created release is selected.

  5. The image configuration window also allows for configuring hardware settings, local artifacts, layers, file mappings, and sections, which we will keep as default for now.

  6. Close the ‘Image configuration’ window.

Run the image

The image can be run with KOS Studio on the My Images page. KOS Studio simulates the hardware for your device according to the hardware profile provided in the image.

To run the image :

  1. Log in to KOS Studio and navigate to my images.

  2. Select the image from My Images that we created in Step 1.

  3. Make sure Simulator run target is selected from the dropdown.

  4. Click on Run Image button play to run the image in simulator.

  5. Running Image opens in a new window.

Now you have an image that is able to run on simulator. In the next article we will deploy this image on device.

Previous
Next
On this page
Related Articles
Expand your knowledge with these curated articles that complement your exploration of KOS.
Install KOS Studio for Windows
How to install and uninstall KOS Studio for Windows
Step 1- Join an Organization
Join an organization to gain access to KOS
Step 4- Deploy On Hardware
Deploy your image to hardware
Java Development
Seamlessly transition from Legacy+ systems to Freestyle microdosing and advanced distributed dispense systems.
UI Development
Using KOS SDKs, integrating Consumer and Non-consumer facing UIs becomes seamless, giving you less hassle and more time to create.
Video Library
Meet some of our development team, as they lead you through the tools, features, and tips and tricks of various KOS tools.
Resources
Familiarize yourself with KOS terminology, our reference materials, and explore additional resources that complement your KOS journey.
Copyright © 2024 TCCC. All rights reserved.