...
Table of Contents | ||
---|---|---|
|
Introduction
In this document we shall provide a basic overview of how to develop C# .NET applications for ATDM on a Windows development machine. The following areas will be covered:
Configuring the development environment
Writing a demo console application
Deploying to ATDM
Debugging
Prerequisites
You will need to download and install the following applications:
...
Xamarin Studio for Windows. This is called MonoDevelop on Linux and to alleviate any incompatibility issues, please download the Windows version from:
- http://www.npackd.org/p/monodevelop/5.10.1.6
At the time of writing the latest version of Xamarin Studio was incompatible with the pdb2mdb tool required later on so do not allow the IDE to upgrade
We will need the Putty SSH tools for automating some remote tasks such as copying files and running the remote debugger
...
ATDM's development kit offers a high-definition 15.6" capacitive touch panel (other display sizes are available), and processing capability to deliver feature rich digital instrumentation. ATDM's hardware platform offers unlimited possibilities for creating intuitive and eye-catching human machine interfaces for monitoring and interacting with electric vehicle and energy storage applications.
Installing and Configuring the Tools
...
Right click on the Start Menu and select 'System'
Click on 'Advanced System Settings' and then 'Environment Variables'
Click 'New' and add MONODEVELOP_SDB_TEST and set value to 1
Now unzip the Putty package and copy it to your C:\Program Files folder. Next add Putty to the PATH environment variable:
Right click on the Start Menu and select 'System'
Click on 'Advanced System Settings' and then 'Environment Variables'
Click on 'Path' and press 'Edit...'
Click 'New' and add the path to your Putty installation e.g. 'C:\Program Files (x86)\Putty'
You will need to run putty manually to set up the ssh key for the connection to your ATDM device. Run 'cmd' from the Start menu and type:
putty.exe -ssh root@your_ip
...