First we connect the DAQ to the computer and run it on the program NI MyDAQ to verify the validity of the signal provided by the DAQ. This program serves as the test run before the actual measuring begin. After the data of the test run has been verified, we continued the exercise using the actual LabVIEW program.
We then connect the DAQ to the analog trainer's function generator output port, and in our case the port that we used was the ai2 port. Then we proceed to begin constructing the board simulation onto the block diagram, starting with DAQ Assist, While Line, the waveform graph, and then lastly the multiplier for the 3rd task.
The DAQ Assist was set to -10 to 10 V min and max reading, NRE terminal configuration, and continuous mode. The samples taken were 1kHz out of 1kHz.
First task: Triangle waves with 3Vp-p (3Vp-p = 1.5Vp)
Second task: Square waves with 1.5Vamp
Third task: Sinusoidal waves with 2.55Vrms (3.6Vp-p = 2.55Vrms) Vp-p / √2
The block diagram:
In conclusion the exercise showcased the function of each equipment given and familiarize the students with the step by step of using the LabVIEW.
No comments:
Post a Comment