EL-USB-RT API Guide V1.0

Size: px
Start display at page:

Download "EL-USB-RT API Guide V1.0"

Transcription

1 EL-USB-RT API Guide V1.0 Contents 1 Introduction 2 C++ Sample Dialog Application 3 C++ Sample Observer Pattern Application 4 C# Sample Application 4.1 Capturing USB Device Connect \ Disconnect Events 5 VB.NET Sample Application EL-USB-RT API Guide Page 1 of 10 Issue 1

2 1 Introduction This guide provides details of how to monitor the current temperature and humidity values of the EL- USB-RT data logger using the supplied dlls. Four example applications are available: two built in C++, one in C# and one in VB.NET. 2 C++ Sample Dialog Application The C++ Sample Dialog application is in a folder called ELUSBRTDLLUsingCpp. The top level folder contains the Visual Studio solution file ELUSBRTDLL.sln. This is an MFC Dialog application with a single button called Get Data. Pressing this button will display the temperature and humidity values read from the EL-USB-RT device, the Dew point is calculated using the values read from the device. Building and running this sample application invokes the dialog shown below: In order to connect to the EL-USB-RT device from your own C++ applications, carry out the following actions: Copy the following DLLs from the sample application Debug\Release folder into your projects Debug\Release folders: ELUSBRTDLL.lib ELUSBRTLib.dll ELUSBRTDLL.dll In your project invoke the Property Pages dialog via the Project\<application name> Properties menu option. EL-USB-RT API Guide Page 2 of 10 Issue 1

3 1) Set the ELUSBRTDLL.lib in the Additional dependencies file under the Linker Input tab property as shown in the screen shot below: 2) Set the relative path or full path of the ELUSBRTDLL.dll directory in Additional include Directories under the C/C++ tab and also in the Additional Library Directory under the Linker tab General property: EL-USB-RT API Guide Page 3 of 10 Issue 1

4 The ELUSBRTDLL.dll exposes the method bool GetDataFromDevice(double* Temperature, int* Humidity) which gets the current temperature and humidity values, it returns True if the device is connected and False, when device is not connected. To use this method define the following external import declaration: extern "C" declspec(dllimport) bool GetDataFromDevice(double*, int*); 3 C++ Sample Observer Pattern Application This is a Console application that demonstrates how to continuously monitor the temperature and humidity values from a EL-USB-RT device at one second intervals using an Observer Pattern. The Observer Pattern is a mechanism whereby a subject (in this case the EL-USB-RT device) notifies observers (Client applications that have subscribed to it) of events, by calling their update() method Building and running this sample application will display the following console window: The temperature and humidity values from the EL-USB-RT device are updated at one second intervals. EL-USB-RT API Guide Page 4 of 10 Issue 1

5 To implement this functionality in your own application carry out the following actions: 1) Create a console application project. 2) Copy the DLLs from this sample into your own project and link them in as described in the C++ Dialog Sample application. 3) Copy the file BaseApp.h into your project and include it in the Header Files folder. 4) In your application header file and the following code: #include "BaseApp.h" using namespace ELUSBRTClientDLL; // Export funtions for attaching and detaching the application extern "C" declspec(dllimport) void RegisterWindowHandle(UsingApplication*); extern "C" declspec(dllimport) void UnRegisterWindowHandle(UsingApplication*); 5) Base your application on UsingApplication defined in the BaseApp.h file as shown below: // Application class inherits the UsingApplication(declared in ELUSBRTDLL.dll) class CMyApplication : public UsingApplication 6) Implement the following Update() method in your application (this is a virtual method defined in the base class UsingApplication ) in order to receive temperature and humidity updates on a regular basis. // Called by the ELUSBRTDLL at one second intervals void Update(double temperature, int humidity) m_dtemprature = temperature; m_nhumidity = humidity; 7) When your application starts call RegisterWindowHandle as follows to subscribe for update events: RegisterWindowHandle(this); 8) When your application exits call UnRegisterWindowHandle as shown below to unsubscribe for update events: UnRegisterWindowHandle(this); EL-USB-RT API Guide Page 5 of 10 Issue 1

6 4 C# Sample Application The C# sample application is in a folder called ELUSBRTDLLUsingCSharp. The top level folder contains the Visual Studio solution file ELUSBRTDLLUsingCSharp.sln. Building and running this sample application invokes the following dialog. Pressing the Get Data button will display the current Temperature, Humidity and Dew Point values. (note: Dew Point is a derived value). When the Monitor check box is checked the EL_USB_RT values will be continually monitored. In order to connect to the EL-USB-RT device from your own C# applications, carry out the following actions: 1) Copy the ELUSBRTLib.DLL (located in the C# demo application subfolder ELUSBRTDLL) into your own project folder. 2) Add a reference to the ELUSBRTLib.dll in your project as follows: Right-click on the folder References and choose the context menu option Add Reference choose the Browse tab, select the ELUSBRTLib.DLL copied into your project and press OK. 3) Add the components namespace reference. using EL_USB_RT_USBLib; EL-USB-RT API Guide Page 6 of 10 Issue 1

7 The following code snippet demonstrates how to create an EL-USB-RT device component and register for connect and disconnect events in C#: try // Create component used to communicate with the EL-USB-RT device m_usbcomponent = new USBHidComponent(this.components); // Hook into the connect and disconnect events m_usbcomponent.onelusbrtdeviceconnected += new EventHandler(this.OnDeviceConnected); m_usbcomponent.onelusbrtdevicedisconnected += new EventHandler(this.OnDeviceDisconnected); // Register with the component m_usbcomponent.registerwindowshandle((intptr)this.handle); m_initialised = true; catch (Exception ex) MessageBox.Show("Failed to create USB Component" + ex.message); private void OnDeviceConnected(object sender, EventArgs e) m_devicestatus = true; private void OnDeviceDisconnected(object sender, EventArgs e) m_devicestatus = false; EL-USB-RT API Guide Page 7 of 10 Issue 1

8 The following method demonstrates how to read temperature and humidity from the device. private void GetDataFromUSBDevice() try double temptemp = -300; byte temphumid = 200; int counter = 0; while (true) m_usbcomponent.getdatafromdevice(ref temptemp, ref temphumid); if ((temptemp >= -10 && temptemp <= 60) && (temphumid >= 0 && temphumid <= 100)) Temperature = temptemp; Humidity = temphumid; break; if (counter++ > 25) throw new Exception(); catch (Exception ex) MessageBox.Show("Failed to get data from USB Component" + ex.message); EL-USB-RT API Guide Page 8 of 10 Issue 1

9 4.1 Capturing USB Device Connect \ Disconnect Events Whenever the USB Device is removed or inserted, a Windows message is generated. It is necessary for your application to update the USB Component with these messages in order for the Connect and Disconnect event triggers to function correctly. To capture the Windows messages required to update the USB Component, add the following override to your applications form: /// <summary> /// Overriding WndProc to handle messages related to USB device /// connection and disconnection /// </summary> protected override void WndProc(ref Message m) try if (m_initialised) // Parse message for Device connection\disconnection m_usbcomponent.processmessages(ref m); // Pass message on to base form base.wndproc(ref m); catch (Exception) Alternatively a timer can used to periodically poll the USB Device to detect if the device is connected or disconnected, below is an example of timer event handler used to trigger connect and disconnect events on the USB Device component: /// <summary> /// Timer tick event handler /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void usbtimer_tick(object sender, EventArgs e) usbtimer.enabled = false; try if (m_initialised) // Poll for connection status m_usbcomponent.checkforelusbrtdevice(); catch (Exception) usbtimer.enabled = true; EL-USB-RT API Guide Page 9 of 10 Issue 1

10 5 VB.NET Sample Application The VB.NET sample application is in a folder called ELUSBRTDLLUsingVB. This is the same application as the C# project, converted to VB format. EL-USB-RT API Guide Page 10 of 10 Issue 1

Quick Guide for the ServoWorks.NET API 2010/7/13

Quick Guide for the ServoWorks.NET API 2010/7/13 Quick Guide for the ServoWorks.NET API 2010/7/13 This document will guide you through creating a simple sample application that jogs axis 1 in a single direction using Soft Servo Systems ServoWorks.NET

More information

Getting Started with IVI-COM Drivers for the Lambda Genesys Power Supply

Getting Started with IVI-COM Drivers for the Lambda Genesys Power Supply Page 1 of 17 1. Introduction This is a step-by-step guide to writing a program to remotely control the Genesys power supply using the Lambda IVI-COM drivers. This tutorial has instructions and sample code

More information

The Open Core Interface SDK has to be installed on your development computer. The SDK can be downloaded at:

The Open Core Interface SDK has to be installed on your development computer. The SDK can be downloaded at: This document describes how to create a simple Windows Forms Application using some Open Core Interface functions in C# with Microsoft Visual Studio Express 2013. 1 Preconditions The Open Core Interface

More information

Investintech.com Inc. Software Development Kit: PDF-to-Excel Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDF-to-Excel Function Library User s Guide Investintech.com Inc. Software Development Kit: PDF-to-Excel Function Library User s Guide May 25, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is registered

More information

The following are required to duplicate the process outlined in this document.

The following are required to duplicate the process outlined in this document. Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

More information

Investintech.com Inc. Software Development Kit: PDFtoImage Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDFtoImage Function Library User s Guide Investintech.com Inc. Software Development Kit: PDFtoImage Function Library User s Guide Novemebr 6, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is

More information

Hands-On Lab. Background Services -.NET. Lab version: Last updated: 10/8/2009

Hands-On Lab. Background Services -.NET. Lab version: Last updated: 10/8/2009 Hands-On Lab Background Services -.NET Lab version: 1.0.0 Last updated: 10/8/2009 CONTENTS OVERVIEW... 3 EXERCISE 1: TRIGGER-START SERVICE... 7 Task 1 Implement Service Configuration Changes... 7 Task

More information

Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide January 15, 2007 http://www.investintech.com Copyright 2008 Investintech.com, Inc. All rights reserved Adobe is registered

More information

Testo AG. IrApi Documentation

Testo AG. IrApi Documentation Testo AG IrApi Version 1.6.2 31.07.2013 Table of Content 1 Introduction... 2 1.1 IrApi... 2 1.2 Supported Operation Systems... 2 1.3 Supported Languages... 2 2 Installation... 3 2.1 Prerequisites... 3

More information

Integration and Extension Product Version: 8.0 Quick Start Guide

Integration and Extension Product Version: 8.0 Quick Start Guide Adroit SmartUI Scripting Reference Integration and Extension Product Version: 8.0 Quick Start Guide 1. Table of contents 1. Table of contents... 1 2. Overview... 1 3. Purpose of this guide... 1 4. The

More information

Investintech.com Inc. Software Development Kit: ImagetoPDF Function Library User s Guide

Investintech.com Inc. Software Development Kit: ImagetoPDF Function Library User s Guide Investintech.com Inc. Software Development Kit: ImagetoPDF Function Library User s Guide December 31, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is

More information

Platform SDK Developer's Guide. Management Layer

Platform SDK Developer's Guide. Management Layer Platform SDK Developer's Guide Management Layer 11/27/2017 Management Layer You can use the Management Platform SDK to write Java or.net applications that interact with the Genesys Message Server, Solution

More information

Crystal Reports. Overview. Contents. Using Crystal Reports Print Engine calls (API) in Microsoft Visual Basic

Crystal Reports. Overview. Contents. Using Crystal Reports Print Engine calls (API) in Microsoft Visual Basic Using Crystal Reports Print Engine calls (API) in Microsoft Visual Basic Overview Contents This document describes how to preview a report using Microsoft (MS) Visual Basic, by making direct API calls

More information

It is necessary to follow all of the sections below in the presented order. Skipping steps may prevent subsequent sections from working correctly.

It is necessary to follow all of the sections below in the presented order. Skipping steps may prevent subsequent sections from working correctly. The following example demonstrates how to create a basic custom module, including all steps required to create Installation packages for the module. You can use the packages to distribute the module to

More information

Gathering and Modifying Real-Time Software Data in a Visual Studio Environment Mark Rogers November 6, 2008

Gathering and Modifying Real-Time Software Data in a Visual Studio Environment Mark Rogers November 6, 2008 Gathering and Modifying Real-Time Software Data in a Visual Studio Environment Mark Rogers November 6, 2008 Executive Summary The topics discussed in this application note include gathering real-time software

More information

Menus and Printing. Menus. A focal point of most Windows applications

Menus and Printing. Menus. A focal point of most Windows applications Menus and Printing Menus A focal point of most Windows applications Almost all applications have a MainMenu Bar or MenuStrip MainMenu Bar or MenuStrip resides under the title bar MainMenu or MenuStrip

More information

Investintech.com Inc. Software Development Kit: PDF-to-HTML Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDF-to-HTML Function Library User s Guide Investintech.com Inc. Software Development Kit: PDF-to-HTML Function Library User s Guide July 13, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is registered

More information

Activating AspxCodeGen 4.0

Activating AspxCodeGen 4.0 Activating AspxCodeGen 4.0 The first time you open AspxCodeGen 4 Professional Plus edition you will be presented with an activation form as shown in Figure 1. You will not be shown the activation form

More information

Quick Start Guide. Cypress USBSuite Application Development. Version

Quick Start Guide. Cypress USBSuite Application Development. Version Cypress USBSuite Application Development Quick Start Guide Version 1.2.3.10 Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intl): 408.943.2600 http://www.cypress.com

More information

RedundancyMaster PTC Inc. All Rights Reserved.

RedundancyMaster PTC Inc. All Rights Reserved. 2016 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 4 Introduction 4 System Requirements 10 Accessing the Administration Menu 12 Setting Up Redundancy 12 Adding Redundancy 13 Aliasing

More information

You can call the project anything you like I will be calling this one project slide show.

You can call the project anything you like I will be calling this one project slide show. C# Tutorial Load all images from a folder Slide Show In this tutorial we will see how to create a C# slide show where you load everything from a single folder and view them through a timer. This exercise

More information

TARGETPROCESS PLUGIN DEVELOPMENT GUIDE

TARGETPROCESS PLUGIN DEVELOPMENT GUIDE TARGETPROCESS PLUGIN DEVELOPMENT GUIDE v.2.8 Plugin Development Guide This document describes plugins in TargetProcess and provides some usage examples. 1 PLUG IN DEVELOPMENT... 3 CORE ABSTRACTIONS...

More information

Exchange Address Book Order

Exchange Address Book Order Exchange Address Book Order From your Outlook Ribbon, locate the Address Book Click on Tools, Options 3 options are available, as shown below, select Custom to arrange the order of your address books.

More information

How to create an Add-In extension.dll file and make it available from Robot pull down menu. (language C#)

How to create an Add-In extension.dll file and make it available from Robot pull down menu. (language C#) 2018 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not be reproduced in any form, by any method, for any purpose. Certain

More information

IBSDK Quick Start Tutorial for C# 2010

IBSDK Quick Start Tutorial for C# 2010 IB-SDK-00003 Ver. 3.0.0 2012-04-04 IBSDK Quick Start Tutorial for C# 2010 Copyright @2012, lntegrated Biometrics LLC. All Rights Reserved 1 QuickStart Project C# 2010 Example Follow these steps to setup

More information

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003 CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003 The process of creating a project with Microsoft Visual Studio 2003.Net is to some extend similar to the process

More information

Toolkit Activity Installation and Registration

Toolkit Activity Installation and Registration Toolkit Activity Installation and Registration Installing the Toolkit activity on the Workflow Server Install the Qfiche Toolkit workflow activity by running the appropriate SETUP.EXE and stepping through

More information

ValiFrame N5990A Option 005

ValiFrame N5990A Option 005 ValiFrame N5990A Option 005 Integrated BER Counter Interface Support Product Description 1 Content IBerReader Interface...3 BerReader Interface Definition...3 IBerReader Usage by ValiFrame...5 Integration...6

More information

12- User-Defined Material Model

12- User-Defined Material Model 12- User-Defined Material Model In this version 9.0 of Phase2 (RS 2 ), users can define their own constitutive model and integrate the model into the program by using a dynamic-linking library (dll). The

More information

Risk Sharing Pool. File Transfer via Web Services Technical Guide

Risk Sharing Pool. File Transfer via Web Services Technical Guide Risk Sharing Pool File Transfer via Web Services Technical Guide August 30, 2017 Version 1.3 1. REVISION HISTORY Date Document Version April 8, 2008 Version 1.0 Section Modified Modification May 28, 2008

More information

ProcSee.NET API tutorial

ProcSee.NET API tutorial ProcSee.NET API tutorial This tutorial is intended to give the user a hands-on experience on how to develop an external application for ProcSee using the.net API. It is not a tutorial in designing a ProcSee

More information

Skinning Manual v1.0. Skinning Example

Skinning Manual v1.0. Skinning Example Skinning Manual v1.0 Introduction Centroid Skinning, available in CNC11 v3.15 r24+ for Mill and Lathe, allows developers to create their own front-end or skin for their application. Skinning allows developers

More information

DarkRift Server Plugin Tutorial

DarkRift Server Plugin Tutorial DarkRift Server Plugin Tutorial Introduction This tutorial will guide you through the process of writing server plugins. It will introduce you to the server s inner architecture and will give you a good

More information

Event-based Asynchronous Pattern Overview 1 Implementing the Event-based Asynchronous Pattern 5 Deciding When to Implement the Event-based

Event-based Asynchronous Pattern Overview 1 Implementing the Event-based Asynchronous Pattern 5 Deciding When to Implement the Event-based Event-based Asynchronous Pattern Overview 1 Implementing the Event-based Asynchronous Pattern 5 Deciding When to Implement the Event-based Asynchronous Pattern 12 Implementing Component with the Event-based

More information

Hands-On Lab. Sensors & Location Platform - Native. Lab version: 1.0.0

Hands-On Lab. Sensors & Location Platform - Native. Lab version: 1.0.0 Hands-On Lab Sensors & Location Platform - Native Lab version: 1.0.0 Last updated: 12/3/2010 CONTENTS OVERVIEW... 3 EXERCISE 1: ADJUSTING FONT SIZE IN RESPONSE TO AMBIENT LIGHT INTENSITY... 5 Task 1 Adding

More information

Lab 1: First Steps in C++ - Eclipse

Lab 1: First Steps in C++ - Eclipse Lab 1: First Steps in C++ - Eclipse Step Zero: Select workspace 1. Upon launching eclipse, we are ask to chose a workspace: 2. We select a new workspace directory (e.g., C:\Courses ): 3. We accept the

More information

Learning Studio Tool & Microsoft Outlook

Learning Studio  Tool & Microsoft Outlook 1 Learning Studio Email Tool & Microsoft Outlook The LearningStudio Email Tool and IWU s Microsoft Outlook, have a unique partnership on how the two systems work together. Please see below on what you

More information

Developing for Mobile Devices Lab (Part 2 of 2)

Developing for Mobile Devices Lab (Part 2 of 2) Developing for Mobile Devices Lab (Part 2 of 2) Overview In the previous lab you learned how to create desktop and mobile applications using Visual Studio. Two important features that were not covered

More information

Creating SDK plugins

Creating SDK plugins Creating SDK plugins 1. Introduction... 3 2. Architecture... 4 3. SDK plugins... 5 4. Creating plugins from a template in Visual Studio... 6 5. Creating custom action... 9 6. Example of custom action...10

More information

Developing Desktop Apps for Ultrabook Devices in Windows 8*: Getting Started

Developing Desktop Apps for Ultrabook Devices in Windows 8*: Getting Started Developing Desktop Apps for Ultrabook Devices in Windows 8*: Getting Started By Paul Ferrill The Ultrabook provides a rich set of sensor capabilities to enhance a wide range of applications. It also includes

More information

Key Switch Control Software Windows driver software for Touch Panel Classembly Devices

Key Switch Control Software Windows driver software for Touch Panel Classembly Devices IFKSMGR.WIN Key Switch Control Software Windows driver software for Touch Panel Classembly Devices Help for Windows www.interface.co.jp Contents Chapter 1 Introduction 3 1.1 Overview... 3 1.2 Features...

More information

Walkthrough: Binding an ios Objective-C Library

Walkthrough: Binding an ios Objective-C Library Walkthrough: Binding an ios Objective-C Library Binding an existing ios Objective-C Library with Objective Sharpie Overview When working on ios, you might encounter cases where you want to consume a third-party

More information

Step 1: Start a GUI Project. Start->New Project->Visual C# ->Windows Forms Application. Name: Wack-A-Gopher. Step 2: Add Content

Step 1: Start a GUI Project. Start->New Project->Visual C# ->Windows Forms Application. Name: Wack-A-Gopher. Step 2: Add Content Step 1: Start a GUI Project Start->New Project->Visual C# ->Windows Forms Application Name: Wack-A-Gopher Step 2: Add Content Download the Content folder (content.zip) from Canvas and unzip in a location

More information

Today we spend some time in OO Programming (Object Oriented). Hope you did already work with the first Starter and the box at:

Today we spend some time in OO Programming (Object Oriented). Hope you did already work with the first Starter and the box at: maxbox Starter 2 Start with OO Programming 1.1 First Step Today we spend some time in OO Programming (Object Oriented). Hope you did already work with the first Starter and the box at: http://www.softwareschule.ch/download/maxbox_starter.pdf

More information

427 Class Notes Lab2: Real-Time Clock Lab

427 Class Notes Lab2: Real-Time Clock Lab This document will lead you through the steps of creating a new hardware base system that contains the necessary components and connections for the Real-Time Clock Lab. 1. Start up Xilinx Platform Studio

More information

Server Extension User s Guide SAP BusinessObjects Planning and Consolidation 10.0, version for the Microsoft platform

Server Extension User s Guide SAP BusinessObjects Planning and Consolidation 10.0, version for the Microsoft platform Server Extension User s Guide SAP BusinessObjects Planning and Consolidation 10.0, version for the Microsoft platform PUBLIC Document Version: 1.1 [September 9, 2016] Copyright Copyright 2016 SAP SE. All

More information

Table of Contents CONSOLE BASED APPLICATION 2

Table of Contents CONSOLE BASED APPLICATION 2 Agenda 1. Introduction to Console based Applications. 2. Creating a Solution that contains a project. 3. Writing a simple program and executing it. 4. Understanding Command Line Arguments. Table of Contents

More information

Application Note. PowerStar 5/6 - LabView VI Integration

Application Note. PowerStar 5/6 - LabView VI Integration Application Note PowerStar 5/6 - LabView VI Integration INTRODUCTION This application note describes how to integrate LabView VI s into PowerStar 5 and 6. Parameters may be passed from PowerStar to a LabView

More information

How to Create a Windows Form Applcation in Visual C++/CLR 2012: Exploiting the power of Visual C++/CLR 2012

How to Create a Windows Form Applcation in Visual C++/CLR 2012: Exploiting the power of Visual C++/CLR 2012 Windows Form Applications in Visual C++/CLR 2012 How to use Visual Studio 2015 is explained at this website. You can create a new windows form application in Visual C++/CLR 2013 essentially in the same

More information

www.openwire.org www.mitov.com Copyright Boian Mitov 2004-2014 Index Installation...3 Where is VisionLab?...3 Creating a new VisionLab project in Visual C#...3 Installing the components on the Toolbox...5

More information

Hands-On Lab. Worker Role Communication. Lab version: Last updated: 11/16/2010. Page 1

Hands-On Lab. Worker Role Communication. Lab version: Last updated: 11/16/2010. Page 1 Hands-On Lab Worker Role Communication Lab version: 2.0.0 Last updated: 11/16/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: USING WORKER ROLE EXTERNAL ENDPOINTS... 8 Task 1 Exploring the AzureTalk Solution...

More information

The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear.

The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear. 4 Programming with C#.NET 1 Camera The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear. Begin by loading Microsoft Visual Studio

More information

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005 CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005 The process of creating a project with Microsoft Visual Studio 2005.Net is similar to the process in Visual

More information

Hands-On Lab. Instrumentation and Performance -.NET. Lab version: Last updated: December 3, 2010

Hands-On Lab. Instrumentation and Performance -.NET. Lab version: Last updated: December 3, 2010 Hands-On Lab Instrumentation and Performance -.NET Lab version: 1.0.0 Last updated: December 3, 2010 CONTENTS OVERVIEW 3 EXERCISE 1: INSTRUMENTATION USING PERFORMANCE COUNTERS. 5 Task 1 Adding a Class

More information

The Microsoft.NET Framework

The Microsoft.NET Framework Microsoft Visual Studio 2005/2008 and the.net Framework The Microsoft.NET Framework The Common Language Runtime Common Language Specification Programming Languages C#, Visual Basic, C++, lots of others

More information

Understanding Events in C#

Understanding Events in C# Understanding Events in C# Introduction Events are one of the core and important concepts of C#.Net Programming environment and frankly speaking sometimes it s hard to understand them without proper explanation

More information

ADENEO HEADLESS BLUETOOTH MANAGER SAMPLE APPLICATIONS USER MANUAL. Ref.: C REV A. \\qualité\modèles\d36-a

ADENEO HEADLESS BLUETOOTH MANAGER SAMPLE APPLICATIONS USER MANUAL. Ref.: C REV A. \\qualité\modèles\d36-a ADENEO HEADLESS BLUETOOTH MANAGER SAMPLE APPLICATIONS USER MANUAL Ref.: C000108 REV A Document History Revision Date Author Version Follow-up A Jan 21, 2008 RMarcilla Initial version January 2008 C000108

More information

MadgeTech 4 Software User Guide:

MadgeTech 4 Software User Guide: MadgeTech 4 Software User Guide: Getting to Know the Software: Here is a starting screenshot of the MadgeTech 4 software. As you can see in the figure, there are three main tabs in the top left. In the

More information

GDS provides the dll for the controllers with a simple interface, therefore development time is rapid.

GDS provides the dll for the controllers with a simple interface, therefore development time is rapid. 148 Helpsheet Software STDDPCv2 and ELDPC Controller Drivers Using the driver in third-party development World Leaders in Computer Controlled Testing Systems for Geotechnical Engineers and Geologists 1.

More information

Introduction to C# Applications

Introduction to C# Applications 1 2 3 Introduction to C# Applications OBJECTIVES To write simple C# applications To write statements that input and output data to the screen. To declare and use data of various types. To write decision-making

More information

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010 CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010 The process of creating a project with Microsoft Visual Studio 2010.Net is similar to the process in Visual

More information

Creating a Transacted Resource Using System.Transactions (Lab 2) (Visual C#, Visual Basic)

Creating a Transacted Resource Using System.Transactions (Lab 2) (Visual C#, Visual Basic) 1 System.Transactions in Whidbey Creating a Transacted Resource Using System.Transactions (Lab 2) (Visual C#, Visual Basic) For the Visual Basic lab, go to page 17. Objectives After completing this lab,

More information

Creating Projects using Microsoft Visual Studio 2017

Creating Projects using Microsoft Visual Studio 2017 Creating Projects using Microsoft Visual Studio 2017 CTEC1239/2018S Computer Programming Version 1.0: Covers Windows 10 PCs in L2 Last updated: 2018.05.12 Starting Visual Studio 2017 From the Windows 10

More information

private void closetoolstripmenuitem_click(object sender, EventArgs e) { this.close(); }

private void closetoolstripmenuitem_click(object sender, EventArgs e) { this.close(); } MEMBER PAYMENTS FORM public partial class MemberPaymentsForm : Form public MemberPaymentsForm() private void MemberPaymentsForm_Load(object sender, EventArgs e) // TODO: This line of code loads data into

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

Chapter 1 Getting Started

Chapter 1 Getting Started Chapter 1 Getting Started The C# class Just like all object oriented programming languages, C# supports the concept of a class. A class is a little like a data structure in that it aggregates different

More information

Dealing with Event Viewer

Dealing with Event Viewer Dealing with Event Viewer Event Viewer is a troubleshooting tool in Microsoft Windows 2000.This how-to article will describe how to use Event Viewer. Event Viewer displays detailed information about system

More information

Tutorial :.Net Micro Framework et.net Gadgeteer

Tutorial :.Net Micro Framework et.net Gadgeteer 1 Co-développement émulateur personnalisé et application pour une cible. 1.1 Utilisation d un émulateur personnalisé Après l installation du SDK.Net Micro, dans le répertoire d exemples, Framework (ex.

More information

Deploying Haystack Applications

Deploying Haystack Applications Chapter 12 Deploying Haystack Applications In order to distribute an application that you build with the Haystack Code Generator for.net you need to create a Runtime License. This runtime license is distributed

More information

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class.

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class. 1. What is C#? C# (pronounced "C sharp") is a simple, modern, object oriented, and type safe programming language. It will immediately be familiar to C and C++ programmers. C# combines the high productivity

More information

Class Test 5. Create a simple paint program that conforms to the following requirements.

Class Test 5. Create a simple paint program that conforms to the following requirements. Class Test 5 Question 1 Use visual studio 2012 ultimate to create a C# windows forms application. Create a simple paint program that conforms to the following requirements. The control box is disabled

More information

Exceptions, Case Study-Exception handling in C++.

Exceptions, Case Study-Exception handling in C++. PART III: Structuring of Computations- Structuring the computation, Expressions and statements, Conditional execution and iteration, Routines, Style issues: side effects and aliasing, Exceptions, Case

More information

Advantech Windows CE.net Application Hand on Lab

Advantech Windows CE.net Application Hand on Lab Advantech Windows CE.net Application Hand on Lab Lab : Serial Port Communication Objectives After completing this lab, you will be able to: Create an application to open, initialize the serial port, and

More information

ClientAce Help Kepware Technologies

ClientAce Help Kepware Technologies ClientAce Help 2009 Kepware Technologies 1 ClientAce Help Table of Contents 1 Getting Started... 3 Help Contents... 3 ClientAce Overview... 3 2 System and Application... Requirements 4 System and Application...

More information

Dialog Designer Call Flow Elements

Dialog Designer Call Flow Elements Dialog Designer Call Flow Elements A DevConnect Tutorial Table of Contents Section 1: Dialog Designer Call Flow Elements Section 1: Dialog Designer Call Flow Elements... 1 1.1 About this Tutorial When

More information

JDirectoryChooser Documentation

JDirectoryChooser Documentation JDirectoryChooser Documentation Page 1 of 7 How to Use JDirectoryChooser The JDirectoryChooser provides user-friendly GUI for manipulating directories from Java application. User can either simply choose

More information

CS708 Lecture Notes. Visual Basic.NET Object-Oriented Programming. Implementing Client/Server Architectures. Part (I of?) (Lecture Notes 5A)

CS708 Lecture Notes. Visual Basic.NET Object-Oriented Programming. Implementing Client/Server Architectures. Part (I of?) (Lecture Notes 5A) CS708 Lecture Notes Visual Basic.NET Object-Oriented Programming Implementing Client/Server Architectures Part (I of?) (Lecture Notes 5A) Professor: A. Rodriguez CHAPTER 1 IMPLEMENTING CLIENT/SERVER APPLICATIONS...

More information

PhidgetInterfaceKit 0/16/16

PhidgetInterfaceKit 0/16/16 1012 - PhidgetInterfaceKit 0/16/16 Programming Environment Operating Systems: Windows 2000/XP/Vista, Windows CE, Linux, and Mac OS X Programming Languages (APIs): VB6, VB.NET, C#.NET, C++, Flash 9, Flex,

More information

CANape ASAM-MCD3 Interface Version Application Note AN-AMC-1-103

CANape ASAM-MCD3 Interface Version Application Note AN-AMC-1-103 Version 3.2 2018-06-19 Application Note AN-AMC-1-103 Author Restrictions Abstract Vector Informatik GmbH Public Document This is document is a general introduction explaining the CANape ASAM-MCD3 Interface

More information

Getting acquainted with the development tools June 27, 2006 ELE492 Embedded System Design Exercise 1

Getting acquainted with the development tools June 27, 2006 ELE492 Embedded System Design Exercise 1 Getting acquainted with the development tools June 27, 2006 ELE492 Embedded System Design Exercise 1 Overview In this first exercise, a few tasks are given to get acquainted with the PIC microcontroller

More information

Manually Configuring IIS

Manually Configuring IIS Manually Configuring IIS This application note describes how to manually configure Microsoft's Internet Information Server (IIS) and the ProHelp EPM Web Reporting option. This configuration is typically

More information

GUI and API Application Note

GUI and API Application Note Page1 pocketbert Company GUI and API Application Note Status: Preliminary, version 0.6 Contents 1. Instructions for installing and running the pocketbert GUI application.... 2 2. How to manually install

More information

Lab 1: Introduction to C Programming. (Creating a program using the Microsoft developer Studio, Compiling and Linking)

Lab 1: Introduction to C Programming. (Creating a program using the Microsoft developer Studio, Compiling and Linking) Lab 1: Introduction to C Programming (Creating a program using the Microsoft developer Studio, Compiling and Linking) Learning Objectives 0. To become familiar with Microsoft Visual C++ 6.0 environment

More information

Using the TekScope IVI-COM Driver from C#.NET

Using the TekScope IVI-COM Driver from C#.NET Using the TekScope IVI-COM Driver from C#.NET Introduction This document describes the step-by-step procedure for using the TekScope IVI- COM driver from a.net environment using C#. Microsoft.Net supports

More information

Opening Microsoft Visual Studio. On Microsoft Windows Vista and XP to open the visual studio do the following:

Opening Microsoft Visual Studio. On Microsoft Windows Vista and XP to open the visual studio do the following: If you are a beginner on Microsoft Visual Studio 2008 then you will at first find that this powerful program is not that easy to use for a beginner this is the aim of this tutorial. I hope that it helps

More information

CIS 3260 Intro. to Programming with C#

CIS 3260 Intro. to Programming with C# Running Your First Program in Visual C# 2008 McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Run Visual Studio Start a New Project Select File/New/Project Visual C# and Windows must

More information

Introduce C# as Object Oriented programming language. Explain, tokens,

Introduce C# as Object Oriented programming language. Explain, tokens, Module 2 98 Assignment 1 Introduce C# as Object Oriented programming language. Explain, tokens, lexicals and control flow constructs. 99 The C# Family Tree C Platform Independence C++ Object Orientation

More information

Saleae Device SDK Starting a Device SDK Project on Windows Starting a Device SDK Project on Linux... 7

Saleae Device SDK Starting a Device SDK Project on Windows Starting a Device SDK Project on Linux... 7 Contents Starting a Device SDK Project on Windows... 2 Starting a Device SDK Project on Linux... 7 Debugging your Project with GDB... 9 Starting a Device SDK Project on Mac... 11 Build Script / Command

More information

Data Ingestion Service. SDK Development Guide. Issue 03 Date HUAWEI TECHNOLOGIES CO., LTD.

Data Ingestion Service. SDK Development Guide. Issue 03 Date HUAWEI TECHNOLOGIES CO., LTD. Issue 03 Date 2018-06-12 HUAWEI TECHNOLOGIES CO., LTD. 2018. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of

More information

We assume that the user has basic knowledge of C# and is able to create a new C# project.

We assume that the user has basic knowledge of C# and is able to create a new C# project. After installing the Emgu CV library, our first task is to get started and make something interesting happen. Here, we are going to start our first Emgu CV project. Using Emgu CV is not as difficult as

More information

F28069 ControlCard Lab1

F28069 ControlCard Lab1 F28069 ControlCard Lab1 Toggle LED LD2 (GPIO31) and LD3 (GPIO34) 1. Project Dependencies The project expects the following support files: Support files of controlsuite installed in: C:\TI\controlSUITE\device_support\f28069\v135

More information

FAQ. For ICPDAS DCON (I-7000/8000/87K) series modules [Version 1.0]

FAQ. For ICPDAS DCON (I-7000/8000/87K) series modules [Version 1.0] FAQ For ICPDAS DCON (I-7000/8000/87K) series modules [Version 1.0] Warranty All products manufactured by ICPDAS Inc. are warranted against defective materials for a period of one year from the date of

More information

Developing Applications using Universal Driver 6.0x in Windows CE 6.0

Developing Applications using Universal Driver 6.0x in Windows CE 6.0 Developing Applications using Universal Driver 6.0x in Windows CE 6.0 Rev. B 1 1 Installing Universal Driver 6.0x in the platform The installation of UNIVERSAL DRIVER is a very simple process and requires

More information

Start Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK.

Start Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK. Start Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK. Before you start - download the game assets from above or on MOOICT.COM to

More information

int result; int waitstat; int stat = PmcaAsyncGetGain(&result); // stat receives request id

int result; int waitstat; int stat = PmcaAsyncGetGain(&result); // stat receives request id PMCA COM API Programmer's Guide PMCA COM is an Application Programming Interface Library for the Amptek Pocket Multichannel Analyzers MCA8000 and MCA8000A. PMCA COM runs on personal computers under any

More information

C++\CLI. Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017

C++\CLI. Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017 C++\CLI Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017 Comparison of Object Models Standard C++ Object Model All objects share a rich memory model: Static, stack, and heap Rich object life-time

More information

Creating an Ozeki VoIP SIP answering machine

Creating an Ozeki VoIP SIP answering machine Lesson 4 Creating an Ozeki VoIP SIP answering machine Abstract 2012. 01. 31. In this lesson of you can learn how to extend your existing softphone application with additional audio functions and how you

More information

WISE-4210 Engineering Sample SOP

WISE-4210 Engineering Sample SOP WISE-4210 Engineering Sample SOP [Install WISE Studio] 1. Install WISE Studio V1.00.00 B17: https://1drv.ms/u/s!auskhhyodvwfc2vfebv_6tav9sq 2. Execute WISE Studio [Configure End Devices] 1. Power up WISE-4210

More information

Installation & Reference Guide

Installation & Reference Guide Installation & Reference Guide DOC. REV. 7/31/2015 VersaAPI VersaLogic Application Programming Interface WWW.VERSALOGIC.COM 12100 SW Tualatin Road Tualatin, OR 97062-7341 (503) 747-2261 Fax (971) 224-4708

More information

Vive Input Utility Developer Guide

Vive Input Utility Developer Guide Vive Input Utility Developer Guide vivesoftware@htc.com Abstract Vive Input Utility is a tool based on the SteamVR plugin that allows developers to access Vive device status in handy way. We also introduce

More information