30 views

Uploaded by elamaran_vlsi

labview

- Labview 7 Base i
- LabVIEW Basics I Course Manual
- Intro LabVIEW 2 Data_type
- Introduction to LabVIEW
- Student Workbook Instructor Version
- Workshop 6
- Python 3 - Quick Guide
- LabVIEW Tutorial Manual
- LabVIEW Programming Examples
- LabVIEW Introduction SixHour
- LabVIEW(2)
- labview
- 15962632 LabVIEW Data Types Conversions Between These Types
- Introduction to LabVIEW Six Hours Course
- Labview Exercises
- 1 St Interview
- Untitled
- Parallel Computing — Julia Language 0.4.pdf
- Prova Scribd
- Presentation 1

You are on page 1of 19

Typical structures include: For Loop. While Loop. Case structure. Flat Sequence structure.

3.2. The For loop For Loop controls repetitive operation until a specification number of iteration completes. It has two terminals: the count terminal (an input terminal) the iteration terminal (an output terminal). Where 0 represents first iteration. (N-1 is Nth iteration)

3.2.1

Write a For Loop VI: the iteration number (Count Terminal input) is input via a numerical control, and the iteration terminal is displayed via a numerical indicator.

3.3 The While loop The While Loop repeat a section operation until a certain condition is met. It has two terminals: The conditional terminal (an input terminal): Boolean variable: True or False The iteration terminal (an output terminal). Where 0 represents first iteration. (N-1 is Nth iteration)

3.3.1

In this excise, we will place a random number inside a While Loop and display the random numbers and While Loop counter on the front panel. Procedure: 1) Place Random Number function on the block diagram, and create an indicator to display it. 2) Place the While Loop on the block diagram from Function>>Express>>Execution Control. Note that A Stop button also create on the front panel. 3) Create an indicator to show the iteration number. 4) Click Run button to start the program, and push Stop button to stop the program. 5) You can change the property of iteration indicator by right-click it on the front panel, and change the data as I32 (integer).

3.4 Case Loop The case structure is a method of executing conditional loop, and it is available from Function>Programming>Structure. The case structure can have multiple sub-diagrams. At the top of the Case structure is the elector label. At the left is the Selector terminal that controls which sub-diagram should operate, and the selector can be numeric, Boolean, string type control. The Default case specify the case to execute if no any selector choice is chosen. You can place selector terminal anywhere on the Case structure along the left border.

Boolean Case Structure A Boolean case structure has only two frames (or sub-diagrams), which is controlled by the corresponding Boolean Selector. The following is a example of Boolean structure, which outputs 0 for False case, and 1 for True case.

Numeric Case Structure A Numeric case structure may have more than two frames (or sub-diagrams), which is controlled by the corresponding numeric Selector: Right click to add, delete frame. Input Data Type determine the Boolean or numeric case structure

The following is a example of numeric case structure, which outputs 1 for case 1, and 2 for case 2 and 3 for case 3.

Case Example 1 (Assignment 1) In this excise, you have two inputs and you will use Boolean Case structure to perform the following tasks: if the boolean wired to the selector terminal is True, the VI will add the numbers; otherwise, the VI will subtract the numbers. Using one controls as case selector, and one indicator to show the calculation result. The input data numbers from the front panels will pass through the tunnels to the Case structure. A tunnel is a data entry point or exit point on a structure. You can wire a terminal from outside the Case structure to a terminal within the structure.

Case Example 2 (Assignment 2) For the previous example (Case Example 1), use numeric Case structure (case 1, case 2 and Case 3) to perform the following tasks: for Case 1, the VI will add the numbers; for Case 2, the VI will subtract the numbers; for Case 3, the VI will multiply the two data. Using one control as the case selector, and one indicator to show the calculation result.

3.5 Flat Sequence Structure Flat Structure consists of several frames. Frames in flat structure execute in order from the left to the right. The VI is executed from left to right, one frame after the other. Data is passed between frames using tunnels. Right click the board to add more frame.

Read Image Example (Assignment 3) Write a LabView VI to read an image and show the images by using Image Display function, shown in the following Block Diagram.

Flat Structure Example (Assignment 4) Write a LabView VI to read two images one after the other by using Flat Structure. Show the two images in two display windows respectively by using Image Display function.

Assignment 5 Use a For loop to generate 100 random numbers. Determine the most current maximum and minimum number as the random numbers are being generated. This is sometimes referred to as a running maximum and minimum. Display the running maximum and minimum values as well as the current random number on the front panel.

Be sure to include the Time Delay Express VI in the For Loop so that the user is able to watch the values update as the For Loop execute.

Assignment 6 Construct a VI that has 3 Round LEDs on the Front Panel. When you run the program, the first LED should turn on and stay on. After one second, the second LED should turn on and stay on. After two more seconds, the third LED should turn on and stay on. All LEDS should be on for three second, and then the program ends.

Assignment 7 Create a time trial program to compare the average execution times of the Formula Node and the native LabVIEW Math Function. This program will require a For Loop, a Flat Sequence Structure, and a Case Structure. The For Loop is required to run the time trial N times and then the results can be averaged using the Statistics function in the Probability $ Statistics sub-palette. The Sequence Structure is required to sample the Tick Count before and after the code executes. The Case Structure is required to determine whether the user would like to execute the Formula Node or the native LabVIEW Math Functions. To test the timing, using the following formulas: a = X 2 / 4;

Where X is the input and Y is the output. Run the time trial for each of the cases. Which method has the fastest execution time?

- Labview 7 Base iUploaded byMukunthan RB
- LabVIEW Basics I Course ManualUploaded byahamed
- Intro LabVIEW 2 Data_typeUploaded byA Fahrul Aji
- Introduction to LabVIEWUploaded byRamaDinakaran
- Student Workbook Instructor VersionUploaded bySeth Adams
- Workshop 6Uploaded byAdrian Stoica
- Python 3 - Quick GuideUploaded byAnonymous ney16otV
- LabVIEW Tutorial ManualUploaded byCesar Rodriguez Perez
- LabVIEW Programming ExamplesUploaded byayeshabanu_momin
- LabVIEW Introduction SixHourUploaded byfenixcross
- LabVIEW(2)Uploaded byMihaela Enache
- labviewUploaded bycarlos.otiniano9811
- 15962632 LabVIEW Data Types Conversions Between These TypesUploaded byaamergcu
- Introduction to LabVIEW Six Hours CourseUploaded bySantosh Singh Chauhan
- Labview ExercisesUploaded byMarcoags26
- 1 St InterviewUploaded byLokesh Dora
- UntitledUploaded byparimalabaranee
- Parallel Computing — Julia Language 0.4.pdfUploaded byskoobooks
- Prova ScribdUploaded byÀngel Buch
- Presentation 1Uploaded byzain abideen
- C-Language By: Manzoor Ali SolangiUploaded byمنظور سولنگی
- Kendriya Vidyalaya No.ii, Naval Base, Kochi-04 Cumulative Examination-2008 Total Marks:Uploaded bynikhiljohnjude
- CandUnixUploaded byVysakh Sreenivasan
- 8.1_python_while_loop.pdfUploaded bymaya
- A11 LoopingUploaded byHusna Rasyiqah
- Python loopsUploaded byCarlos Pimentel
- CCP503Uploaded byapi-3849444
- mid progUploaded byNerissa Borja
- Lecture 05 Loops 2010Uploaded byShiha Lazeel

- 04539803Uploaded byelamaran_vlsi
- Blooms TaxonomyUploaded bysivaeeinfo
- 2d Convolution MasksUploaded byelamaran_vlsi
- mSpiht_Readme.pdfUploaded byelamaran_vlsi
- FAQ Altera Tools Faq Quartus2 42 FinalUploaded byelamaran_vlsi
- A Hands on Interactive Undergraduate Digital Image Processing CourseUploaded byelamaran_vlsi
- Manuscript template.docxUploaded byDarwin
- Manuscript template.docxUploaded byDarwin
- EE461_new_Lab_2Uploaded byelamaran_vlsi
- MatLab Tips and TricksUploaded byR@X
- DB TutorialUploaded byGlen Monette
- Abdulhay2018 Article Fault-TolerantMedicalImagingSyUploaded byelamaran_vlsi
- fpure_ch3Uploaded byitcvadq
- Blooms Taxonomy Action VerbsUploaded byelamaran_vlsi
- DSP and Its Applications SyllabusUploaded byelamaran_vlsi
- FirUploaded byvirat sharma
- FirUploaded byvirat sharma
- Homework 2Uploaded byelamaran_vlsi
- ME_5MR_7MR_9MR_TMRUploaded byelamaran_vlsi
- Scialert Journal CatalogUploaded byelamaran_vlsi
- TRY Voter CktUploaded byelamaran_vlsi
- MNEL Vlsi DesignUploaded byelamaran_vlsi
- 23253-23262Uploaded byelamaran_vlsi
- 600_may 31_last Data_Advanced Image TechnologiesUploaded byelamaran_vlsi
- 600_may 31_last Data_Advanced Image TechnologiesUploaded byelamaran_vlsi
- Information RedundancyUploaded byelamaran_vlsi
- Heizer10flex Ch17 PpUploaded byelamaran_vlsi
- VLSI Design b.techUploaded byelamaran_vlsi
- Cl ApplicationUploaded byelamaran_vlsi
- SyllabusUploaded byelamaran_vlsi

- The BigChaos Solution to the Netﬂix Grand PrizeUploaded byapi-25884893
- Bulk ModulusUploaded bySohrab Gheibi
- Kim DJ-Value Innovation Program for SamsungUploaded byMade Artha Yoga
- 47155666 Magic of the PrimesUploaded byGajanandBadiger
- Modeling Cracked Behavior of Shear Walls in ETABSUploaded byMoy Erga
- On Staying . BarsalouUploaded byAlejandra Vargas
- lec2Uploaded byKaushalSingh
- Tarrahi2015 - EOR ScreeningUploaded byKaty Flores Orihuela
- 1081ch2_14.pdfUploaded byCristopher Entena
- ch10Uploaded byC.P. Wong
- QC toolsUploaded byIzzuddin Khairuddin
- S. R Filonovich-The greatest speed (Science for everyone) -Mir Publishers (1986).pdfUploaded byMLalli5340
- fdpyUploaded byChris Tan
- 25 Factors Influencing the Students ChoiUploaded byLeslie Ann Daganio
- Strength of Materials Concepts.pdfUploaded byGerald Olvido
- B.Sc-IT I & II SemUploaded byapi-3705029
- STEC_RefGuide_V3.0Uploaded byJaime Fernández Wohlenberg
- resumen programacionUploaded byirving
- Assignment MpUploaded byraja
- Febmarch 2012 NSC Mathematics P1 Feb-March 2012 Memo Eng.pdfUploaded byBalkis
- gameUploaded byElmina Panjaitan
- Exercise Sheet 3Uploaded byaisyah
- Chapter13 AUploaded byNic Blando
- 276511981-Aplio-400-Operator-Manual.pdfUploaded byWaleed
- using game theory to allocate transmission costsUploaded byshotorbari
- The Secret World of Codes and Code Breaking : Nrich.maths.orgUploaded byDave Marrison
- Wassily Leontief LectureUploaded byapi-25959583
- chapter6fatiguefailureloading-140824082905-phpapp02Uploaded byLoo Tong Shian
- Deep learning machine appliesUploaded bySerag El-Deen
- dc score requirement chart 2017-18Uploaded byapi-305517815