Kernel SDK Developer's Guide > Getting Started Using Kernel SDK > Using Kernel Sample Applications > Example of Converting a .sat File
Example of Converting a .sat File

Summary

ODA Product: ODA Kernel SDK
Sample Name: SATConverter
Categories: C++ / Beginner / Working with .sat files / Android, iOS, macOS, Linux, Windows
Source Code Location: Kernel/Examples/SATConverter

Description

A console sample application that reads a specified .sat or .sab file and copies its content to another file also specified by a user.

Run Sample Application

To run the SATConverter sample application, please do the following:

  1. Open the terminal window and go to the directory where the sample binary file is allocated:
    • For Windows® platforms: <KERNEL_DIR>\exe\<version>
    • For Non-Windows platforms: <KERNEL_DIR>/bin/<version>

    <KERNEL_DIR> is a directory where you unpacked the Kernel archive.

    To determine your <version> parameter, please see the appropriate section in the Download Kernel SDK topic.

  2. Run the sample with appropriate arguments:
    
                SATConverter <infile>  <outfile>
              
    infile The input .sat or .sab file to be copied.
    outfile The output .sat or .sab file to be created as a copy of the original file.

If the application executed properly, you will see the following result on your terminal screen:

If an error occurs during the execution of the application, you will see an error message in the console window:

See Also:

ODA Kernel SDK Sample Applications

Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.