Programming as Easy as 1, 2, 3 (4 and 5)

Similar documents
Orifice Flow Meter

BE/EE189 Design and Construction of Biodevices Lecture 1. BE/EE189 Design and Construction of Biodevices - Caltech

NI-VISA for Windows 3.x WIN and GWIN Frameworks. The VXIplug&play software kit contains the following software and documentation components.

Faster Time to Measurement Advances in LabVIEW Instrument Control

Step-by-Step Data Acquisition Part II Exercise 2: Generating an Analog Output Waveform

NI-DAQmx Basic Course NITS John Shannon

Datalogging in LabVIEW

NI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

Hardware: Acquiring Data and Communicating with Instruments

Precision Characterization of Ethernet Devices with LabVIEW Real-Time and FPGA

LabVIEW DataFinder Toolkit

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit

Test and Measurement Product Catalog. ZTEC Instruments. The Leader in Modular Oscilloscopes

Section 1 Establishing an Instrument Connection

Hands-on Lab. Open-Loop Response: System Identification

Lesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI

Analytical Instrumentation

CompuScope 1602 product introduction

Analytical Instrumentation

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

Linear Control Systems LABORATORY

Integrating Data Acquisition and Instrument Control with Your Scilab Scripts

Tutorial: Getting Started with the LabVIEW Simulation Module

CompuScope product introduction

/14/14 Fixed an issue with tm_waitnextframe when setting an exposure greater than 5 seconds.

Data Acquisition HANS-PETTER HALVORSEN,

Introducing the LXI Interface

LabVIEW programming I

Documentation EtherCAT Framework 1.2

FLEXIBLE PRODUCTION TEST SOFTWARE DESIGN

The hardware implementation of PXI/PXIe consists of a chassis, controller or computer interface, and peripheral cards.

ME 224: EXPERIMENTAL ENGINEERING. Lecture 2

Hands-on Lab 2: LabVIEW NI-DAQ Basics 2

Tasks and Objectives: Certified LabVIEW Architect

Developing Networked Data Acquisition Systems with NI-DAQ

Install the Software and Hardware

NI-ModInst Help Contents Index Search

Measurement & Automation Explorer (MAX) View and control your devices and software

NI-IMAQdx VI Reference Help

Virtual Instruments with LabVIEW

Concur Attachments. Table of Contents

AC : A BIOMEDICAL ENGINEERING STARTUP KIT FOR LABVIEW

Hands-On Introduction to. LabVIEW. for Scientists and Engineers. Second Edition. John Essick. Reed College OXFORD UNIVERSITY PRESS

Introduction to Labview and Temperature Measurement

ECE 451 Automated Microwave Measurements Laboratory. Experiment No. 2. Automated RF Power Detection Using LabVIEW

IMAQ Vision Deployment Engine Note to Users

IMAQ Vision Deployment Engine Note to Users

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems

Moving from BASIC to C with LabWindows /CVI

NI Vision System HANS- PETTER HALVORSEN,

LabVIEW Real-Time Module for Mac OS X User Manual Addendum

Experiment 1: Introduction to Labview 2010 (tbc 1/7/2007, 1/13/2009,1/9/2012, 1/10/2012)

AOE 3054 LabView Programming

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

B. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure

Lab Exercise 2: Data Acquisition with NI LabVIEW

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

Certified LabVIEW Associate Developer Examination

NI-DAQ mx Base 1.x. Contents GETTING STARTED GUIDE

Using LabVIEW in Instrumentation and Control Course

Getting Started with LabVIEW Virtual Instruments

PCI-express data acquisition card DAQ0504M User Guide

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

DAQ in MATLAB HANS-PETTER HALVORSEN,

Certified LabVIEW Associate Developer Examination

Labview Lab 2. Vern Lindberg. April 16, 2012

INTRODUCTION TO LABVIEW

Small rectangles (and sometimes squares like this

Above Threshold Warning of Temperature Data

Computer Interfacing Using LabView

Academic Software Solutions

Wireless DAQ using ZigBee

Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming Nasser Kehtarnavaz

Advanced NI-DAQmx Programming Techniques with LabVIEW

UNIVERSITY OF CALIFORNIA BERKELEY Department of Electrical Engineering and Computer Sciences. B. E. BOSER Oscilloscopes EECS 100

Getting Started With LabWindows /CVI

IMPROVING PERFORMANCE IN A VXI OR PXI TEST SYSTEM USING DISTRIBUTED DSP

BE/EE189 Design and Construction of Biodevices Lecture 5. BE/EE189 Design and Construction of Biodevices - Caltech

LEDA Instrumentation Environment. Bob Dalesio May 12, 2000

Getting Started with the LabVIEW Real-Time Module

Yokogawa Application Note 4. The CPU Device Area Setup is now displayed. In the example below, no global memory has been allocated for use

As CCS starts up, a splash screen similar to one shown below will appear.

Tips and Tricks for Highly Productive Programming in LabVIEW

Today. 4/5/11 Physics 262 Lecture 10 Questions about Exams Homework. Lab: Continue project. Lecture. Review your exams and review practice exam again.

LabVIEW Real-Time Module Release Notes

Engineering Innovation Center LabVIEW Basics

QuakeManager: A Software Framework for Ground Motion Record Management, Selection, Analysis and Modification

Table 1. Inputs and Outputs

Quick start ADC1453D, ADC1159D evaluation board

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

Systems Alliance. VPP-7: Soft Front Panel Specification. Revision 4.2

[ mini-project ] Create standard MIDI files with LabVIEW *

Basic Data Acquisition with LabVIEW

Introduction. What is finxl? Why use finxl?

Compact 8 in 1 Multi-Instruments SF Series

As CCS starts up, a splash screen similar to one shown below will appear.

Systems Alliance. VPP-3.2: Instrument Driver Functional Body Specification. Revision 5.1

NI Linux Real-Time. Fanie Coetzer. Field Sales Engineer SA North. ni.com

CSA8000 & TDS8000 Instruments CSA8000B & TDS8000B Instruments Using National Instruments LabVIEW

Transcription:

Programming as Easy as 1, 2, 3 (4 and 5) For those developing automated test and measurement applications, an intuitive instrument driver is probably the most important tool. ZTEC understands this fact and provides plug-andplay instrument drivers with all their modular instrument products. These drivers provide complete access to all the instruments capabilities and can be used in most commonly used programming environments, including National Instruments LabWindows/CVI and LabVIEW. To download the latest version of all ZTEC s instrument drivers, please visit the ZTEC customer support center. Programming a ZTEC modular instrument could not be easier when using the instrument driver. In fact, in as few as 5 functions/vis, a program can be written to self-configure an instrument, acquire a waveform, and perform a waveform measurement. The LabWindows/CVI and LabVIEW driver are identical with a one-to-one map of each function to each VI. The native interface (called Functions Panels for LabWindows/CVI and VI Libraries for LabVIEW) provides a consistent and familiar interface fore each environment. A windows help file is also provided for driver documentation. Figure I: LabWindows/CVI Driver Interface (called Function Panels )

Figure II: LabVIEW Driver Interface (called VI Library ) The Function Panels and VI Libraries allow the user to easily browse through the driver and interactively develop an application. All it takes is 5 functions/vis to get started. Figure III shows a simple programming example using a ZT450PXI and LabWindows/CVI. First, the program is initialized using the zt450_initialize() function. This function returns a handle to the instrument that is then used by all following functions. After initialize, three functions are used to configure, acquire, and measure. The zt450_auto_setup() function, as the name suggests, performs an automatic instrument configuration. Then the zt450_read_waveform() and zt450_measure_immediate() functions are used to download the data and make a measurement.

Figure III: LabWindows/CVI Basic Example Code It is important to note that it is not necessary to download the data to make the measurement. Instead, ZTEC products utilize an on-board digital signal processor (DSP) to perform all calculations. Also, the use of #define constants makes the program self documented and easy to read. A list of valid #define constants is provided in the driver header file. Figure IV shows the program output, a waveform graph and measurement pop-up window. Figure IV: LabWindows/CVI Basic Example Display Programming this basic example is just as easy when using LabVIEW. The VI Library contains a VI for each function described above for LabWindows/CVI. Figure V shows the LabVIEW block diagram.

Figure V: LabVIEW Basic Example Code (Block Diagram) The output, or front panel, of this example is shown in Figure VI. The measurement pull down ring was created using the Create>>Control feature from the block diagram. This enumerated data type contains all the possible values for measurement, such as Vpp, Vrms, frequency, rise time, and many more. Figure VI: LabVIEW Basic Example Display (Front Panel)

If you are interested in these examples, we encourage you to download them below. For the examples to work properly, the ZT450PXI LabVIEW driver must also be downloaded and installed. You can downlaod the beta ZT450PXI LabVIEW driver here. Filename/Title Size Instrument Driver Example (basic_examples.zip) 843.2 KB