LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tektronix Oscilloscope TDS 3054B Driver Problem

This is most likly and issue with the triggering, I only use this for single acquisistions not continuous readings. All zeros could mean a communication error with the scope.
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 11 of 21
(2,904 Views)

Andrew,

I too am reading a single acquisition. The scope is set to single acquisition, is triggered throught the rear external trigger connector, the scope triggers and then displays the waveform. I immediately read three TDS3054 scopes. The funny thing is, that the problem is intermittent. Sometimes I get data, mostly I don't. Could it still be a communcations problem?

Del

0 Kudos
Message 12 of 21
(2,898 Views)
Don't understand your statement. You say you are doing a single acquisition but then you say you are reading 3 scopes. Are you doing 3 separate single acquisitions on 3 scopes, a single on one and then 3 on an additional 3, or something else? Could you post the program you have written?
0 Kudos
Message 13 of 21
(2,894 Views)

I have 3 scopes, all in single acquisition mode. After all scopes have triggered simultaneously from a single trigger unit I read all three. The data from all three scopes is saved as CSV comma delimited files and contain nothing but zero's. In addition, the Waveform Graph for each has a horizontal lines only.

Attached is the stacked sequence structure for reading the first scope (case 0) In it, I use the Fetch Waveform.VI example that I downloaded from NI, which in turn, calls the GetRawWaveform.VI. The GetRawWaveform.VI has been modified with the ASCII code that Andrew posted earlier for the FALSE case. The other two cases (1 and 2) are nearly identical to case 0.

I hope this helps clarify my problem.

Del

0 Kudos
Message 14 of 21
(2,885 Views)

Your code is not clear at all since you provided a link to an image on your c drive. That doesn't work unless your pc is a web server.Smiley Wink

Just click the Browse button next to the attachment field below the message body and attach the image to your post. Even better would be attaching the actual VI.

Message 15 of 21
(2,877 Views)
Sorry 'bout that. Attached is an image of 'case 0' along with the actual VI.
 
Del
Download All
0 Kudos
Message 16 of 21
(2,872 Views)
I get the message that the VI is not a valid LabVIEW file. In any case, looking back through this thread, since you modified the fetch function, that is the VI that could be causing your intermintent problems. That's assuming that the scopes have actually triggered. The modified VI would be nice to look at as well.
0 Kudos
Message 17 of 21
(2,856 Views)

I've tried attaching the main VI again, along with the Fetch and modified GetRawWaveform routines.

Del

0 Kudos
Message 18 of 21
(2,852 Views)
Well, I thought I might be able to run some of this but it turns out that the only similar scope we had is no longer here. What you might try to do is place a conditional probe on one of the waveform array outputs of the fetch waveform. At the same time, have some regular probes on the VISA Read in the GetRawWaveform function. When the VI pauses, verify that the scope is triggered and all of the waveforms are visible on the scope. If they are, take a look at the VISA Read string. See if there's data there and look at the format. You could even copy the data and see if it parses it correctly by feeding it as a constant into the for loop of the GetRawWaveform.
0 Kudos
Message 19 of 21
(2,843 Views)
Hi,

I am new to Labview, right now  I am trying to interface a TDS 3032 Oscilloscope with the Labview.  I found this tktds3k.zip file from the NI website and after removing all the errors, finally when I run it it is giving this error.
'Error-1073807339 occured at VISA write in tktds3k Initialize.vi -> tktds3k Wait For Aquisition Complete example.vi

Possible Reason(s):
VISA: (Hex  0xBFFF0015) Timeoout expired before operation completed.'

 I am connnecting the Oscilloscope using a COM port, I would be grateful if anyone can help me out with the problem.  It would be even nice if you can share an already existing code for this kind of oscilloscopes. Thanks
0 Kudos
Message 20 of 21
(2,826 Views)