1 CONTROL, MONITOREO Y ALMACENAMIENTO MEDIANTE LABVIEWTM DE VARIABLES DE INTERES PROVENIENTES DE LOS INSTRUMENTOS DE MEDICION: COMMUNICATIONS PERFORMANCE ANALYZER HEWLETT PACKARD OMNIBER 37717C DIGITIZING OSCILLOSCOPE TEKTRONIK TDS520A Luis Aguilar (UNEXPO) Alejandro Martinez (PDVSA)
2 INSTRUMENTACIÓN VIRTUAL CONTROL DE INSTRUMENTOS Agenda STANDARD GPIB INSTRUMENTACIÓN VIRTUAL CONTROL DE INSTRUMENTOS PRESENTACIÓN DE CASO REAL
3 History of the GPIB Hewlett-Packard developed a bus to connect and control their programmable instruments. But the need arose for a standard, high-speed interface so that instruments and controllers from various vendors could communicate. IEEE Society published ANSI/IEEE Standard , IEEE Standard Digital Interface for Programmable Instrumentation Electrical, mechanical, and functional specifications Bus is known by the names GPIB, HP-IB, and IEEE 488 bus The original IEEE document was revised for editorial clarification and addendum. IEEE 488.2, Codes, Formats, Protocols, and Common Commands Enhances system compatibility and configurability Builds upon IEEE 488.1, but does not replace it Standard Commands for Programmable Instrumentation (SCPI) Specific command set for each instrument class Instrument interchangeability Late 1960s 1975 1978 1987 1990
4 Comparison to Other Buses
5 GPIB Signals and Lines Eight data linesFive interface management lines Three handshake lines
6 GPIB Physical Characteristics and CablingMaximum separation of 4 m between any two devices and an average separation of 2 m over the entire bus. Maximum cable length of 20 m. Maximum of 15 devices connected to each bus, with at least two-thirds of the devices powered on. You can use National Instruments GPIB extenders and expanders to exceed these limits.
7 Controllers Only one Controller-In-Charge on the GPIB at a timePrimary responsibilities of a Controller are: Defining the communication links Responding to devices requesting service Sending GPIB commands Passing/receiving control
8 Talkers and Listeners Talkers Are instructed by the Controller to talkPlace data on the GPIB Only one device is permitted at a time by the Controller to talk Listeners Are instructed by the Controller to listen Read data that the Talker places on the GPIB Several devices are permitted by the Controller to be Listeners at the same time
9 Summary The GPIB features different configurations for connecting devices. The GPIB consists of eight data lines (with grounds), five bus management lines, and three handshaking lines. There is always one bus Controller that dictates all bus activity. The Controller sets up devices as Talkers and Listeners. There are command and data messages on the GPIB. Command messages are for bus-specific commands, whereas data messages contain only data. Every device on the GPIB has a primary GPIB address that the Controller uses to control which devices send or receive data. There are three methods for terminating communication on the GPIB – EOI, EOS, count, or any combination of the three.
10 Evolution of InstrumentationPC Flexibility TV Radio 50 100 25 75 Clock Time PC Based Virtual Instrumentation has become the new methodology for instrumentation
11 Virtual InstrumentationStand Alone Instrument PC Based Instrument Vendor Defined User Defined
12 Key Elements of Virtual InstrumentsAcquisition Presentation Analysis Signal Routing and Conditioning INSTRUMENT DAQ Boards IEEE488 (GPIB) VXI RS-232 Trigger Control Format Calculate User Interface Hard Copy File I/O Interprocess Communication Networking
13 The Virtual InstrumentIndustry-standard components Flexible Scalable Connectivity Compatibility Increased productivity Reduced cost
14 The Industry-Standard Virtual Instrumentation SoftwareLabVIEW The Industry-Standard Virtual Instrumentation Software Graphical Programming for Virtual Instrumentation front panel graphical user interfaces graphical block diagram source code compiler for optimized execution Standalone executables for easy distribution
15 Software Architecture
16 LabVIEW Product History1998 LabVIEW 5 LabVIEW Product History 1996 LabVIEW 4 LabVIEW 5 – Multithreading, VI Server, ActiveX, Undo, Wizards LabVIEW 4 – Customizable interface LabVIEW 3 – LabVIEW for HP-UX – Add-On Toolkits New operating systems – Microsoft Windows, OpenWindows, X Windows – Introduction on other platforms LabVIEW 2 – Mature product -- four years of customer feedback – Compiler to match industry needs LabVIEW 1 – Introduced innovative approach to programming – Macintosh only possible platform LabVIEW concept – Search for instrumentation software solution – Virtual instrument concept 1994 LabVIEW for HP-UX Add-On Toolkits September 1992 LabVIEW for Windows LabVIEW for Sun April 1990 U.S. Patent February 1990 U.S. Patent January 1990 LabVIEW 2 October 1986 LabVIEW 1 April 1983 LabVIEW Concept
17 Multiplatform CompatibilityPlatform neutral Leverage common technology Migrate applications between platforms Also available on Concurrent PowerMAX
18 Integrating Your SystemHardware and Driver Software Acquisition and Control LabVIEW Software Analysis and Presentation PC or Workstation DAQ Products Serial Instruments Process GPIB Instruments Other networked computers Unit Under Test VXI Instruments
19 Acquisition Analysis PresentationIEEE 488.2 controllers Plug-in data acquisition boards VXI controllers Software for RS-232 instruments Analysis Signal generation Digital filters Smoothing windows Statistics DSP hardware Presentation GUI Strip charts Graphs Hardcopy File I/O LabVIEW, LabWindows/CVI, and ComponentWorks HiQ (Post analysis and report generation)
20 PDH capabilities needed with SDH TesterCreate and analyze Tributary PDH rates Ability to Map PDH into SDH Check correct channel assignment in TU groups Ability to Demap PDH out of SDH Transmit and Receive PDH rates
21 Selecting SDH test equipmentAffordable Does all SDH installation & maintenance tests Watch for hidden future costs (Upgrade vs Overhaul) Ease of Use Includes productivity features that simplify operation AutoScan Pass/Fail Test TroubleScan Graphical Measurement Histograms Configurability Allow additional capabilities when needed Standard tributaries (2Mb, ...) New tributaries (ATM, ...) Other capabilities (Jitter, ...)
22 Testing with a PC Remote Control Serial GPIB Ethernet Automated/Network Control Data Analysis Data Storage
23 Application Software PhilosophiesLeveraging computer technology Adaptability Latest technology Creating open systems Freedom of choice Integration Delivering true productivity Flexibility Performance
24 LabVIEW and LabWindows/CVI
25 The Graphical Programming RevolutionEmpowering technology Natural design notation Eliminates syntactical details Reduced development time Readability Self-documenting Reusability Modularity Top-down and bottom-up design Low-Level Diagram Low-Level Panel Top-Level Block Diagram Top-Level Front Panel
26 Technological AdvantagesLabVIEW Technological Advantages Pure graphical programming Robustness Consistent methodology Programming structures Intuitive Scalable Compiled language Performance Executables
27 LabWindows/CVI Open Development System for InstrumentationEstablished Programming Standard Widespread Knowledge Base Instrumentation Libraries Standard Coding Conventions Source Code Control Intuitive GUI Dynamic-Link-Libraries (DLLs) Dynamic-Data-Exchange (DDE) Extended Memory Common Resources Networking
28 LabWindows/CVI Maximum Productivity for Instrumentation ProgrammingInteractive Development Tools Standard ANSI C Programming Analysis GUIs Instrument Drivers Networking Serial DAQ GPIB VXI
29 Instrument Driver AccessCD-ROM from Instrument Library Developer Program Internet/WWW Contact National Instruments office
30 National Instruments Worldwide OperationsSophisticated, Direct Sales/Support U.S. – more than 30 offices covering all 50 states International – more than 25 offices Manufacturing/R&D Austin, TX Corporate Headquarters Employees U.S. – more than 800 employees International – more than 200 employees Extensive Product Lines More than 600 products
31 Caso Real
32 Hardware Utilizado LAPTOP COMPAQ ARMADA M700TEKTRONIK DIGITIZING OSCILLOSCOPE TDS520A HEWLETT PACKARD COMMUNICATIONS PERFORMANCE ANALYZER OMNIBER 37717C TARJETA Y CABLE NATIONAL INSTRUMENTS PCMCIA-GPIB HEWLETT PACKARD FUNCTION GENERATOR A HEWLETT PACKARD GPIB CABLE 10833A
33 MEASUREMENT & AUTOMATION EXPLORER 3.0.2Software Utilizado LABVIEW 7.0 MEASUREMENT & AUTOMATION EXPLORER 3.0.2 NI NI VISA DRIVERS Y LIBRERIAS DE LOS INSTRUMENTOS
34 Características de los instrumentosSDH/SONET/PDH/ATM/Jitter Test Set Platform Opts: USS, A3B, UKN, UKJ, A3K, A3N, 130,120, UH4 Dual SONET/SDH Interfaces Dual 1310, 1550 nm Optics Installed HPIB, RS232, LAN, Parallel Interfaces Agilent's OmniBER 717 communications performance analyzer offers a single-box, field-portable multi-rate tester to 622Mb/s for installation, maintenance, and commissioning of hybrid PDH/SDH/SONET and ATM transport networks and network equipment OmniBER 717 can be configured as a dual standard SONET/SDH analyzer for BER and jitter tests, which makes it the ideal tool for testing network equipment in a manufacturing environment. The dual SONET/SDH capability along with comprehensive remote control of the instruments rich feature set means that production lines can be rapidly reconfigured to test either SONET or SDH. HP 37717C OmniBER Communications Performance Analyzer
35 Características de los instrumentos500 MHz maximum analog bandwidth. 1 Gigasample/second maximum digitizing rate 500 Megasamples/second maximum digitizing rate Four-channel acquisition, two full-featured channels and two channels with limited vertical scale selections: 100 mV, 1 V, and 10 V. Waveform Math — Invert a single waveform and add, subtract, multiply, and divide two waveforms. Up to 15,000-point record length per channel (50,000-point optional). Full GPIB software programmability. Hardcopy output using RS-232 or Centronics ports Tektronik TDS 520A Digitizing Oscilloscope
36 Esquema de la aplicaciónOMNIBER 37717C TDS 520A APLICACIÓN DE LABVIEW PARA EL CONTROL, MONITOREO Y ALMACENAMIENTO
37 DESCARGA E INSTALACION DE LOS SIGUIENTES DRIVERS:Desarrollo de la aplicación DESCARGA E INSTALACION DE LOS SIGUIENTES DRIVERS: Instrument Driver Network (www.ni.com/devzone/idnet) 37717C LabView Driver 37717C Driver: VXIplug&play A.07.00
38 Desarrollo de la aplicaciónCONEXIÓN EN CASCADA DE LOS INSTRUMENTOS PCMCIA-GPIB CABLE DIRECCIONAMIENTO GPIB EN CADA INSTRUMENTO GPIB CABLE
39 GPIB Desarrollo de la aplicación VXI PLUG & PLAY Y LABVIEW DRIVERSPRUEBAS DE COMUNICACIÓN CON LOS INSTRUMENTOS GPIB
40 Desarrollo de la aplicaciónDRIVERS APLICACIÓN EN LABVIEW PARA EL CONTROL Y MONITOREO DEL INSTRUMENTO PROGRAMACION EN LABVIEW DISEÑO GRAFICO DE PANEL FRONTAL
41 Control y monitoreo de variables básicas2 7 8 4 5 6 1 3
42 Control y monitoreo de variables básicasMostrar las formas de onda por pantalla Mostrar tipos de mediciones Selección de medición a realizar Selección del canal Variación de escala vertical Variación de escala horizontal Variación de posición vertical Variación de posición horizontal
43 Control, monitoreo y almacenamiento de las variables mas importantes a nuestro interés 1 2 14 4 3 9 13 10 6 12 11 8 7 5
44 Control, monitoreo y almacenamiento de las variables mas importantes a nuestro interés Restricciones de acceso al programa y sus funciones mediante password Auto setup del instrumento (lo habilita para trabajar en modo remoto) Comienzo y/o finalización de la medición Selección de señal de transmisión y recepción Tipos de señales Muestra la función de “Activar Alarmas” Muestra la alarma “LOS” Genera una alarma del tipo “LOS” Muestra los resultados de las mediciones en pantalla Muestra un histórico con posibles alarmas anteriores Imprime un reporte con los resultados y también crea y guarda un documento en Excel con los mismos Deshabilita el modo remoto Genera un error sencillo Leds indicadores de alarmas
45 Almacenamiento de datos y generación de reportes
46 Questions ?