Wednesday 14 February 2018

Labview Exercise

This post is basically about our first exercise using Labview software during laboratory class on last tuesday. The task is to generate output from analogue trainer to simulate the output display in the Labview. There are 3 wave which are:
i) Triangle with 3Vp-p
ii) Square with 1.5Vamp
     iii)Sinusoidal with 2.5Vrms 


First of all, DAQ USB 6210 been connected with laptop because this is as interpreter between function generator and Labview software.Then input channel Al1 been connected at output of function generator and connect ground at DAQ with ground at function generator.

For the first task, the output of function generator is displaying at the DAQ Assistant. The triangle wave had been choose as the type of waveform. Adjust the amplitude until it get 3Vp-p which is the upper peak is 1.5V and the lower peak at -1.5Vp which the distance between upper peak to lower peak is 3V.

Then, click OK and it will display the block diagram window, then click beside of "data" in the DAQ Assistant and choose create then choose graph indicator. It will show a oscilloscope icon, then connect it with DAQ Assistant.


Click at the oscilloscope icon and it will appear oscilloscope display at Front Panel window. Then, click "Run" which is symbol of black arrow → and the output signal will appear.


For the second task, square wave been set on the function generator and repeat all the same steps for task 1.



To get the the waveform only in positive value because the task mentioned 1.5Vamp. So change the starting value reading of voltage to 0 as it should be in positive only.

Last but not least, for task 3 required sinusoidal waveform so set it as sin wave at the function generator. Click t the DAQ Assistant to see the output display and need to calculate Vrms using formula Vrms= Vp √2 and it needs 3.6Vpeak to get 2.55Vrms.


So that's all for Labview Exercise 1 and until we meet again🙂.



No comments:

Post a Comment