Lab 1

Exercise 1: Data Types in LabView

Untitled

Untitled

Untitled

Task - Input your surname on “input string” field and retrieve the integer representation of its first three characters within a single execution of the program. Copy (take a screenshot)the block diagram and the front panel of your code, and include them in your logbook.

Untitled

Untitled

Exercise 2: Implementation of the Central Limit Theorem

Task 1 - Include the block diagram and the front panel in your log book

Untitled

Front panel

Untitled

Block Diagram

Task 2 - Create a control for stopping the execution of the program after 1000 iterations. Set the value of “number of bins” to 10. Include the corresponding histogram in your logbook.

Untitled

Implementing this was pretty straight forward, just add a greater than equal to comparison sign that compares the no. of iterations to 1000. When greater than 1000, automatically stops, as shown below.

Untitled

Task 3 - Revise your code such that the final distribution you observe in the histograms a standard Normal distribution (i.e., it has zero mean and unit variance). Include the revised block diagram in your logbook, and explain each of the changes you have made.