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

Size: px
Start display at page:

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

Transcription

1 Page 1 of 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 for a Microsoft Visual Studio C# project. It starts by showing how to use the IEEE-488 (IEMD option) connection, and then it shows the small amount of change is needed to use the RS-232/485 and LAN options. The C# code can be used as a guide for writing Visual Basic.NET and C++ programs. 2. Table of Contents 1. INTRODUCTION TABLE OF CONTENTS REQUIREMENTS ADDITIONAL HELP YOUR FIRST IEEE PROGRAM USING C# ADDING A COMMUNICATION ERROR HANDLER ADDING AN INSTRUMENT ERROR HANDLER PROGRAMMING WITH THE RS-232/485 PORT PROGRAMMING WITH THE LAN PORT... 17

2 Page 2 of Requirements A. Windows Operating System: This tutorial is written using.net version 2.0 for Windows XP. Other versions of Windows and.net are supported. Prior to Microsoft Vista,.NET is freely available as a download. B. Microsoft Visual Studio: The examples use the Visual Studio 2005 development environment, although other versions are supported. Any language that uses COM or.net objects should be compatible with the IVI drivers. C. Prior Experience with C# Programming: This tutorial assumes prior experience with Visual Studio C#. You should know how to create buttons and text boxes, modify their properties and handle button events. You should also know how to build, run and debug your application. D. IVI Drivers: The Lambda Genesys IVI driver package must be installed. It is available as a download from: Click on the Documentation Download Drivers link to register. Install the file LambdaGenPS.2.x.x.x.msi on your computer E. VISA Drivers: The IVI technology is built upon a layer of hardware drivers called VISA (for Virtual Instrument Software Architecture ). These drivers are available with the National Instruments Measurement and Automation Explorer (NI-MAX), the Agilent IO Libraries and from other companies. F. Electrical Interface: almost all personal computers have an RS-232 port or a local area network (LAN) port. If your Genesys power supply uses the RS-485 or IEEE-488 (IEMD option) ports, you will need to install these interface cards into your computer or laptop.

3 Page 3 of Additional Help In addition to this document, a Getting Started and language reference Help is installed by the Lambda Genesys IVI driver package. This help file may be opened through the Start menu as shown below: Below is a sample of the Help file s contents:

4 Page 4 of Your First IEEE Program Using C# A. Launch Visual Studio On the menu bar, select File New Project See the New Project dialog box open (picture below). Select: Visual C# for Windows, and Windows Application. Ender your project name and folder name. The sample program uses the project name LAGEN IEMD Simple. Click OK. The following discussion uses the Visual Studio solution file: LAGEN IEMD Simple.sln which is included in the Lambda Getting Started with IVI download.

5 Page 5 of 17 B. Create the Form with Objects On the program s Form1, add buttons and text boxes as shown in the example below. The example includes the following objects: - InitButton: click this to open the communication port to a Genesys power supply at a specified IEEE address. The example program is fixed for the default IEEE address = 6. - SlavTextBox: if you have an RS-485 Multi-drop chain of supplies, enter an RS-485 address (0 to 30) to select a supply. - ApplyButton: if you have an RS-485 Multi-drop chain of supplies, click this to select a Multi-drop supply at the textbox s address. - ToggleOutButton: click to toggle the supply s output ON or OFF. - ProgVoltTextBox: enter a new voltage limit setting to be sent to the selected supply when the ProgVoltButton is clicked. - ProgVoltButton: click this to send the text box s program voltage setting to the power supply. - MeasVoltTextBox: displays the output voltage read from the power supply after the MeasVoltButton is clicked. - MeasVoltButton: click to read the output voltage from the supply. - CloseButton: click this to close the connection to the IEEE port. This does not close the program.

6 Page 6 of 17 C. Open the Add Reference Dialog On the Visual Studio menu bar, select Project Add Reference

7 Page 7 of 17 D. Add the IVI Driver Reference See the Add Reference dialog box open. Select the COM tab (not the.net tab). Scroll down to find: IVI LambdaGenPS 2.0 Type Library Click OK.

8 Page 8 of 17 See the References explorer now shows four new references have been added to the project: - IviDCPwrLib - IviDriverLib - LambdaGenPSLib - VisaComLib

9 Page 9 of 17 E. Add an Instance of the Driver In the Form1 code section: - In the code header, add a using directive to use the type: using Lambda.LambdaGenPS.Interop; - In the Form1 class, create an instance of the IVI driver. Name the IVI driver GenIvi to the with this statement: ILambdaGenPS GenIvi;

10 Page 10 of 17 F. Add a Step to Initialize the IEEE Port Now you are ready to insert calls to the IVI drivers that will communicate to the Genesys power supply over the IEEE bus. In the InitButton_Click event handler, create an instance of the GenIvi driver. Call the GenIvi.Initilize method. It has four parameters. private void InitButton_Click( object sender, EventArgs e ) GenIvi = new LambdaGenPSClass( ); GenIvi.Initialize( "GPIB0::6::INSTR", true, true, "" ); The first parameter is GPIB0::6::INSTR. This is the VISA name for the connection, which is an IEEE-488 instrument set to address 6 that is connected to an IEEE controller card set to address 0. For more description of the Initialize method, the F1 key context sensitive help does not work well, because Initialize has several levels of definition. Therefore, it is recommended you navigate directly to the LambdaGenPS help file as shown: Navigate the Help file index for the entry Initialize method. The parameter descriptions are given in detail. Code samples are given for Visual Basic, C# and C++.

11 Page 11 of 17 G. Add a Step to Toggle the Supply s Output Now you can use any GenIvi driver to configure and monitor the power supply. Notice, that after typing just a few letters of a method, the Intellisense will open a listbox of allowed properties and methods. private void ToggleOutButton_Click( object sender, EventArgs e ) Boolean OutState; OutState = GenIvi.Output.Enabled; GenIvi.Output.Enabled =!OutState; As shown in the sample program, there is a ToggleOutButton that will read the output ON or OFF state and then send a command to change the state to the opposite. H. No Error Handling Although this is how a complete program is written, there is no error hander. If communication is lost, then the NET exception handler will display an error and then stop the program. See the next section for better error handling.

12 Page 12 of Adding a Communication Error Handler The following discussion uses the Visual Studio solution file: LAGEN IEMD ErrorHandler.sln The.NET framework handles errors by throwing exceptions. Any driver call should be in a Try statement followed by a Catch exception handler. private void ProgVoltButton_Click( object sender, EventArgs e ) // Clicked the button send a new program voltage value try GenIvi.Output.VoltageLimit = Double.Parse( ProgVoltTextBox.Text ); catch ( Exception ex ) MessageBox.Show( "Program Voltage error: " + ex.message ); If there is a communication error, using the sample code will produce the following error message box: Note that the Try and Catch will only report communication errors. They will not report instrument errors, such as trying to program a setting out of range. To catch instrument errors, you must read the SYSTEM:ERROR messages from the supply. See the next section for this solution.

13 Page 13 of Adding an Instrument Error Handler The following discussion uses the Visual Studio solution file: LAGEN IEMD BetterError.sln The communication error handler, in section 6 above, will only catch errors if the communication link is disconnected in some way. If your program tries to set the power supply to an illegal value, an exception (error) is not created. To determine if the last command was accepted, the program must send the SYSTEM:ERROR? query. By enabling the QueryInstrStatus driver property, this query is done automatically after each command and an exception is generated if a command was not accepted. A. Create the Scope of COMException In the code header, add the statement as shown below. using Lambda.LambdaGenPS.Interop; // For defining an error COMException class just for instruments using System.Runtime.InteropServices; namespace LAGEN_IEMD_BetterError B. Configure the Driver for Automatic Error Query In the Initialize method, the fourth parameter is an option string. Set QueryInstrStatus to TRUE to enable automatic queries for instrument errors, as shown below. GenIvi = new LambdaGenPSClass( ); try GenIvi.Initialize( "GPIB0::6::INSTR", true, true, "QueryInstrStatus=True");

14 Page 14 of 17 C. Handle Instrument Errors A try catch structure is used to handle cases where the power supply cannot do a command because something is wrong with the command. Although catching Exception will handle all errors that the computer can generate, we are only interested in catching errors that the communication interface can generate. Therefore, the program catches COMException. private void ProgVoltButton_Click( object sender, EventArgs e ) // Clicked the button to send a new program voltage value try GenIvi.Output.VoltageLimit = Double.Parse( ProgVoltTextBox.Text ); catch ( COMException ) Int32 ErrorCode = 0; String ErrorMessage = ""; GenIvi.Utility.ErrorQuery( ref ErrorCode, ref ErrorMessage ); MessageBox.Show( "Program Voltage error: " + ErrorCode + ", " + ErrorMessage ); With this code in your program, if you try to program the voltage setting to any value that the power supply cannot accept, the new setting will be ignored, a COMException will be generated, and a messagebox will appear. For example, say an attempt is made to program a supply to 900 volts. Since this is above the supply s rating, the command will not be accepted and the messagebox below will appear:

15 Page 15 of 17 D. COMException Discussions There are several ways to detect errors and handle them. The different choices require some consideration. - May Slow Down Communication Speed. Initializing a communication port with QueryInstrStatus=TRUE may slow down the maximum commands per second to the power supply. This is because of the added traffic to read the SYSTEM:ERROR? message after each command. - For RS-232/485, there is no loss of speed. - For LAN, there is only a small loss because of the Ethernet has to carry more messages. - For IEEE, speed is slightly reduced because of the extra command parsing and bus messages being sent. - Disable QueryInstrStatus When Not Needed. You may want to do your program development with QueryInstrStatus=TRUE to catch programming errors, and then set it FALSE (or remove the option string) when the program is finished. It is also possible to turn the automatic error reporting ON or OFF in your program. This allows the program to enable this feature only when needed. Use the following example to do this: GenIvi.DriverOperation.QueryInstrumentStatus = true; // or false - Not All Exceptions are Handled: After the Catch( COMException) handler, it is recommended that you add a structure to Catch( Exception). This is because errors occur, such a broken communication link or a runtime error, which are not handled by a COMException event.

16 Page 16 of Programming with the RS-232/485 Port Writing IVI-COM programs for the RS-232/485 ports is the same as the example above for the IEEE interface. The only change is in the initialize option string A. RS-232 Initialize For the IEEE Initialize, the entire connection is defined in the VISA resource name string. For the RS-232/485 port, The VISA name only selects the computer s COM port (COM1, COM2 etc.). The Genesys address and the Baud rate are specified in the fourth parameter of the call to Initialize. This fourth parameter is an option string. In the example below, the following settings are shown: - ASRL1 = the computer s COM1 port is selected - DriverSetup= is the required start of the RS-232 string. - SerialAddress=6 is the Genesys front panel address setting. It may be a number from 0 to BaudRate=9600 is the Genesys front panel serial bits-per-second. It may be 1200, 2400, 4800, 9600 or private void InitButton_Click( object sender, EventArgs e ) // Clicked the button to initialize the RS-232 connection GenIvi = new LambdaGenPSClass( ); try // Open COM1 port to Genesys at address = 6 with Baud Rate = 9600 GenIvi.Initialize( "ASRL1::INSTR", true, true, "DriverSetup=SerialAddress=6,BaudRate=9600" ); catch ( Exception ex ) MessageBox.Show( "Initialize error: " + ex.message );

17 Page 17 of Programming with the LAN Port Writing IVI-COM programs for the LAN port is the same as the example above for the IEEE interface. The only change is in the initialize option string. A. LAN Initialize with IP Address Like the IEEE Initialize, the entire LAN connection is defined in the VISA resource name string. Below is an example if the power supply IP address is private void InitButton_Click( object sender, EventArgs e ) GenIvi = new LambdaGenPSClass( ); GenIvi.Initialize( "TCPIP:: ::INSTR", true, true, "" ); B. LAN Initialize with Hostname If the LAN power supply is connected through a network server, it s hostname may be registered by the NBNS or DNS services. In this case, the hostname may be used in the VISA resource name string instead of the IP address. Below is an example if the power supply hostname is GENH private void InitButton_Click( object sender, EventArgs e ) GenIvi = new LambdaGenPSClass( ); GenIvi.Initialize( "TCPIP::GENH ::INSTR", true, true, "" );

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

EL-USB-RT API Guide V1.0

EL-USB-RT API Guide V1.0 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

More information

IVI Instrument Driver Programming Guide. (Visual C++/CLI Edition) June 2012 Revision Overview. 2- Example Using Specific Interface

IVI Instrument Driver Programming Guide. (Visual C++/CLI Edition) June 2012 Revision Overview. 2- Example Using Specific Interface IVI Instrument Driver Programming Guide (Visual C++/CLI Edition) June 2012 Revision 2.0 1- Overview 1-1 Recommendation Of IVI-COM Driver Because Visual C++/CLI is a managed environment, IVI-COM instrument

More information

Lecture 27. Log into Windows/ACENET. Start MS VS and open the PointClassDemo project. Reminder: Project 1 is due on Wednesday. Questions?

Lecture 27. Log into Windows/ACENET. Start MS VS and open the PointClassDemo project. Reminder: Project 1 is due on Wednesday. Questions? Lecture 27 Log into Windows/ACENET. Start MS VS and open the PointClassDemo project. Reminder: Project 1 is due on Wednesday. Questions? Monday, March 21 CS 205 Programming for the Sciences - Lecture 27

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

Procedure to set up an HPIB 82350B card on an M57. M58 or C20x PC. Table 1: Parts required. Part Number Description Qty

Procedure to set up an HPIB 82350B card on an M57. M58 or C20x PC. Table 1: Parts required. Part Number Description Qty 1 OF 21 Procedure to set up an HPIB 82350B card on an M57. M58 or C20x PC Parts required Table 1: Parts required Part Number Description Qty 289000764 Kit, HPIB Card, Inter, PCI 1 Procedure The procedure

More information

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

Communications Interface Software User Manual

Communications Interface Software User Manual Solutions Through Synergy Communications Interface Software User Manual Manual Rev 3 4/23/15 PO Box 32227 Tucson, AZ 85751 USA Ph: (520) 722-1000 Fax: (520) 722-1045 support@agmelectronics.com Communicator

More information

This document provides additional information for the installation and use of the Keithley I/O Layer.

This document provides additional information for the installation and use of the Keithley I/O Layer. Keithley Instruments KIOL-850C07 Release Notes for Version C07 Keithley I/O Layer, including the Keithley Configuration Panel and Wizard, Keithley Communicator, and VISA runtime 3/30/2015 This document

More information

Giga-tronics ASCOR Series 8000 Switch

Giga-tronics ASCOR Series 8000 Switch GIGA-TRONICS Giga-tronics ASCOR Series 8000 Switch Getting Started Guide Terukuni Okuyama 2013-08-14 This guide describes the installation, controlling, and programming of the Series 8000 Switch Module.

More information

IVI Instrument Driver Programming Guide. (LabVIEW Edition) June 2012 Revision Overview. 1-1 Recommendation Of IVI-C Driver

IVI Instrument Driver Programming Guide. (LabVIEW Edition) June 2012 Revision Overview. 1-1 Recommendation Of IVI-C Driver IVI Instrument Driver Programming Guide (LabVIEW Edition) June 2012 Revision 2.1 1- Overview 1-1 Recommendation Of IVI-C Driver LabVIEW has a capability to import IVI-C instrument drivers. Although it

More information

Series. User Manual. Programmable DC Power Supplies 200W/400W/600W/800W in 2U Built-in USB, RS-232 & RS-485 Interface. Optional Interface: LAN

Series. User Manual. Programmable DC Power Supplies 200W/400W/600W/800W in 2U Built-in USB, RS-232 & RS-485 Interface. Optional Interface: LAN Series Programmable DC Power Supplies 200W/400W/600W/800W in 2U Built-in USB, RS-232 & RS-485 Interface User Manual Optional Interface: LAN USER MANUAL FOR LAN Interface POWER SUPPLIES Manual Supplement

More information

INFORMATICS LABORATORY WORK #4

INFORMATICS LABORATORY WORK #4 KHARKIV NATIONAL UNIVERSITY OF RADIO ELECTRONICS INFORMATICS LABORATORY WORK #4 MAZE GAME CREATION Associate Professor A.S. Eremenko, Associate Professor A.V. Persikov Maze In this lab, you build a maze

More information

Installing the License in an ESG Signal Generator

Installing the License in an ESG Signal Generator Installing the License in an ESG Signal Generator Before installing the license file, save a backup copy in a safe place. To enable your ESG signal generator to play waveforms generated by the Signal Studio

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

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introduction 8 Installing Visual Basic 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects 20 Reopening

More information

Getting Started with IVI Drivers

Getting Started with IVI Drivers Getting Started with IVI Drivers Your Guide to Using IVI with LabWindows TM /CVI TM Version 1.2 Copyright IVI Foundation, 2015 All rights reserved The IVI Foundation has full copyright privileges of all

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects

More information

Visual Basic Program Coding STEP 2

Visual Basic Program Coding STEP 2 Visual Basic Program Coding 129 STEP 2 Click the Start Debugging button on the Standard toolbar. The program is compiled and saved, and then is run on the computer. When the program runs, the Hotel Room

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

IVI Instrument Driver Programming Guide. (Setup Edition) June 2012 Revision IVI Instrument Driver Overview. 1-1 IVI-C vs.

IVI Instrument Driver Programming Guide. (Setup Edition) June 2012 Revision IVI Instrument Driver Overview. 1-1 IVI-C vs. IVI Instrument Driver Programming Guide (Setup Edition) June 2012 Revision 2.0 1- IVI Instrument Driver Overview 1-1 IVI-C vs. IVI-COM IVI Instrument Driver is an instrumentation middle-ware conforming

More information

Getting Started with IVI Drivers

Getting Started with IVI Drivers Getting Started with IVI Drivers Your Guide to Using IVI with LabVIEW TM Version 1.1 Copyright IVI Foundation, 2011 All rights reserved The IVI Foundation has full copyright privileges of all versions

More information

DAC-8U SERIES DIGITAL TO ANALOG CONVERTER TECHNICAL REFERENCE

DAC-8U SERIES DIGITAL TO ANALOG CONVERTER TECHNICAL REFERENCE TABLE OF CONTENTS DAC-8U SERIES DIGITAL TO ANALOG CONVERTER TECHNICAL REFERENCE Specifications... page 1 Connection Diagram and Warranty... page 2 Technical Support... page 2 Terminal Block Connections...

More information

DAC-4U SERIES DIGITAL TO ANALOG CONVERTER TECHNICAL REFERENCE

DAC-4U SERIES DIGITAL TO ANALOG CONVERTER TECHNICAL REFERENCE TABLE OF CONTENTS DAC-4U SERIES DIGITAL TO ANALOG CONVERTER TECHNICAL REFERENCE Specifications... page 1 Connection Diagram and Warranty... page 2 Technical Support... page 2 Terminal Block Connections...

More information

Chapter 2. Ans. C (p. 55) 2. Which is not a control you can find in the Toolbox? A. Label B. PictureBox C. Properties Window D.

Chapter 2. Ans. C (p. 55) 2. Which is not a control you can find in the Toolbox? A. Label B. PictureBox C. Properties Window D. Chapter 2 Multiple Choice 1. According to the following figure, which statement is incorrect? A. The size of the selected object is 300 pixels wide by 300 pixels high. B. The name of the select object

More information

James Foxall. Sams Teach Yourself. Visual Basic 2012 *24. Hours. sams. 800 East 96th Street, Indianapolis, Indiana, USA

James Foxall. Sams Teach Yourself. Visual Basic 2012 *24. Hours. sams. 800 East 96th Street, Indianapolis, Indiana, USA James Foxall Sams Teach Yourself Visual Basic 2012 *24 Hours sams 800 East 96th Street, Indianapolis, Indiana, 46240 USA Table of Contents Introduction 1 PART I: The Visual Basic 2012 Environment HOUR

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

Create your own Meme Maker in C#

Create your own Meme Maker in C# Create your own Meme Maker in C# This tutorial will show how to create a meme maker in visual studio 2010 using C#. Now we are using Visual Studio 2010 version you can use any and still get the same result.

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

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

*********************** **** Read Me First **** *********************** Version August 2012

*********************** **** Read Me First **** *********************** Version August 2012 *********************** **** Read Me First **** *********************** Version 1.4.5.0 August 2012 Introducing the Keithley IVI-COM Driver for the 26XXA/B Source Measure Unit -------------------------------------------------------------------------

More information

*********************** **** Read Me First **** *********************** Version August 1st, 2011

*********************** **** Read Me First **** *********************** Version August 1st, 2011 *********************** **** Read Me First **** *********************** Version 2.1.0.0 August 1st, 2011 Introducing the Keithley IVI Driver for the 3706 Switch Measure Unit ---------------------------------------------------------------------------

More information

Kerio Control Box Troubleshooting Guide NG300

Kerio Control Box Troubleshooting Guide NG300 Kerio Control Box Troubleshooting Guide NG300 Guide by Lee McCluskey on behalf of e3 Systems 1 K e r i o G u i d e Quick Reference: 3 About your Kerio 3-6 Troubleshooting loss of Internet Connection. Includes

More information

ADO.NET 2.0. database programming with

ADO.NET 2.0. database programming with TRAINING & REFERENCE murach s ADO.NET 2.0 database programming with (Chapter 3) VB 2005 Thanks for downloading this chapter from Murach s ADO.NET 2.0 Database Programming with VB 2005. We hope it will

More information

Introducing the LXI Interface

Introducing the LXI Interface Introducing the LXI Interface APPLICATION NOTE Summary LXI is the latest industry standard for LAN connectivity to instruments and modular systems. Beginning with firmware release 5.7.2.1, several series

More information

Introduction. 1.1 Included in this release

Introduction. 1.1 Included in this release Keithley Instruments 622X-855B01.1 Release Note for Version B01.1 IVI Instrument Driver for the Model 6220/6221 11/23/2008 IMPORTANT: To work properly with the driver, your instrument must have a compatible

More information

Using LabVIEW. with. BiPOM Boards. Quick Start Guide. Document Revision: Date: 18 September, 2009

Using LabVIEW. with. BiPOM Boards. Quick Start Guide. Document Revision: Date: 18 September, 2009 Using LabVIEW with BiPOM Boards Quick Start Guide Document Revision: 1.01 Date: 18 September, 2009 BiPOM Electronics, Inc. 16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone: 1-713-283-9970. Fax:

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

Installation of Hot Disk v 7.3 and later on a PC with Windows 7, 8 or 10

Installation of Hot Disk v 7.3 and later on a PC with Windows 7, 8 or 10 Installation Instruction for Hot Disk TPS 7 2.1 2017-05-09 1(44) Installation of Hot Disk v 7.3 and later on a PC with Windows 7, 8 or 10 Installation Instruction for Hot Disk TPS 7 2.1 2017-05-09 2(44)

More information

Chapter 2. Creating Applications with Visual Basic Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of

Chapter 2. Creating Applications with Visual Basic Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 2 Creating Applications with Visual Basic Addison Wesley is an imprint of 2011 Pearson Addison-Wesley. All rights reserved. Section 2.1 FOCUS ON PROBLEM SOLVING: BUILDING THE DIRECTIONS APPLICATION

More information

PLA Series. User s Guide. Quick Start Guide. Powerline Ethernet Adapters. PLA4101, PLA4111, PLA4201, PLA4201 v2, PLA5205, PLA5215, PLA5206, PLA5405

PLA Series. User s Guide. Quick Start Guide. Powerline Ethernet Adapters. PLA4101, PLA4111, PLA4201, PLA4201 v2, PLA5205, PLA5215, PLA5206, PLA5405 PLA Series Powerline Ethernet Adapters PLA4101, PLA4111, PLA4201, PLA4201 v2, PLA5205, PLA5215, PLA5206, PLA5405 Utility Version 7.0.1 Edition 1, 05/2014 Default Network Name: HomePlugAV Quick Start Guide

More information

Getting Started with IVI Drivers

Getting Started with IVI Drivers Getting Started with IVI Drivers Your Guide to Using IVI with Agilent VEE Pro Version 1.5 Copyright IVI Foundation, 2011 All rights reserved The IVI Foundation has full copyright privileges of all versions

More information

Hands-On Lab. Lab 05: LINQ to SharePoint. Lab version: Last updated: 2/23/2011

Hands-On Lab. Lab 05: LINQ to SharePoint. Lab version: Last updated: 2/23/2011 Hands-On Lab Lab 05: LINQ to SharePoint Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING LIST DATA... 3 EXERCISE 2: CREATING ENTITIES USING THE SPMETAL UTILITY...

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

Using Measurement Studio GPIB to Accelerate Development with Visual Basic

Using Measurement Studio GPIB to Accelerate Development with Visual Basic Application Note 119 Using Measurement Studio GPIB to Accelerate Development with Visual Basic Introduction Jason White and Evan Cone Using GPIB in Visual Basic can be a complicated experience. One of

More information

Developing a Simple Mapping Application with the GeoBase SDK and NAVTEQ data Tutorial 2 Adding Satellite Imagery

Developing a Simple Mapping Application with the GeoBase SDK and NAVTEQ data Tutorial 2 Adding Satellite Imagery Telogis Phone: (866) 835-6447 Fax: (866) 422-4096 1 Technology Dr., I-829 Irvine, California 92618 www.telogis.com Leading Global Platform for Location Based Services Developing a Simple Mapping Application

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

AX Driver: ssitrendtcpipserial v

AX Driver: ssitrendtcpipserial v AX Driver: ssitrendtcpipserial v1.0.0.0 Summary: This manual covers the installation process of the v1.0.0.0 Trend gateway driver for the Niagara based platforms to v3.8. This current release supports

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

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

Getting Started with IVI Drivers

Getting Started with IVI Drivers Getting Started with IVI Drivers Your Guide to Using IVI with MATLAB Version 1.2 Copyright IVI Foundation, 2012 All rights reserved The IVI Foundation has full copyright privileges of all versions of the

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

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide TRAINING GUIDE FOR OPC SYSTEMS.NET Simple steps to successful development and deployment. Step by Step Guide SOFTWARE DEVELOPMENT TRAINING OPC Systems.NET Training Guide Open Automation Software Evergreen,

More information

Cookbook for using SQL Server DTS 2000 with.net

Cookbook for using SQL Server DTS 2000 with.net Cookbook for using SQL Server DTS 2000 with.net Version: 1.0 revision 15 Last updated: Tuesday, July 23, 2002 Author: Gert E.R. Drapers (GertD@SQLDev.Net) All rights reserved. No part of the contents of

More information

PyVISA Documentation. Release PyVISA Authors

PyVISA Documentation. Release PyVISA Authors PyVISA Documentation Release 1.9.0 PyVISA Authors Mar 30, 2018 Contents 1 Installation 3 i ii PyVISA Documentation, Release 1.9.0 PyVISA-sim is a backend for PyVISA. It allows you to simulate devices

More information

ProjectorNetTM Adapter Quick Start Guide

ProjectorNetTM Adapter Quick Start Guide ProjectorNetTM Adapter Quick Start Guide Adapter networking 1. Quick Start The ProjectorNet Adapter kit contains the following items: ProjectorNet Serial to Ethernet Adapter Cable Adapter, ProjectorNet

More information

VSM Manager. The VSM Manager is a Windows GUI that can be installed to serially control Genesis Matrixes with a firmware of version 2.5 or later.

VSM Manager. The VSM Manager is a Windows GUI that can be installed to serially control Genesis Matrixes with a firmware of version 2.5 or later. VSM Manager Table of Contents Overview...1 Getting Started...1 Toolbar... 2 Serial Connection... 2 Refresh... 3 Help... 3 Tab Pages... 4 General... 4 Control...5 Schedule... 6 Command... 6 Communications...

More information

A23-First Travel Choice Mail Merge

A23-First Travel Choice Mail Merge A23-First Travel Choice Mail Merge At a blank document click the MAILINGS tab, click the Select Recipients button in the Star Mail Merge group, and then click Type a New List at the drop-down list. 1.

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

Tutorial: Creating a Gem with code

Tutorial: Creating a Gem with code Tutorial: Creating a Gem with code This tutorial walks you through the steps to create a simple Gem with code, including using the Project Configurator to create an empty Gem, building the Gem, and drawing

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

Getting Started with IVI Drivers

Getting Started with IVI Drivers Getting Started with IVI Drivers Guide to Using IVI.Net Drivers with Visual C# and Visual Basic.NET Version 1.0 Draft Aug 3, 2016 Copyright IVI Foundation, 2016 All rights reserved The IVI Foundation has

More information

Before you begin, you need to make sure that IIS is installed on the runtime server.

Before you begin, you need to make sure that IIS is installed on the runtime server. If you want to host Web Thin Clients or Secure Viewer using IIS 7, then you need to configure IIS to host your project files and modify the Windows folder-level security of your project folder to grant

More information

Windows 7 Professional 64 bit Configuration for MassLynx Security

Windows 7 Professional 64 bit Configuration for MassLynx Security Windows 7 Professional 64 bit Configuration for MassLynx Security 1. Purpose This document outlines the procedure to configure Microsoft Windows 7 Professional 64 bit operating system in order for installations

More information

CST242 Windows Forms with C# Page 1

CST242 Windows Forms with C# Page 1 CST242 Windows Forms with C# Page 1 1 2 4 5 6 7 9 10 Windows Forms with C# CST242 Visual C# Windows Forms Applications A user interface that is designed for running Windows-based Desktop applications A

More information

C# 2008 and.net Programming for Electronic Engineers - Elektor - ISBN

C# 2008 and.net Programming for Electronic Engineers - Elektor - ISBN Contents Contents 5 About the Author 12 Introduction 13 Conventions used in this book 14 1 The Visual Studio C# Environment 15 1.1 Introduction 15 1.2 Obtaining the C# software 15 1.3 The Visual Studio

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

Microsoft Visual Basic 2005 CHAPTER 6. Loop Structures

Microsoft Visual Basic 2005 CHAPTER 6. Loop Structures Microsoft Visual Basic 2005 CHAPTER 6 Loop Structures Objectives Add a MenuStrip object Use the InputBox function Display data using the ListBox object Understand the use of counters and accumulators Understand

More information

Easy Steps to Integrate the 34405A Multimeter into a System

Easy Steps to Integrate the 34405A Multimeter into a System Easy Steps to Integrate the 34405A Multimeter into a System Application Note Contents Introduction 1 Affordable and Feature-Rich Measurement Tool 1 USB 2.0 Interface Connection 1 Setting up a New System

More information

SOFTWARE MANUAL PHOENIX AC DRIVE DX & EX DRIVEMASTER

SOFTWARE MANUAL PHOENIX AC DRIVE DX & EX DRIVEMASTER SOFTWARE MANUAL PHOENIX AC DRIVE DX & EX DRIVEMASTER TABLE OF CONTENTS i SECTION TITLE PAGE 1.0 Introduction 1-1 2.0 Initial Setup 2-1 3.0 Main Menu 3-1 4.0 Configuring the Communications 4-1 5.0 Upload/Download

More information

Introduction. Three button technique. "Dynamic Data Grouping" using MS Reporting Services Asif Sayed

Introduction. Three button technique. Dynamic Data Grouping using MS Reporting Services Asif Sayed Image: 1.0 Introduction We hear this all the time, Two birds with one stone. What if I say, Four birds with one stone? I am sure four sound much better then two. So, what are my four birds and one stone?

More information

Tektronix OpenChoice Software Release Notes (TekVISA V3.3.7)

Tektronix OpenChoice Software Release Notes (TekVISA V3.3.7) Tektronix OpenChoice Software Release Notes (TekVISA V3.3.7) Welcome to the release notes for Tektronix OpenChoice software. The sections below contain detailed information on installation along with additional

More information

People are more likely to open and read a letter than a generic letter addressed to sir, madam or to whom it may concern.

People are more likely to open and read a letter than a generic letter addressed to sir, madam or to whom it may concern. Introduction (WD 330) People are more likely to open and read a letter than a generic letter addressed to sir, madam or to whom it may concern. Word provides the capability of creating a letter, which

More information

FASHION AND DESIGN INSTITUTE

FASHION AND DESIGN INSTITUTE FASHION AND DESIGN INSTITUTE Network and Browser Setting Manual Version 1.0 PURPOSE Internet access is provided for student and visitor s access, however, whoever who need to use the WIFI access, has to

More information

MxDS1 CNC Data Shuttle

MxDS1 CNC Data Shuttle MxDS1 CNC Data Shuttle Installation Instructions And Operator Manual 2010 Memex Automation Inc. All rights reserved. No part of this manual may be reproduced without express written consent of Memex Automation

More information

Power Xpert Meter 2000 Gateway Card Kit

Power Xpert Meter 2000 Gateway Card Kit Quick Start Guide IL02601011E Rev. 2 December 2011 PXM 2250 PXM 2260 IQ 250 IQ 260 Power Xpert Meter 2000 Gateway Card Kit Table of Contents Remove the Meter From Service.... 2 Disconnect Power Connections,

More information

Your First Windows Form

Your First Windows Form Your First Windows Form From now on, we re going to be creating Windows Forms Applications, rather than Console Applications. Windows Forms Applications make use of something called a Form. The Form is

More information

Power Xpert Meter 2000 Gateway Card Kit

Power Xpert Meter 2000 Gateway Card Kit Quick Start Guide IL02601011E PXM 2250 PXM 2260 IQ 250 IQ 260 Power Xpert Meter 2000 Gateway Card Kit Table of Contents Remove the Meter From Service... 2 Disconnect Power Connections, CTs, and Modbus....

More information

Agilent Technologies. Connectivity Guide. USB/LAN/GPIB Interfaces. Agilent Technologies

Agilent Technologies. Connectivity Guide. USB/LAN/GPIB Interfaces. Agilent Technologies Agilent Technologies USB/LAN/GPIB Interfaces Connectivity Guide Agilent Technologies Notices Agilent Technologies, Inc. 2003-2006 No part of this manual may be reproduced in any form or by any means (including

More information

Visual Studio.NET for AutoCAD Programmers

Visual Studio.NET for AutoCAD Programmers December 2-5, 2003 MGM Grand Hotel Las Vegas Visual Studio.NET for AutoCAD Programmers Speaker Name: Andrew G. Roe, P.E. Class Code: CP32-3 Class Description: In this class, we'll introduce the Visual

More information

SIP Server Deployment Guide. SRV address support in Contact and Record-Route headers

SIP Server Deployment Guide. SRV address support in Contact and Record-Route headers SIP Server Deployment Guide SRV address support in Contact and Record-Route headers 1/17/2018 Contents 1 SRV address support in Contact and Record-Route headers 1.1 Feature Configuration 1.2 Feature Limitations

More information

SidekickPC 3.0 Known Issues 31 th MAY 2012

SidekickPC 3.0 Known Issues 31 th MAY 2012 SidekickPC 3.0 Known Issues 31 th MAY 2012 2012 Electrolux Italia S.p.A., All rights reserved TABLE OF CONTENTS 1. PROGRAMMING ERRORS AFTER UPDATE... 3 2. WRONG MESSAGE IN DIALOG BOX... 4 3. COMMUNICATION

More information

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer Help Volume 1992-2002 Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer Agilent Technologies 16550A 100 MHz State/500 MHz Timing Logic Analyzer The Agilent

More information

We are going to use some graphics and found a nice little batman running GIF, off course you can use any image you want for the project.

We are going to use some graphics and found a nice little batman running GIF, off course you can use any image you want for the project. C# Tutorial - Create a Batman Gravity Run Game Start a new project in visual studio and call it gravityrun It should be a windows form application with C# Click OK Change the size of the to 800,300 and

More information

Agilent T&M Programmers Toolkit for Visual Studio.NET Agilent W1130A

Agilent T&M Programmers Toolkit for Visual Studio.NET Agilent W1130A Agilent T&M Programmers Toolkit for Visual Studio.NET Agilent W1130A Getting Started Agilent Technologies Notices Agilent Technologies, Inc. 2002 No part of this manual may be reproduced in any form or

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

All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution

All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution Dot NET with SQL Chapter 1 General.NET introduction Overview of the.net Platform How.NET is

More information

Assertions, pre/postconditions

Assertions, pre/postconditions Programming as a contract Assertions, pre/postconditions Assertions: Section 4.2 in Savitch (p. 239) Specifying what each method does q Specify it in a comment before method's header Precondition q What

More information

4G Camera Solution. 4G WiFi M2M Router NTC-140W Network Camera Axis P1428-E

4G Camera Solution. 4G WiFi M2M Router NTC-140W Network Camera Axis P1428-E 4G Camera Solution 4G WiFi M2M Router NTC-140W Network Camera Axis P1428-E Introduction The NetComm Wireless 4G Camera Solution has been developed to improve productivity and increase profitability of

More information

Adding a VPN connection in Windows XP

Adding a VPN connection in Windows XP Adding a VPN connection in Windows XP Open up the Control Panel by selecting Start, Settings, Control Panel (in Classic Menu view) or Start, Control Panel (in XP Menu view). Double click on Network Connections.

More information

RoboDAQ7. By John Buzzi. Masters of Engineering Report. Cornell University

RoboDAQ7. By John Buzzi. Masters of Engineering Report.   Cornell University RoboDAQ7 Masters of Engineering Report By John Buzzi Email: jlb269@cornell.edu Cornell University May 17, 2010 Abstract Learning from and improving on our past mistakes and accomplishments is only possible

More information

CONFIGURING LDAP. What is LDAP? Getting Started with LDAP

CONFIGURING LDAP. What is LDAP? Getting Started with LDAP CONFIGURING LDAP In this tutorial you will learn how to manage your LDAP Directories within your EmailHosting.com account. We will walkthrough how to setup your directories and access them with your email

More information

Technical Information

Technical Information Technical Information September 30, 2018 Main Software Upgrade Instructions The procedure to update the main software can either be updated automatically via the internet if the unit is connected to a

More information

CX-Server OPC User Manual

CX-Server OPC User Manual CX-Server OPC User Manual Guide to using CX-Server OPC in Microsoft.Net Page 1 Notice OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes

More information

Measurement Studio Using.NET in Your Test and Measurement Applications

Measurement Studio Using.NET in Your Test and Measurement Applications Measurement Studio Using.NET in Your Test and Measurement Applications Agenda Introduction to Microsoft Visual Studio.NET Acquire Analyze Present Resources What are Customers Saying About Measurement Studio?

More information

X-Tek X-ray and CT Inspection

X-Tek X-ray and CT Inspection X-Tek X-ray and CT Inspection IPC Quick Start Guide IPC programming for Inspect-X XTM0499-A1 Parmesh Gajjar, Henry Moseley X-ray Imaging Facility, The University of Manchester Legal information Original

More information

Installing the Ampire UART TFT

Installing the Ampire UART TFT Installing the Ampire UART TFT Thank you for Purchasing this UART TFT Kit from IES. The setup of the device is broken down into 4 stages which should be carried out IN THE FOLLOWING ORDER for correct operation

More information

12/14/2016. Errors. Debugging and Error Handling. Run-Time Errors. Debugging in C# Debugging in C# (continued)

12/14/2016. Errors. Debugging and Error Handling. Run-Time Errors. Debugging in C# Debugging in C# (continued) Debugging and Error Handling Debugging methods available in the ID Error-handling techniques available in C# Errors Visual Studio IDE reports errors as soon as it is able to detect a problem Error message

More information

TREX Set-Up Guide: Creating a TREX Executable File for Windows

TREX Set-Up Guide: Creating a TREX Executable File for Windows TREX Set-Up Guide: Creating a TREX Executable File for Windows Prepared By: HDR 1 International Boulevard, 10 th Floor, Suite 1000 Mahwah, NJ 07495 May 13, 2013 Creating a TREX Executable File for Windows

More information

INNOVATE. Creating a Windows. service that uses Microsoft Dynamics GP econnect to integrate data. Microsoft Dynamics GP. Article

INNOVATE. Creating a Windows. service that uses Microsoft Dynamics GP econnect to integrate data. Microsoft Dynamics GP. Article INNOVATE Microsoft Dynamics GP Creating a Windows service that uses Microsoft Dynamics GP econnect to integrate data Article Create a Windows Service that uses the.net FileSystemWatcher class to monitor

More information