SqueezeBrains SDK 1.13
retina_svl_project.c File Reference

Tutorial 6 - Retina - how to run the SVL of an existing project. More...

#include "../common/common.h"
Include dependency graph for retina_svl_project.c:

Go to the source code of this file.

Data Structures

struct  retina_svl_user_data
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Tutorial 6 - Retina - how to run the SVL of an existing project.

This tutorial shows how to do the svl of an existing project.
You can use the "SB GUI" to create and set the parameters of the project. On the command line you can specify

  • the path containg the project
  • if SVL should be resetted or not
  • the memory percentage to leave free

During the execution the programs shows the status of the svl with the progressive results.
If you use Microsoft Visual Studio, you can stop the SVL using a key combination.
At the end the new SVL is saved in the project file.

Attention
In current directory you should copy the license file sb.lic.
Alternatively, if you have bought a the dongle license, you can connect it to an usb port of the PC.
See also
sb_init
sb_release
sb_get_info
sb_license_get_info
sb_folder_load
sb_folder_destroy
sb_solution_get_info
sb_solution_destroy_info
sb_project_load
sb_project_destroy
sb_project_save
sb_project_get_par
sb_project_set_par
sb_par_format
sb_svl_reset
sb_svl_stop_request
sb_svl_run
sb_svl_get_res
sb_svl_destroy_res

Definition in file retina_svl_project.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

In the following the list of the program steps:

  1. Initialization of the SqueezeBrains library.
  2. Wait until the license is active.
  3. Search the project file in the path
  4. Get the solution information.
  5. Load the project
  6. Get the SVL parameters
  7. Set the SVL parameters
  8. Reset SVL if it's needed
  9. Start the SVL (only on Linux)
  10. Save SVL results if it is possible
  11. Release the handles and the library
  12. Release the library.

Definition at line 88 of file retina_svl_project.c.

Here is the call graph for this function: