|
Getting ready to use LabView for 2007
We just received the LabView gift package, and will be trying it out next week, thanks NI!
Last year on Team 1388, we instrumented our code by setting a digital output on the RC upon entering a section of code, and clearing the output upon exiting a section of code. We connected an oscilloscope to the output, and could measure exactly how long it took to exececute that block of code.
One problem we encountered was the 26 mS refresh rate produced a flashing and dim trace on the oscilloscope, and it was also jittery since the time through the code is not always the same during each pass through it.
I am hoping to use LabView to solve all of these problems. Using some of the digital inputs on the data acquisition module connected to digital outputs on the RC, I plan to create a multi-trace storage oscilloscope for viewing the timing signals, but more importantly, measure the actual pulse width each time, and track the minimum, maximum, and average times in a given part of the code. Another cool way to do this will be to display the pulse width sample data in a histogram display.
I will post more information in this thread as we work through this application.
Jim Greenhaw
Team 1388 Programming Mentor
|