Version 10 (modified by 13 years ago) ( diff ) | ,
---|
Setup for Software Development
About
This document will discuss in detail how to setup your environment to program the Cardinal 825 Digital Weight Indicator.
Features of the Cardinal 825 Programming Environment
- Subversion integration for instant access to the latest source code.
- Full featured Eclipse IDE which is quickly becoming the standard for developers everywhere.
- Mylyn integration with the Cardinal 825 Tech site for quick access to tickets and progress.
- Full debugging capabilities.
Required Files
Download and install VMWare player free virtual machine. Download the 825 development environment installer. This requires a reliable and fast internet connection and may take many hours or days to complete due to the size of the development VMWare image. If you have trouble downloading or do not have an internet connection, please contact your Cardinal dealer for information on getting the Cardinal 825 development kit.
- VMware Player - Required to run the Cardinal Fedora 825 Programming Environment.
- Cardinal Fedora 825 programming package
Installing the Environment
- Install VMware Player.
- Follow the steps listed choosing the default values to install.
- Reboot your computer if required.
- Install the Fedora development image. The downloadable installer will install it by default into My Documents/My Virtual Machines/. Once installed, we strongly recommend updating all of the projects and libraries that are provided through subversion to ensure that all source code is up to date. See the section below titled Subversion for information on how to do this.
Starting the Environment
- Start VMware Player by going to Start -> Programs -> VMware and choosing VMware Player
- Start the Cardinal 825 Programming Environment by choosing Open and choosing the 825_Develop_F14.vmx file from the directory you extracted it to in "Installing the Environment step 4".
- VMware will start.
- If prompted by VMWare player about the image being moved, then select I copied it from the dialog window.
- VMware will power up Fedora 14.
- Login by clicking on user, entering password 123456 and clicking Login.
- The Cardinal 825 Programming Environment will start automatically.
Using the Environment
Welcome Screen
The welcome screen gives you basic information about the Eclipse IDE. You can choose to view the information by clicking on the individual images or simply close it by pressing the X button in the corner.
Project Explorer
The project explorer gives you an overview of projects that are in your workspace. The Cardinal 825 Programming Environment is set to use /home/user/Workspace as the default workspace. You can change this by selecting File > Switch Workspace.
On the initial startup you will notice projects and libraries which have been provided as examples and tools for 825 application development.
- chkwgh - Checkweigher
- dfc - DFC Batcher
- ids - Truck / ID Storage
- indicator - Basic indicator application
- lib825 - 825 library
- lib825ev - 825 library for event style applications
- libapp - application library (deprecated)
- libsql - SQL database library
- mscale - Multi-scale
Task Repositories
Task repositories list the available bug tracking repositories. The Cardinal 825 Trac repository has been setup for you but you will need to enter your individual username and password for the Trac site (the one you used to login to the Wiki).
- Right-click on Cardinal 825 Trac and choose Properties.
- Uncheck anonymous and enter your validation credentials. When you are finished, press Validate Settings in the bottom-left.
- If you receive no errors you can press the "Save Password" checkbox and press Finish to save the settings.
Task Queries
Task queries allows you to generate custom queries to view tickets for the Cardinal 825.
- Right click on the Cardinal 825 Trac repository and choose New Query....
- We're going to create a query that will show all open tickets for the 825. Enter the information as shown in the screenshot and for Status choose all available except for closed. Press finish when you are done.
- A notification will appear to show you new tickets are available. This works fine but if you are forgetful like me you need a more permanent solution.
- Choose Window -> Show View -> Other...
- Choose Task List from the Tasks folder and press OK.
- Task List will now display on the bottom pane. Let's click and drag it next to the Task Repositories on the top-left.
- You will now have two categories. One is Uncategorized which is all tickets that we do not have a query for. The other is named * which is the query we just created. That's not a very intuitive name so let's rename it. Right-click on the * and choose rename. Enter All Tickets and press enter.
Subversion
Every project distributed with the Cardinal 825 Programming Environment comes attached to a Subversion repository. Subversion repositories allow you to get the most up to date source code with the click of a button.
- Right-click on the project or library and choose Team -> Update.
- You now have the latest available source code for the project.
Cardinal recommends creating your own repositories for your projects. For more information on doing so please see Google's Listing on Subversion Guides.
Attachments (37)
- screenshot.1.jpg (80.1 KB ) - added by 15 years ago.
- screenshot.2.jpg (63.5 KB ) - added by 15 years ago.
- screenshot.3.jpg (60.0 KB ) - added by 15 years ago.
- screenshot.4.jpg (65.7 KB ) - added by 15 years ago.
- screenshot.5.jpg (64.1 KB ) - added by 15 years ago.
- screenshot.6.jpg (66.3 KB ) - added by 15 years ago.
- screenshot.7.jpg (38.6 KB ) - added by 15 years ago.
- screenshot.9.jpg (172.5 KB ) - added by 15 years ago.
- screenshot.10.jpg (99.5 KB ) - added by 15 years ago.
- screenshot.11.jpg (97.6 KB ) - added by 15 years ago.
- screenshot.12.jpg (92.0 KB ) - added by 15 years ago.
- screenshot.13.jpg (65.0 KB ) - added by 15 years ago.
- screenshot.14.jpg (52.4 KB ) - added by 15 years ago.
- screenshot.15.jpg (52.3 KB ) - added by 15 years ago.
- screenshot.16.jpg (40.1 KB ) - added by 15 years ago.
- screenshot.17.jpg (42.0 KB ) - added by 15 years ago.
- screenshot.18.jpg (101.1 KB ) - added by 15 years ago.
- screenshot.19.jpg (111.0 KB ) - added by 15 years ago.
- screenshot.20.jpg (30.2 KB ) - added by 15 years ago.
- screenshot.21.jpg (53.4 KB ) - added by 15 years ago.
- screenshot.22.jpg (105.5 KB ) - added by 15 years ago.
- screenshot.23.jpg (97.4 KB ) - added by 15 years ago.
- screenshot.24.jpg (8.9 KB ) - added by 15 years ago.
- screenshot.25.jpg (63.3 KB ) - added by 15 years ago.
- screenshot.27.jpg (97.9 KB ) - added by 15 years ago.
- screenshot.29.jpg (59.7 KB ) - added by 15 years ago.
- screenshot.30.jpg (105.7 KB ) - added by 15 years ago.
- screenshot.31.jpg (126.9 KB ) - added by 15 years ago.
- screenshot.32.jpg (101.9 KB ) - added by 15 years ago.
- screenshot.33.jpg (170.1 KB ) - added by 15 years ago.
- screenshot.34.jpg (71.6 KB ) - added by 15 years ago.
- screenshot.35.jpg (265.6 KB ) - added by 15 years ago.
- FileZilla_spectrum.png (18.9 KB ) - added by 3 years ago.
- FileZilla_spectrum_cert.png (29.2 KB ) - added by 3 years ago.
- FileZilla_spectrum_files.png (8.9 KB ) - added by 3 years ago.
- FileZilla_spectrum_download.png (8.0 KB ) - added by 3 years ago.
- FileZilla_spectrum_progress2.png (7.7 KB ) - added by 3 years ago.