LabVIEW Device and Instrument Control

Similar documents
Future vehicle from recycled materials. using green energy

Datalogging in LabVIEW

Data Acquisition Laboratory

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

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

ME 224: EXPERIMENTAL ENGINEERING. Lecture 2

NI Technical Symposium ni.com

Einfach & Flexibel USB-Messtechnikprodukte von Agilent Technologies

Data Acquisition HANS-PETTER HALVORSEN,

Introduction to Labview and Temperature Measurement

The data acquisition components, and their relationship to each other, are shown below.

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

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

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

How to Choose the Right Bus for Your Measurement System

Linear Control Systems LABORATORY

Using LabVIEW in Instrumentation and Control Course

LabVIEW Basics I: Introduction Course

Virtual Instruments with LabVIEW

FYS Data acquisition & control. Introduction. Spring 2018 Lecture #1. Reading: RWI (Real World Instrumentation) Chapter 1.

Virtual Joystick Control of Finch Robot

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

Robotics II. Module 3: Dealing with Files

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

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

Teaching Computer-Based Data Acquisition and Analysis Research Skills Using LabVIEW

Software Development Kit. Quick Start Guide

ENGR 1000, Introduction to Engineering Design

Determination of Drag Coefficient

LabVIEW Tutorials. T.1 Temperature Measurement and Cold Junction Compensation (CJC) LUMS School of Science and Engineering

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

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment

Labview for Everyone (National Instruments Virtual Instrumentation Series) Jeffrey Travis

DATA ACQUISITION SYSTEM USING LABVIEW

Hardware: Acquiring Data and Communicating with Instruments

Agilent Strain Measurement Application Using Agilent U2300A Series Data Acquisition Devices With Agilent VEE Pro. Application Note

Advanced NI-DAQmx Programming Techniques with LabVIEW

Transactions of the VŠB Technical University of Ostrava, Mechanical Series. article No. 2002

Computer Interfacing Using LabView

1. Learn about LabView software and its different components

Automated Test Equipments

INTEGRATION OF AD HOC WIRELESS SENSOR NETWORKS IN A VIRTUAL INSTRUMENTATION CONFIGURATION

Computerized Measurement Systems (EEMN10) 2014

Computerized Measurement Systems (EEMN10) 2016

Lab Exercise 2: Data Acquisition with NI LabVIEW

Analog Input Sample Rate

Low Cost Data Acquisition Setup for Electrical Machines Laboratory. Ciprian Sorandaru, Sorin Musuroi

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

Computerized Measurement Systems (EEMN10) 2015

CompactDAQ Chassis PRODUCT FLYER CONTENTS. Цены и срок поставки уточняйте на сайте по телефону: или

Published in A R DIGITECH

Qingdao, , China. China. Keywords: Deep sea Ultrahigh pressure, Water sound acquisition, LabVIEW, NI PXle hardware.

Dept. of Electrical, Computer and Biomedical Engineering. Instrumentation for the data acquisition laboratory

Lab Assignment # 5 Remote control of Instruments Using IEEE488 Interface and Agilent VEE (Introduction)

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

AIM & THURLBY THANDAR INSTRUMENTS

Using Mini-Circuits' PTE (Portable Test Equipment) with LabVIEW Frequently Asked Questions (FAQs)

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.

AIM & THURLBY THANDAR INSTRUMENTS

CAN Based Data Acquisition

Design of SCADA for Real Time System with LabVIEW and Microcontroller

Keysight Technologies VEE Pro 9.32

BRIC MODULE BRIC ANALOG BACKPLANE BUS MATRIX INPUTS DAUGHTER CARD #3 RESOURCE DISTRIBUTOR DAUGHTER CARD #2

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

Hands-On Seminar. Evaluate CompactDAQ and LabVIEW for Your Application 09/05/2017. ni.com

CLAD Exam Preparation Guide using LabVIEW NXG

AIM & THURLBY THANDAR INSTRUMENTS

HP VEE (Visual Engineering Environment) HP E2120C. Technical Specifications. The Productivity of HP VEE. HP VEE is a Better Software Citizen

DT8824 High Stability, High Accuracy, Ethernet Instrument Module

Speed Control of A DC Motor Through Temperature Variation Using NI ELVIS LabVIEW

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

DATA SHEET. VEE Pro 9.33

Strain and Force Measurement

Lighting and Sunblind Control Solution. Open-to-Wireless TM : Wireless, Battery-less Sensing, Wireless Mesh Networks. Energy Management and Metering

NAME EET 2259 Lab 3 The Boolean Data Type

Virtual Instrumentation With LabVIEW

Data Acquisition in LabVIEW

AIO LN-USB. Features. N Series for USB Multifunction DAQ Unit (8ch AI, 2ch AO, 16ch DIO) AIO LN-USB 1. Ver.1.01

Designing Next Generation Test Systems An In-Depth Developers Guide

Research on function and design of virtual instrument based on LabVIEW Technology

LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ)

A variety of ECONseries modules provide economical yet flexible solutions. Waveform Generation

BRAIN BOARDS BRICK ANALOG INSTALLATION NOTES

Tips for Code Re-Use. Rejwan Ali, Marketing Engineer NI Africa and Oceania

DIO-0808RN-USB. N Series for USB Isolated Digital I/O Unit(8ch Relay Output, 8ch DI) DIO-0808RN-USB 1. Ver.1.02

SUPPLEMENT. The Autolab. Installation and Diagnostics Guide

PHYS 5061 Lab 6 Programmable Instruments

DT9828. USB Powered Thermocouple Measurement Module. Key Features: Analog Input Channels

*********************** **** Read Me First **** *********************** Version October 30th, 2009

FACULTY OF AUTOMATION AND COMPUTER SCIENCE. Eng. Silviu-Corneliu FOLEA. PhD THESIS

LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications

Low-Cost Multifunction DAQ for USB

Introducing the LXI Interface

BRAIN BOARDS BRICK ANALOG. DATA SHEET page 1/7. Description

Agilent U2600A Series USB Modular Isolated Digital I/O Devices. Data Sheet

Exercise 5: Basic LabVIEW Programming

Features. High-precision Analog input board (Low Profile size) for PCI Express AI-1616L-LPE AI-1616L-LPE 1. Ver.1.01

Introduction to LabVIEW and NI Hardware Platform

Agilent U2600A Series USB Isolated Digital I/O Devices. Data Sheet

University at Buffalo's NEES Equipment Site. Data Management. Jason P. Hanley IT Services Manager

Transcription:

LabVIEW Device and Instrument Control D.Ursutiu 1, P.Cotfas 1 and C.Samoila 2 1 University Transylvania of Brasov / Physics Department, Brasov, Romania 2 University Transylvania of Brasov / UTSM Department, Brasov, Romania Abstract This work intends to present the actual developments done by the team from Center for Valorization and Transfer of Competences CVTC (University Transylvania of Brasov) in the field of devices and instruments control using Graphical Programming (such as LabVIEW, VEE-Pro). At CVTC we develop and implement new technologies in the field of Remote Controlled Laboratories. The permanent evolution of devices and the new DAQ systems impose us to develop new drivers (based on.net technologies) and to implement controls through the Interchangeable Virtual Instrument (IVI) technologies. Index Terms - Graphical Programming, IVI, Remote Labs, Virtual Instruments. I. INTRODUCTION In our developments at Transylvania University of Brasov Romania, in connection with Remote laboratory and Remote control we selected and intensively used LabVIEW and VEE-Pro software. We are trying to develop drivers and interfaces for different measurement and data acquisition systems. If we have a look at different actual strategies connected with remote control, device interchangeability, software compatibility, virtual instruments (VI) and communication facilities we can and must adapt our development strategies to the actual evolution. Because we work in a polytechnic university we must use different measurement systems (with or without the necessary drivers) and at the same time we also have to use many Data Acquisition Cards (DAQs). The permanent evolution of devices and the selection of software for control impose us to develop drivers (based on.net technologies) and to implement controls through the Interchangeable Virtual Instrument (IVI) technologies. II. IVI DRIVERS AND DEVICE CONTROL Systems designed with IVI drivers enjoy the benefits of standardized code that can be interchanged into other systems. This code also supports the interchanging of measurement devices helping to prevent hardware obsolescence. Interchangeability is supported on three levels. The IVI architecture specifications allow architectural interchangeability that is a standard driver architecture that can be reused. The class specifications provide syntactic interchangeability which supports instrument exchange with minimal code changes. The highest level of interchangeability is achieved by using the IVI signal specifications. Many new engineering field applications deal with the corrosions and electrochemical measurements. At Faculty of Technological Engineering we need to provide laboratory facilities controlled by computer and by remote systems for corrosion and electrochemical applications. In this research and virtual instrumentation direction we have been collaborating with EcoChemie from Netherlands and we developed LabVIEW drivers for all their AUTOLAB - PGSTAT electrochemical measurement devices. These drivers development in LabVIEW, based on control of Dynamic Link Libraries (.NET DLLs) will be presented in our paper. For the same measurement and laboratory works we need DAQ cards to measure, control and simulate different processes. Because of the permanent evolution of software and hardware systems we selected the new line of USB DAQ cards from Agilent Technologies (the series of U23XXA) and the corresponding IVI drivers. These cards can be used together with the 6-slot USB Modular Instrument Chassis U2781A which offers a high density of measurement channels at an excellent resolution and uses only one USB connection [5]. The Center for Valorization and Transfer of Competence (CVTC) from Transylvania University of Brasov Romania was selected and involved by Agilent Technologies in the beta test program for this USB DAQ card. In this way, we were able to receive these cards and to test and develop applications before their first release on the market. III. VIRTUAL INSTRUMENTS FOR ELECTROCHEMICAL DEVICES CONTROL During the last years the CVTC from Transylvania University of Brasov Romania together with the young Romanian company, EPI SITEM SRL were involved in a collaboration with ECO CHEMIE Company from Netherlands in sales and promotion in Romania of AUTOLAB electrochemical instruments. In a bilateral agreement with ECO CHEMIE, CVTC developed a class of Virtual Instruments (VIs) as the necessary bricks useful for the researcher to build any electrochemical measurement strategies and to control the PGSTAT (electrochemical device from AUTOLAB line of devices). In Figure 1 we present these simple elementary VIs (the bricks for the new developments) and in Figure 2 some simple examples how to use these VIs to build REV 2007 - www.rev-conference.org 1

one application that uses the Analog Digital Converter (ADC) to monitor one signal with the PGSTAT system. For developing a.net application in LabVIEW, there is a previously created palette containing all the necessary functions (Figure 3) to communicate with.net Assembly [6]. Also, different methods or actions of the object can be invoked using the Invoke Node function. When finishing working with the object instance, the instance must be closed using the Close Reference function. An example of using this technology can be seen in Figure 4. This application creates an Autolab Instruments instance that is necessary for communicating with Autolab System [1]. Figure 1 Elementary VI s for Autolab Figure 4 Creating Autolab Instruments interface Figure 2 Autolab ADC example: Panel and Diagram The first step in starting to build an application is the creation of an instance of an object. This can be done using a.net constructor and associate this constructor with the desired object. If the object instance creation succeeds then, using the new reference offered by this constructor, the proprieties of the object can be get or set using the Property Node function. Figure 3 The.NET Functions Palette The researcher can now develop any application or he can increase the number of parameters in an already built application after his own desire. Also our students who use these interfaces with a low level of programming knowledge can build new measuring scenarios and test them on the Autolab systems. In Figure 2 is presented a simple example of using the set of icons presented in Figure 1. The example is dedicated to control the Analog Digital Converter. At first it is necessary to establish the communication with the Autolab system interface. This is realized with the load interface icons. Then, the Autolab Instruments instance that is presented in Figure 4 has to be created. If these steps succeed then the ADC object can be called. For this is necessary to follow the next steps: Initialize the ADC interface ADC Init icon Read the value from ADC ADC read icon Close the ADC interface ADC release icon At the end of the application, the Autolab system interface must be released by using the release interface icon. In Figure 5 is presented the Autolab Manual Control example that controls all the facilities of Autolab that were implemented in LabVIEW [1]. REV 2007 - www.rev-conference.org 2

After that, for an easier integration with the Autolab systems (or any other laboratory or research applications) we developed a line of LabVIEW drivers which interact with the IVI drivers and in the same way they can be used with any similar DAQ cards. These drivers (Figure 6) were developed in a similar structure as the virtual instruments presented in Figure 1 and will be the new bricks for development of any data acquisition system based on these USB DAQ cards. In Figure 7 we present one IVI application able to generate (using the digital analog channel of the DAQ card) different waveforms and at the same time to measure using one or more analog digital channels. Figure 5 The Autolab Manual Control example: Panel and Diagram IV. LABVIEW DAQ CONTROL USING IVI We used a USB DAQ card from Agilent (for example the U2353A) which comes with one IVI driver. At first we tested and we controlled the DAQ card in VEE-Pro graphical programming offered by Agilent Technologies with this family of cards [5]. Figure 7 Agilent U23XXA DAQ example: Panel and Diagram Programming in IVI technology is almost the same as programming in.net technology. In Figure 8 is presented the Initialize application for Agilent U235x DAQ. The difference is that instead of using a constructor, here an Automation Open function must be used [7]. Another example of using the icons from Figure 6 is presented in Figure 9. This application is dedicated to the monitoring and controlling of pollution with CO 2 in a room. Also, the application allows the monitoring of temperature in the room. In order to determine the CO 2 level, a STEINEL sensor was used and for determining the temperature, a K type thermocouple was used. The signals given by the two sensors were measured by using the first two channels of Agilent U235x DAQ. When exceeding the accepted levels of CO 2 and temperature, a ventilating fan is starting. The ventilating fan is controlled by using the DIO ports of the DAQ card. Figure 6 Elementary VIs for Agilent U23XXA DAQ boards REV 2007 - www.rev-conference.org 3

A similar control as in the application presented in Figure 9 can be done using CORES ZigBee wireles sensors (see Figure 10). The Wireless Node (WN-K100) family of 14 wireless measurement modules deliver information in real-time from environments and processes where data collection is impossible or impractical through wired sensors. The WN-family utilizes the 802.15.4 (ZigBee) protocol and provides small size, compact and low-cost modules for both measurement and connectivity to the PC. Figure 8 The Initialize icon for Agilent U235X DAQ: Panel and Diagram Figure 10 CORES ZigBee Wireless modules The user interface of the application that uses the ZigBee wireless technology described above is presented in Figure 11 [2]. Figure 11 The interface of CO 2 &Temp application with Wireless Nodes V. CONCLUSIONS Using LabVIEW we can easily implement drivers (with the.net DLLs or IVI technologies) and offer an easy way for researchers and students to develop more sophisticated applications. Based on these virtual instruments we can integrate new measuring devices and DAQ cards in local and remote controlled laboratories. These technologies increase the development speed and offer a relative immunity of our labs to the permanent exchanges registered at the equipment and DAQ cards level. Students and researchers with beginner knowledge of LabVIEW programming can play with these VIs and develop new applications. Figure 9 Temperature and CO 2 monitoring application: Panel, Diagram and a system Picture REV 2007 - www.rev-conference.org 4

REFERENCES [1] P. Cotfas, D. Ursutiu, C. Samoila D. Cotfas Controlling in LabVIEW of the Eco Chemie - AUTOLAB measurement systems, CNIV2006, 29 Mai, Bucharest, ISBN (10) 973-648- 579-X, ISBN (13) 978-973-648-579-4; [2] Petru Cotfas, Doru Ursuţiu, Daniel Cotfas, Cornel Samoilă Sistem Wireless pentru monitorizarea nivelului de CO 2 din aer, CNIV2007, 28 Mai, Bucuresti, ISBN 978-973-648-657-9; [3] Doru Ursuţiu, Petru Cotfas, Cornel Samoilă, Daniel Cotfas Tehnologii utilizate în laboratoarele controlate la distanţă, CNIV2007, 28 Mai, Bucuresti, ISBN ISBN 978-973-648-657-9; [4] What are Instrument Drivers and I/O Software?, http://volt.ni.com/niwc/products/inst_drivers_io_sw_what_is.jsp [5] U2300A Series USB Modular Multifunction Data Acquisition, http://www.home.agilent.com/agilent/product.jspx?cc=us&lc=en g&ckey=823921&nid=-35823.0.00&id=823921; [6].NET Support in LabVIEW 7 Express, http://zone.ni.com/devzone/cda/tut/p/id/4888; [7] Agilent U235x Documentation, Agilent Technologies, 2006. AUTHORS D. Ursutiu, Prof. Dr., Transylvania University of Brasov, Department of Physics, udoru@unitbv.ro P. Cotfas, Lecturer Dr., Transylvania University of Brasov, Department of Physics, pcotfas@unitbv.ro C. Samoila, Prof. Eng. Dr., Transylvania University of Brasov, Department of Science of Materials, csam@unitbv.ro REV 2007 - www.rev-conference.org 5