National Instruments NI LabVIEW manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto National Instruments NI LabVIEW. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoNational Instruments NI LabVIEW vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual National Instruments NI LabVIEW você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual National Instruments NI LabVIEW, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual National Instruments NI LabVIEW deve conte:
- dados técnicos do dispositivo National Instruments NI LabVIEW
- nome do fabricante e ano de fabricação do dispositivo National Instruments NI LabVIEW
- instruções de utilização, regulação e manutenção do dispositivo National Instruments NI LabVIEW
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque National Instruments NI LabVIEW não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos National Instruments NI LabVIEW e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço National Instruments na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas National Instruments NI LabVIEW, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo National Instruments NI LabVIEW, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual National Instruments NI LabVIEW. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    Getting Started with the NI LabVIEW Embedded Module for ADI Blackfin Processors V ersion 2.0 The NI LabVIEW Embedded Module fo r ADI Blackfin Pro cessors is a comprehensive graphical developm ent environment for embedded design. Jointly developed by Analog Devi ces and National Instruments, this module seamlessly integrates th e LabVIEW development[...]

  • Página 2

    Embedded Module for Bl ackfin Pr ocessors 2 ni.com Creating the Front Panel ....................... .............. .............. ........... .....13 Creating the Block Diagram ....................... .............. .............. ..........14 Configuring the Targ et and Debuggi ng Options .............. .............. ..16 Creating the ADSP-BF537 [...]

  • Página 3

    © National Instruments Corporation 3 Em bedded Module for Blackfin Processors After you install LabV IEW , refer to the LabVIEW Upgrad e Notes , av ailable by selecting Start »All Programs»Na tional Instrum ents» LabVIEW»LabVIEW Manuals and opening LV_Upgrade_Notes.pdf , for more informati on about new featur es in LabV IEW 8.2. Refer to th e [...]

  • Página 4

    Embedded Module for Bl ackfin Pr ocessors 4 ni.com Tip If the installer does no t automatically begin, double-cli ck VisualDSP++4.5.exe on the CD to begin installation. 3. After you finish installing V isualDSP++, select Start»All Programs» Analog Devices»VisualDSP++ 4.5» Maintain this in stallation . 4. Select Apply a downloaded Update and cli[...]

  • Página 5

    © National Instruments Corporation 5 Em bedded Module for Blackfin Processors Installing the EZ-KIT Lite or Emulator Caution Be careful when removing the board from the package and handling the board to av o id the discharge of static electricity , which might damage some components. The EZ-KIT Lite or USB-based IC E board is designed to run as a [...]

  • Página 6

    Embedded Module for Bl ackfin Pr ocessors 6 ni.com On the board, the power LED illu minates, and you might see other visible acti vity , such as blinking LEDs. The connection activ ates the W i ndows F ound Ne w Hardware W izard. 2. Follo w the instructions on the screen to inst all the software automatically . A Windo ws message notifies you when [...]

  • Página 7

    © National Instruments Corporation 7 Em bedded Module for Blackfin Processors LabVIEW 8.2.1 project ( .lvproj ) files. Complete the f ollo wing step s to update embedded project f iles for use with LabVIEW 8.2.1 and the Embedded Module for Blackfin Processors 2.0. 1. Launch LabVIEW 8.2.1. 2. Select File»Open in the Getting Started windo w and nav[...]

  • Página 8

    Embedded Module for Bl ackfin Pr ocessors 8 ni.com 8. Select File»Sav e in the Project Explorer window to sav e the project. LabVIEW sav es a copy of all the VIs for the project in the same folder as the .lvproj fi le . Refer to the Building, Downlo ading, and Running a Blackfin Applicati on section for information about building a Blackfin VI int[...]

  • Página 9

    © National Instruments Corporation 9 Em bedded Module for Blackfin Processors Tu t o r i a l Use this tutorial to learn how to cr eate a LabVIEW project and build, run, and debug a Blackfin application. Note Y ou can create a project and Blackfin VI wi thout connecting a Blackfin target to the host computer . Howe v er , you must connect a Bl ackf[...]

  • Página 10

    Embedded Module for Bl ackfin Pr ocessors 10 ni.com 3. Right-click Project:Untitled Project 1 in the Project Explorer window and select New»Targets and Devices from the shortcut m enu to open the Add Targets and Devic es dialog box as shown in Figure 3. Figure 3. Add T argets and Device s Dialog Box[...]

  • Página 11

    © National Instruments Corporation 11 E mbedded Mod ule for Blackfin Processors 4. Expand the Embedded folder and select Analog Devices ADSP-BF537 as shown in Figure 4. Figure 4. Adding a New Device 5. Click the OK button to add the target to the project. The tar g et appears in the Project Explorer window as sho wn in Figure 5. Figure 5. Adding t[...]

  • Página 12

    Embedded Module for Bl ackfin Pr ocessors 12 ni.com 6. Expand the ADSP-BF537 target as shown in Figure 6. LabVIEW automatically adds Dependencies and Build Specifications under t he target. SubVIs appear under Dependencies when you add a VI that contains subVIs to a project. Build specifications you create for a target in a project appear under Bui[...]

  • Página 13

    © National Instruments Corporation 13 E mbedded Mod ule for Blackfin Processors Creating the Front Panel The front panel is the user interface fo r a VI. You can use the front panel as a debugging interface for Blackfin appl ications you create with LabVIEW. This tutorial includes an LED indicator that lights if the input exceeds a threshold value[...]

  • Página 14

    Embedded Module for Bl ackfin Pr ocessors 14 ni.com 2. Rename the controls by double-clicking the labels and entering new names as shown in Figure 9. • Change one of the numeric controls to input . • Change the other numeric control to threshold . • Change the numeri c indicator to output . • Change the round LED to threshold exceeded? . Ti[...]

  • Página 15

    © National Instruments Corporation 15 E mbedded Mod ule for Blackfin Processors 3. Create the block diagram as sho wn in Figure 10. a. Place a While Loop located on the Structures palette around the controls and indicator on the block diagram. While Loops repeat the subdiagram inside it unt il the conditional terminal, whi ch is an input terminal,[...]

  • Página 16

    Embedded Module for Bl ackfin Pr ocessors 16 ni.com 4. Sav e the VI as Blackfin Tutorial . Configuring the T arget and Debugging Options The target options you set tell La bVIEW how the Blackfin target is connected to the host co mputer. The EZ-KIT Lite is connected to the host computer through the USB port, which also is know n as a debug agent. N[...]

  • Página 17

    © National Instruments Corporation 17 E mbedded Mod ule for Blackfin Processors 5. Click the Debug Options tab to configure the debug options you can use while debugging a Blackf in application on the Blackfin target. Tip Click the Help button to open the LabVIEW Help and read a description of each deb ug setting. 6. Change the Front Panel/Probe U[...]

  • Página 18

    Embedded Module for Bl ackfin Pr ocessors 18 ni.com Creating the ADSP-BF537 Build Specification Build specificatio ns tell the LabVIEW C Code Generat or how to generate the C code and build the Blackfin VI into a Blackfin app lication. You can create the build specification when you create a project or wait until you are ready to build the Blackfin[...]

  • Página 19

    © National Instruments Corporation 19 E mbedded Mod ule for Blackfin Processors C code for synchronization and data transfer . Y ou must place a checkmark in the Enable lwIP TCP/IP support checkbox on the Advanced tab before you can select the TCP port debug option. Note Y ou must connect the Blackfin tar get to the host computer with an Ethernet [...]

  • Página 20

    Embedded Module for Bl ackfin Pr ocessors 20 ni.com 6. Click the Processor tab and verify the silicon revision in the Silicon revision pu ll-down menu, sho wn in Figure 14, matches the silicon revision on the hardware. Figure 14. Verifying the Silicon Revisio n[...]

  • Página 21

    © National Instruments Corporation 21 E mbedded Mod ule for Blackfin Processors 7. Select Source Files from the Category list and select Blackfin Tutorial.vi in the source f iles list. Click the blue right arrow button, sho wn at left, to mov e the VI from the source files list to the Top-level VI text box as sho wn in Figure 15. Figure 15. Select[...]

  • Página 22

    Embedded Module for Bl ackfin Pr ocessors 22 ni.com 8. Click the OK button and expand the Build Specifications item in the Project Explorer window . The build specifi cation you just created appears under the Blackfin tar get as shown in Figure 16. Figure 16. Blackfin Build Spec ificatio n in the Project Explorer Window 9. T riple-click VDK Applica[...]

  • Página 23

    © National Instruments Corporation 23 E mbedded Mod ule for Blackfin Processors Building, Downloading, and Ru nning a Blackfin Application After you develop the Blackfin VI on the host compu ter, you build the Blackfin VI into a Blackfin applicatio n you can run on a Blackfin target. When you build a Blackfin applicati on, the La bVIEW C Code G en[...]

  • Página 24

    Embedded Module for Bl ackfin Pr ocessors 24 ni.com Debugging with Brea kpoints and Probes Complete the f ollowing st eps to deb ug the Blackfin tuto rial application with breakpoints and probes. 1. Switch to the block diagram if it is not visi ble. 2. Right-click the Multi ply function and select Set Breakpoint from the shortcut menu. The breakpoi[...]

  • Página 25

    © National Instruments Corporation 25 E mbedded Mod ule for Blackfin Processors 4. Add a probe to see the v alues on the wire coming into the Multi ply function. a. Click the wire coming into the x input. b . Click the wire coming into the y input. A floating Probe window appears after you create each probe. LabVIEW numbers the Probe windows autom[...]

  • Página 26

    National Instruments, NI, ni.com, and LabVIEW are tradem arks of National Instruments Corporation. Refer to t he Terms of Use section on ni.com/legal for more information a bout National Instruments trademarks. Other product and compan y names mentioned herein are trademarks or trade names of their respective companie s . For patents covering Natio[...]