introducción a labview - daq daq.pdflabview 4 introducción a labview • labview (acrónimo de lab...
TRANSCRIPT
![Page 1: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/1.jpg)
Introducción a LabView - DAQ
Pedro CorcueraDpto. Matemática Aplicada y Ciencias de la ComputaciónUniversidad de Cantabria
![Page 2: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/2.jpg)
Labview 2
Objetivos
• Introducir LabVIEW DAQ
![Page 3: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/3.jpg)
LabView 3
Indice
• Términos de LabVIEW• Componentes de aplicación de LabVIEW• Herramientas de programación de LabVIEW• Crear una aplicación en LabVIEW
![Page 4: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/4.jpg)
LabView 4
Introducción a LabView
• LabVIEW (acrónimo de Laboratory Virtual Instrumentation Engineering Workbench) es unaplataforma y entorno de desarrollo para un lenguajede programación visual de National Instruments.
• El lenguaje gráfico se llama "G“.• LabVIEW se usa comunmente para adquisición de
datos, control de instrumentación y aumtomatizaciónindustrial para diferentes plataformas como Microsoft Windows, UNIX, Linux, y Mac OS X
![Page 5: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/5.jpg)
LabView 5
Adquisición de Datos en LabVIEW
• Adquisición de datos (DAQ en inglés) • Conexión de Señales• Aplicaciones con DAQ
Computadora
Dispositivo DAQ
Bloque de Terminales
Cable
Sensores
![Page 6: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/6.jpg)
LabView 6
Sistema de DAQ típico
![Page 7: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/7.jpg)
LabView 7
Hardware en Adquisición de Datos
BNC-2120 SCB-68
NI-ELVIS
SC-2075
NI-WLS-9211
![Page 8: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/8.jpg)
• Resolución: para adquirir datos se usan convertidores Análogo-a-Digital (ADC) que toma una señal análoga y la convierte a un número binario. La resolución se refiere al número de niveles binarios que el ADC puede utilizar para representar una señal
• Rango: A diferencia de la resolución del ADC, el rango del ADC es seleccionable. Se elige el rango cuando se configura su dispositivo en NI-DAQ
• Gain (ganancia) – Amplifica o atenúa la señal para un mejor ajuste del rango
LabView 8
Términos en Adquisición de Datos
![Page 9: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/9.jpg)
• Estado• Rate• Nivel• Forma• Contenido de frecuencia
LabView 9
Información suministrada en medición y análisis de señales
![Page 10: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/10.jpg)
LabView 10
Tipos de señales (ADC → analog-to-digital converter, DAC →digital-to-analog converter, TTL → transistor-transistor logic)
![Page 11: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/11.jpg)
LabView 11
Señal on-off
![Page 12: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/12.jpg)
LabView 12
Señal pulse train
![Page 13: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/13.jpg)
• static or slowly varying analog signals
LabView 13
Señal Analog DC
![Page 14: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/14.jpg)
• convey information in the signal level and in the way this level varies with time
LabView 14
Señal Analog AC
![Page 15: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/15.jpg)
• The information extracted from a frequency-domain signal is based on the signal frequency content.
LabView 15
Señal dominio de la frecuencia
![Page 16: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/16.jpg)
LabView 16
Fenómeno y transductores
![Page 17: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/17.jpg)
LabView 17
Tipos comunes transductores/señales y acondicionador señal requerido
![Page 18: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/18.jpg)
LabView 18
Métodos de aislamiento de señales
![Page 19: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/19.jpg)
• Low-level signals should be amplified at the DAQ device or at an external signal-conditioning peripheral positioned near the source of the signal.
• Efecto en el ratio señal-ruido
LabView 19
Amplificación de señales
![Page 20: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/20.jpg)
LabView 20
Sistema DAQ: señales y cableado
![Page 21: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/21.jpg)
LabView 21
Señales de tierra (referencia)
![Page 22: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/22.jpg)
LabView 22
Resumen de conexiones analog input
![Page 23: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/23.jpg)
• Nyquist criterion requires that the sampling frequency be at least twice the highest frequency contained in the signal, or information about the signal will be lost
LabView 23
Muestreo de señales
![Page 24: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/24.jpg)
• Contiene una plataforma para la NI-DAQ tradicional y una para NI-DAQmx.– Los VIs tradicionales se dividen por el tipo de medición,
los VIs DAQmx se dividen por el tipo de tarea.• Pasos para usar la Adquisición de Datos de VIs
– El software NI-DAQ debe estar instalado– Tener instalado una tarjeta E-series DAQ y configurada
con el Explorador de Automatización & Mediación (Measurement & Automation Explorer (MAX)).
LabView 24
Adquisición de Datos en LabVIEW
![Page 25: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/25.jpg)
LabView 25
Adquisición de Datos en LabVIEW
NI-DAQ TradicionalVIs específicos para realizar:• Entrada Análoga• Salida Análoga • I/O (entrada/salida)
Digital• Operaciones de conteo
NI-DAQmxControlador (Driver) de siguiente generación: • VIs para ejecutar una tarea• Un serie de VIs para todos los tipos de mediciones
![Page 26: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/26.jpg)
• LabView proporciona herramientas de ayuda para la lectura o generación de señales desde dispositivos
LabView 26
Adquisición de Datos en LabVIEW
![Page 27: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/27.jpg)
LabView 27
Paleta DAQmx-Data Acquisition
![Page 28: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/28.jpg)
LabView 28
Verificando configuración Windows desde Administrador de dispositivos
![Page 29: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/29.jpg)
LabView 29
Measurement & Automation Explorer (MAX)
![Page 30: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/30.jpg)
LabView 30
Verificando las propiedades de dispositivos DAQ
![Page 31: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/31.jpg)
LabView 31
Acceso a la información de configuración dispositivos DAQ
![Page 32: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/32.jpg)
LabView 32
Configuración de un canal virtual
![Page 33: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/33.jpg)
LabView 33
Creando una configuración de un canal virtual
![Page 34: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/34.jpg)
LabView 34
Seleccionando el tipo de medición y creación de un canal local
![Page 35: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/35.jpg)
LabView 35
Nombrando la tarea y finalización de la configuración de la tarea
![Page 36: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/36.jpg)
LabView 36
Configuración final MAX
![Page 37: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/37.jpg)
LabView 37
DAQ Assistant en diagrama de bloques
![Page 38: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/38.jpg)
LabView 38
Uso de DAQ Assistant para configurar un canal de entrada analógico
![Page 39: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/39.jpg)
LabView 39
Configuración de los ajustes del canal y prueba de la tarea DAQmx
![Page 40: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/40.jpg)
LabView 40
Adición de un Waveform Graph al DAQ Assistant
![Page 41: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/41.jpg)
LabView 41
Renombrando un canal
![Page 42: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/42.jpg)
LabView 42
Creando un nombre de tarea constantepara hacer la tarea DAQmx disponible para otras
aplicaciones
![Page 43: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/43.jpg)
LabView 43
Seleccionando nombres de tarea DAQmx
![Page 44: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/44.jpg)
LabView 44
Ejemplo de entrada analógica – Front Panel
![Page 45: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/45.jpg)
LabView 45
Configuración de la tarea DAQmx con DAQ Assistant
![Page 46: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/46.jpg)
LabView 46
Adquisición de punto en la entrada analógica
![Page 47: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/47.jpg)
LabView 47
Adquisición de punto en la entrada analógica
![Page 48: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/48.jpg)
LabView 48
Configuración de DAQ Assistant (doble click en el icono)
![Page 49: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/49.jpg)
LabView 49
Configuración de DAQ Assistant (doble click en el icono)
![Page 50: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/50.jpg)
LabView 50
Voltímetro
![Page 51: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/51.jpg)
LabView 51
Entrada analógica y Salida Digital
![Page 52: Introducción a LabView - DAQ DAQ.pdfLabView 4 Introducción a LabView • LabVIEW (acrónimo de Lab oratory V irtual I nstrumentation E ngineering W orkbench) es una plataforma y](https://reader036.vdocuments.mx/reader036/viewer/2022081507/613837d20ad5d20676491f20/html5/thumbnails/52.jpg)
• Ejemplos de Programas (Help » Find Examples…) Nota: es necesario activar el servicio NI Service Locator
• LabVIEW Community Edition (link)• Programas de ejemplo (link)• Instrument Driver Network (link)• Labview Quick Reference Card (link)• Learning with Labview, Robert H Bishop, Pearson
LabView 52
Más información y/o ejemplos