04-17-2013 11:10 AM
Hello all,
I am a Mechanical Engineering student here at the University of Southern Maine, I will be graduating this May and need some help with the code for my capstone project. We locate the pulse thrown out by the transducer the pulse is captured by the TDS 3052C o-scope, then we execute the program, it successfully captures the signal, but it also resets the o-scope so that I have to relocate the location of the pulse. I need the code to stop resetting the oscilloscope but I have not figured it out yet... in the Initialize VI there is a switch that says Reset Device, but I have a Boolean false on it.
The code uses Labview 2011. Any help will be greatly appreciated!!
04-17-2013 11:35 AM - edited 04-17-2013 11:37 AM
Are you trying to capture another waveform or are you just trying to get the waveform you just got?
If you dig into the Initialize VI, if you are not resetting the device it reinitializes all of the settings.
04-18-2013 09:30 AM
We are trying to capture another waveform, but like I said the code rests the oscilloscope to a certain default setting. We are unsure if the error is in the actual code. I am just learning labview this semester for this project, so I apologize for my lack of understanding.
How does the initialize VI reinitialize the settings? How can I stop this from happening?
04-18-2013 10:33 AM - edited 04-18-2013 10:33 AM
There's a command inside the initialize VI to set default settings. Really, there's only one part of the initialize VI that you need, setting of the timeout (I'm assuming you are using GPIB here). So I would get rid of the initialize VI replace it with the Timeout property node.
04-20-2013 08:08 AM
I must have another bug, it still resets the oscope 😕 How do I know what to set my timeout value to? Is this something in the owener's manual?
Again thank you for all your help
04-22-2013 07:55 AM
@Aralayla wrote:
I must have another bug, it still resets the oscope 😕 How do I know what to set my timeout value to?
I just used what was in the Initialize VI.