control, monitoreo y almacenamiento mediante labview tm de variables de interes provenientes de los...
Post on 11-Apr-2015
117 Views
Preview:
TRANSCRIPT
CONTROL, MONITOREO Y ALMACENAMIENTO MEDIANTE CONTROL, MONITOREO Y ALMACENAMIENTO MEDIANTE LABVIEWLABVIEWTMTM DE DE VARIABLES DE INTERES PROVENIENTES DE LOS INSTRUMENTOS DE MEDICION:VARIABLES DE INTERES PROVENIENTES DE LOS INSTRUMENTOS DE MEDICION:
COMMUNICATIONS PERFORMANCE ANALYZER HEWLETT PACKARD OMNIBER 37717C COMMUNICATIONS PERFORMANCE ANALYZER HEWLETT PACKARD OMNIBER 37717C DIGITIZING OSCILLOSCOPE TEKTRONIK TDS520ADIGITIZING OSCILLOSCOPE TEKTRONIK TDS520A
Luis Aguilar (UNEXPO)
luishaguilar@esmartweb.com
Alejandro Martinez (PDVSA)
martinezaae@pdvsa.com
1. STANDARD GPIB
2. INSTRUMENTACIÓN VIRTUAL
3. CONTROL DE INSTRUMENTOS
4. PRESENTACIÓN DE CASO REAL
Hewlett-Packard developed a bus to connect and control theirprogrammable instruments.But the need arose for a standard, high-speed interface so thatinstruments and controllers from various vendors could communicate.
IEEE Society published ANSI/IEEE Standard 488 - 1975,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 488 - 1975 document was revised for editorialclarification 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
Bandwidth
Max. number of devices
Max. cable length
Connectors
Termination
Compatibility across
platforms
Bus connectivity
1-8 Mbytes/s 2-5 Mbytes/s <20 kbytes/s
14
20 m
Standard
Built-in
Yes
Linear or
Star
7
6 m
Nonstandard
Required
No
Linear
1
15 m
Nonstandard
No
Not needed
N/A
GPIB SCSI
<20 kbytes/s
No
Linear
Required
Nonstandard
1220 m
32
RS-232 RS-485
• Eight data lines
• Five interface management lines
• Three handshake lines
123456789
101112
131415161718192021222324
DIO5
DIO6DIO7DIO8RENGND (TW PAIR W/DAV)GND (TW PAIR W/NRFD)GND (TW PAIR W/NDAC)GND (TW PAIR W/IFC)GND (TW PAIR W/SRQ)GND (TW PAIR W/ATN)SIGNAL GROUND
DIO1DIO2DIO3DIO4EOI
DAVNRFDNDAC
IFCSRQATN
SHIELD
• Maximum 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.
• Only one Controller-In-Charge on the GPIB at a time
• Primary responsibilities of a Controller are:
– Defining the communication links
– Responding to devices requesting service
– Sending GPIB commands
– Passing/receiving control
• Talkers
– Are instructed by the Controller to talk
– Place 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
• 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.
PC Based Virtual Instrumentation has become the new PC Based Virtual Instrumentation has become the new methodology for instrumentationmethodology for instrumentation
PC
TV
Radio
Clock
Time
Fle
xibi
lity
0
50100
25 75
DISPLAY AND
CONTROL
Stand Alone Instrument PC Based Instrument
Vendor Defined User Defined
AcquisitionAcquisition PresentationPresentationAnalysisAnalysis
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
• Industry-standard components
• Flexible
• Scalable
• Connectivity
• Compatibility
• Increased productivity
• Reduced cost
• Graphical Programming for Virtual Instrumentation
– front panel graphical userinterfaces
– graphical block diagram source code
– compiler for optimized execution
• Standalone executables for easy distribution
September 1992
LabVIEW for WindowsLabVIEW for Sun
April 1990
U.S. Patent
February 1990
U.S. PatentJanuary 1990
LabVIEW 2
October 1986
LabVIEW 1
April 1983LabVIEW Concept
•1998 - LabVIEW 5• – Multithreading, VI Server, ActiveX, Undo, Wizards•1996 - LabVIEW 4• – Customizable interface
•1994 - LabVIEW 3• – LabVIEW for HP-UX• – Add-On Toolkits
•1992 - New operating systems• – Microsoft Windows, OpenWindows, X Windows• – Introduction on other platforms
•1990 - LabVIEW 2• – Mature product -- four years of customer feedback• – Compiler to match industry needs
•1986 - LabVIEW 1• – Introduced innovative approach to programming• – Macintosh only possible platform
•1983 - LabVIEW concept• – Search for instrumentation software solution• – Virtual instrument concept
1998
LabVIEW for HP-UXAdd-On Toolkits
1994
LabVIEW 5
1996
LabVIEW 4
• Platform neutral• Leverage common
technology• Migrate applications
between platforms• Also available on
Concurrent PowerMAX
S C X I1 1 4 0
S C X I1 1 4 0
S C X I
1 1 4 0
S C X I1 1 4 0
SCXI - 1001
M A IN FR A M E
SCXI
SCX I1 1 0 0
NAT IONAL
INS T RUMENT S®
bu
s
Control P anel
Flow
P ressure A larm Conditions
S TOP
Temperature
LabVIEWSoftwareAnalysis and Presentation
LabVIEWSoftwareAnalysis and Presentation
Hardware and Driver SoftwareAcquisition and ControlHardware and Driver SoftwareAcquisition and Control
GPIB Instruments
Serial Instruments
DAQ Products
Unit Under Test
Process
VXI Instruments
PC or Workstation
Other networked computers
Acquisition
IEEE 488.2controllers
Plug-in dataacquisition 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 ComponentWorksLabVIEW, LabWindows/CVI, and ComponentWorks
HiQ (Post analysis and report generation)
• Create 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
• Affordable– 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, ...)
• Remote Control– Serial– GPIB– Ethernet
• Automated/Network Control
• Data Analysis• Data Storage
• Leveraging computer technology– Adaptability– Latest technology
• Creating open systems– Freedom of choice– Integration
• Delivering true productivity– Flexibility– Performance
• Empowering technology– Natural design notation– Eliminates syntactical details
• Reduced development time– Readability– Self-documenting
• Reusability– Modularity– Top-down and
bottom-up design
Top-Level Front Panel
Top-Level Block Diagram
Low-Level Panel
Low-Level Diagram
• Pure graphical programming– Robustness– Consistent methodology
• Programming structures– Intuitive– Scalable
• Compiled language– Performance– Executables
CEstablished Programming StandardWidespread Knowledge Base Instrumentation LibrariesStandard Coding ConventionsSource Code Control
Intuitive GUIDynamic-Link-Libraries (DLLs)Dynamic-Data-Exchange (DDE)Extended MemoryCommon ResourcesNetworking
Interactive Development
Tools
Standard ANSI C
Programming
GUIs
Instrument Drivers
DAQ
Networking
GPIB VXISerial
Analysis
• CD-ROM from Instrument Library Developer Program
• Internet/WWW–ftp@ni.com–www.ni.com
• Contact National Instruments office
•Sophisticated, Direct Sales/Support•U.S. – more than 30 offices covering all 50 statesInternational – more than 25 offices•Manufacturing/R&D•Austin, TX Corporate Headquarters•Employees•U.S. – more than 800 employeesInternational – more than 200 employees•Extensive Product Lines•More than 600 products
TEKTRONIK DIGITIZING OSCILLOSCOPE
TDS520A
HEWLETT PACKARD COMMUNICATIONS
PERFORMANCE ANALYZER OMNIBER 37717C
LAPTOP COMPAQ ARMADA M700
TARJETA Y CABLE NATIONAL INSTRUMENTS
PCMCIA-GPIB
HEWLETT PACKARD GPIB CABLE 10833A
HEWLETT PACKARD FUNCTION GENERATOR
3312A
LABVIEW 7.0
MEASUREMENT & AUTOMATION EXPLORER 3.0.2
NI 488.2 1.70
NI VISA 3.0.1
DRIVERS Y LIBRERIAS DE LOS INSTRUMENTOS
•SDH/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 717 Communications
Performance Analyzer
•500 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
APLICACIÓN DE LABVIEW PARA EL CONTROL,
MONITOREO Y ALMACENAMIENTO
OMNIBER 37717C
TDS 520A
37717C Driver:
VXIplug&play A.07.00
37717C LabView Driver
DESCARGA E INSTALACION DE LOS SIGUIENTES DRIVERS:
DIRECCIONAMIENTO GPIB EN CADA INSTRUMENTO
CONEXIÓN EN CASCADA DE LOS INSTRUMENTOS
PCMCIA-GPIB CABLE
GPIB CABLE
VXI PLUG & PLAY Y LABVIEW DRIVERS
PRUEBAS DE COMUNICACIÓN CON LOS INSTRUMENTOS
GPIB
DRIVERSPROGRAMACION EN
LABVIEW
DISEÑO GRAFICO DE PANEL FRONTAL
APLICACIÓN EN LABVIEW PARA EL
CONTROL Y MONITOREO DEL
INSTRUMENTO
1
2
3
4
5 6
7 8
1. Mostrar las formas de onda por pantalla
2. Mostrar tipos de mediciones
3. Selección de medición a realizar
4. Selección del canal
5. Variación de escala vertical
6. Variación de escala horizontal
7. Variación de posición vertical
8. Variación de posición horizontal
1
2
3
4
5
6
78
9
10
1112
13
14
1. Restricciones de acceso al programa y sus funciones mediante password
2. Auto setup del instrumento (lo habilita para trabajar en modo remoto)
3. Comienzo y/o finalización de la medición
4. Selección de señal de transmisión y recepción
5. Tipos de señales
6. Muestra la función de “Activar Alarmas”
7. Muestra la alarma “LOS”
8. Genera una alarma del tipo “LOS”
9. Muestra los resultados de las mediciones en pantalla
10. Muestra un histórico con posibles alarmas anteriores
11. Imprime un reporte con los resultados y también crea y guarda un documento en Excel con los mismos
12. Deshabilita el modo remoto
13. Genera un error sencillo
14. Leds indicadores de alarmas
top related