Hamming code labview
• Complete the following 2 questions. Please insert your answers after each question in this worksheet, using Labview screenshots where required.
• Submit the following required files using the link
i. This completed worksheet
ii. All required LabView vi files (Saved as previous version 8.6)
• The deadline is 7 pm sunday 30nd April. You may submit anytime up to the deadline, late submissions will not be accepted and result in 0% grade.
A simple Hamming encoder implemented in LabView (Front Panel and Block Diagram) is shown in Figure 1. It encodes 4 data bits with 3 even parity check bits. The Hamming code is then converted to a string equivalent and formatted for transmission using the User Datagram Protocol (UDP).
Figure 1: Labview Hamming Encoder
Question 1 (50 marks):
Build a Labview virtual instrument (vi) that can receive and decode the UDP transmission from the encoder shown in Figure 1. The UDP connection must be through localhost port 61555. The decoder vi should display the following (use Figure 2 as a guide):
– The received string
– The seven individual binary bits extracted from the string
– The seven bits converted to Booleans
Figure 2: Hamming decoder typical layout
a) Provide a screenshot of your Hamming encoder.
b) Provide a screenshot of your Hamming decoder front panel.
c) Provide a screenshot of your Hamming decoder block diagram and explain its operation.
d) Describe the test methodology you used to verify that all data words are received correctly.
Question 2 (50 marks):
Modify the decoder from question 2 to include the ability to detect a single bit error. This will require the ability to manually introduce an error into each of the seven bit positions. The decoder should then indicate the location of the error using a check register.
a) Provide a front panel screenshot of the modified decoder.
b) Provide a screenshot of the modified decoder block diagram and explain its operation.
c) Describe the test methodology you used to verify that the modified decoder operates correctly.
The following parameters will be used to test Labview files, please ensure to:
• Save both LabView files for previous version 8.6 and upload to moodle.
• Use localhost as the server ip address and use 61555 as the server port number.
If your files cannot be tested, you will lose marks.
The post Complete the following 2 questions. Please insert your answers after each question in this worksheet, using Labview screenshots where required. appeared first on Brainy Term Papers.