Description
After developing an application it is necessary to commission or deploy the application for use.
Consult the commissioning cases described below.
Snap2Motion Console Required
If a Snap2Motion Console is involved a shortcut can be made to directly start the Console without having to use Snap2Motion.
To illustrate this form the "Scope Package" will be be used. Start Snap2Motion, Select File | Open Resources, open the Software Packages folder, and select Scope Package.dsm
Now save the Scope Package in a project directory such as "c:\projects" to represent a working directory for a project.
Use File Explorer to navigate to the Snap2Motion installation directory. Right click on the Snap2Motion.exe and drag onto the desktop. When the mouse is released select "Create Shortcut Here":
Now right click on the shortcut and select "Properties":
The Properties page has a field named "Target:" which conatins the "C:\Program Files (x86)\Snap2Motion\Snap2Motion.exe" if the default directories were used during installation. Append to this a space, a double quote, and the file path to the project
followed by another double quote:.
This acts as a command line parameter. The double quotes are needed to insure the entire path and file are regarded as a single parameter even though there might be spaces in the file path or name as is the case here. Now double click on the shortcut. There will be a delay
and then the application console will appear without Snap2Motion ever having been seen:
Snap2Motion is still involved behind the scenes compiling the project and providing Windows services for application running in the contorller.
The shortcut can be used to start the project from the desktop or placed into the C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp folder so that it starts automatically when the PC starts.
Standalone Operation
The application can be stored in the controller to run when the controller is powered. To store a project in the controller run the project, press the red stop to stop the project, and then select from the menu "File | Save In Controller":
If the project is not run first this message is shown:
Snap2Motion will show file save progress...
...and conclude with this message:
When the controller is powered any Autostart tasks will be performed and then the Main.Setup procedure will be performed (if it has been described). To stop application behavior when the controller is powered on save a blank project into the controller.