guia de labview

Upload: alanbrote

Post on 05-Apr-2018

227 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/31/2019 GUIA DE LABVIEW

    1/25

    GUIA DE LABVIEW

  • 7/31/2019 GUIA DE LABVIEW

    2/25

    PARTE I

    EL AMBIENTE

  • 7/31/2019 GUIA DE LABVIEW

    3/25

    QUE ES LABVIEW?

    Es una herramienta grfica.

    Lenguaje G.

    "La potencia est en el Software "

  • 7/31/2019 GUIA DE LABVIEW

    4/25

    COMO TRABAJA LABVIEW?

    http://www.ni.com/labview/

  • 7/31/2019 GUIA DE LABVIEW

    5/25

    http://www.ni.com/labview/

  • 7/31/2019 GUIA DE LABVIEW

    6/25

    http://www.ni.com/labview/

  • 7/31/2019 GUIA DE LABVIEW

    7/25

    http://www.ni.com/labview/

  • 7/31/2019 GUIA DE LABVIEW

    8/25

    GENERALIDADES

    Los programas hechos reciben el nombre de

    Vis (Instrumentos Virtuales)

    Un VI contiene tres partes:

    PANEL FRONTAL

    DIAGRAMA DE BOLQUES

    ICONO Y PANEL CONECTOR

    Sigue un modelo de flujo de datos.

    Se puede crear sub-Vis.

  • 7/31/2019 GUIA DE LABVIEW

    9/25

    PANEL FRONTAL

    Imagen personal

  • 7/31/2019 GUIA DE LABVIEW

    10/25

    DIAGRAMA DE BLOQUES

    Imagen personal

  • 7/31/2019 GUIA DE LABVIEW

    11/25

    ICONO Y PANEL CONECTOR

    Imagen personal

  • 7/31/2019 GUIA DE LABVIEW

    12/25

    LO QUE DEBE SABER HOY

  • 7/31/2019 GUIA DE LABVIEW

    13/25

    EJEMPLO

    CALCULAR LA PENDIENTE DE UNA RECTA

  • 7/31/2019 GUIA DE LABVIEW

    14/25

    TAREAS1

    http://xn--prctica%201-l7a.pdf/http://xn--prctica%201-l7a.pdf/
  • 7/31/2019 GUIA DE LABVIEW

    15/25

    VOCABULARIO GENERAL

  • 7/31/2019 GUIA DE LABVIEW

    16/25

  • 7/31/2019 GUIA DE LABVIEW

    17/25

    PARTE II

    LAS ESTRUCTURAS

  • 7/31/2019 GUIA DE LABVIEW

    18/25

    SE CUENTA CON

  • 7/31/2019 GUIA DE LABVIEW

    19/25

    CASE

    La estructura Case tieneal menos dos

    subdiagramas (True yFalse). nicamente seejecutar el contenido

    de uno de ellos,

    dependiendo del valorde lo que se conecte al

    selector.

  • 7/31/2019 GUIA DE LABVIEW

    20/25

    FOR

    Ejecutar el buclefores equivalente al

    siguiente fragmentode cdigo:For i = 0 to N 1Ejecutar el

    subdiagrama delinterior del Bucle

  • 7/31/2019 GUIA DE LABVIEW

    21/25

    SHIFT REGISTER

    Para pasar

    valores de una

    iteracin a otrase emplean los

    llamador shiftregisters.

  • 7/31/2019 GUIA DE LABVIEW

    22/25

    WHILE

    El bucle while esequivalente alcdigo siguiente:

    DoSe ejecuta lo quehay en el interiordel bloquewhile terminalcondicional is true

  • 7/31/2019 GUIA DE LABVIEW

    23/25

    SEQUENCE

    Esta estructura

    secuencia la ejecucin

    del programa. Primero

    ejecutar el

    subdiagramade la hoja (frame) n0,

    despus el de la n 1, yas sucesivamente.

  • 7/31/2019 GUIA DE LABVIEW

    24/25

    FORMULE NODE

    La estructura denominada Formula Node seemplea para introducir en el diagrama de

    bloques frmulas de un modo directo. Resulta

    de gran utilidad cuando la ecuacin tiene

    muchas variables o es relativamente

    compleja.

  • 7/31/2019 GUIA DE LABVIEW

    25/25

    EJERCICIOS

    EJERCICIOS INSTRUMENTACION VIRTUAL

    TAREA2

    http://xn--prctica%202-l7a.pdf/http://xn--prctica%202-l7a.pdf/