Thursday, 8 May 2014

Week 2 : Data Acquisition of Tektronix Oscilloscope

We have to acquire various data such as waveforms, peak-to-peak values and frequency from Tektronix TDS2012C oscilloscope.




 We'd configured the Resource Descriptor from USB0 to Dev2 so that it is able to communicate with desktop.



 When the desktop has successfully communicate with the oscilloscope, LabView SignalExpress software will run automatically.



The waveform is able to display on desktop. However we need to display it using LabView software instead of using SignalExpress.




This is the front panel of LabView software. The function of this program is to acquire waveform from the oscilloscope. In order to communicate with the oscilloscope, select USB0 from the VISA resource name.


 Click the "Run" button in the menu bar and the waveform will be displayed in the LabView software.



This is the VI Tree for the oscilloscope, these VIs are used to control the oscilloscope such as acquire data and configure the setting. They are very essential for programming.



We'd programmed it in such a way that it can acquire 2 waveforms and data simultaneously.



This is the block diagram of our program.





When the program is being executed, 2 waveforms with their respective data will be displayed. Note that all the readings shown is exactly the same as oscilloscope.





At the same time, the block diagram will indicate the flow of data and the reading acquired when we click on the "Highlight Execution".



 In order to execute the program without LabView software, we have to create a standalone file. To create it, go to tools >>>> Build Application (EXE) from VI.



After giving a name for that file, click BUILD.




Click the Application to run the program without using LabView software.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.