04-28-2015 03:49 PM
I am having a problem with changing the settings on my tds 2024b while I am acquiring my signal. When I put the settings in the while loop to change them while I am aquiring my signal it does not aquire the whole signal only a really tiny piece. I need to be able to operate the labview code like I am operating the oscilliscope but only on the computer. Someone pls help
04-28-2015 05:26 PM
04-28-2015 06:09 PM
You need to allow the oscilloscope time in order for it to capture the signal. Therefore, you should probably add a wait after setting it to run mode to allow for the trigger and the waveform to be fully captured before asking for the waveform.
04-29-2015 08:24 AM
I tried the wait vi for the program but for some reason it didn't work, I put it inside the while loop
04-29-2015 08:31 AM
04-29-2015 08:52 AM
I can't see your code because I don't have the latest LabVIEW, but from the quetion and responses, I gather you are using the Tektronix flavor of SCPI. I believe Tektronix supports the *OPC? query so you can use that instead of a hardocoded wait.
04-29-2015 09:00 AM
just the wait until next multiple, that way if I get to end of the scope processing time it will work for the next multiple so I can aquire all the signal in any given time frame. I was thinking of putting a timed loop of sorts for my changes with the oscilliscope
04-29-2015 09:06 AM
04-29-2015 11:19 AM
the configure channel vi comes before the actual signal, how would I give the signal enough time to aquire then be able to change the settings afterwards?
04-29-2015 11:38 AM