08-22-2015 08:21 PM - edited 08-22-2015 08:23 PM
I am very new to labview. I have been attempting to set up labview to use a tektronix 2024c oscilloscope.
Basically I'm using a slightly modified version of the triggered acquisition vi example. Right now I have set the scope up to trigger when it sees a 5 volt external pulse. This same pulse triggers a thyratron trigger, whose output I read on the scope.
The program runs perfectly on the scope. I see the data along with every parameter I set on labview. On the computer, the program fails at the read single waveform vi. This command always times out with an error saying it never received a trigger. So no data is ever sent to the waveform graph on the front panel. However, if I open up the read waveform vi I see the graph I'm looking for.
What am I missing? Why is this vi never seeing the external trigger?
08-23-2015 02:06 AM
It's rather difficult to troubleshoot code we can't see.
It sounds like you open a subVI and see the data you desire. Something is preventing it from reaching the top. We'd want to see what you're doing to find out where you ran into problems.
08-24-2015 03:55 PM - edited 08-24-2015 03:56 PM
Here is a pic. As I mentioned before, it's basically an example from the help menu with some slight changes.
I run the trigger mode in both ways and it changes little. It seems the program works up to the "continue continuous configuration" VI. I turn off continuous acquisition. However the scope itself is still acquiring after pulsed. Once or twice I've seen the waveform I'm looking for when I open up the read single waveform VI. I've never seen it on the main front panel of the program.
I get the errors
"Tektronix TDS 200 1000 2000 Series.lvlib:Wait for Trigger.vi<ERR>
Timeout before Trigger Occured"
with the code "1073999875"
I've googled the error number and I get nothing.