キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

TDS2014 LabVIEW 2016 Commands

解決済み
解決策を見る

Getting a 113 error while trying to read the FFT from a Tektronix TDS2014B. The VI I'm using comes from the LabVIEW 2016 Drivers page linked below. The answers I've been able to find say that the commands being sent to the scope are wrong, however, I have not changed anything in the VIs. The scope responds to most of the VI, autosets and then it goes back to viewing it as a waveform on the scope while giving me an error in LabVIEW. Can someone tell me what the right commands might be so that I can compare them to those given in the VI?  

0 件の賞賛
メッセージ1/12
6,403件の閲覧回数

Can you show us the commands you're using, possibly by uploading your VI?

 

p.s. It looks like your 'linked below' link is missing. It's unlikely to be an issue, but you should go ahead and provide it if you want.


GCentral
0 件の賞賛
メッセージ2/12
6,370件の閲覧回数
解決策
受理者 PFour

TDS2000 Series Programming Manual



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 件の賞賛
メッセージ3/12
6,354件の閲覧回数

Thanks for the programming manual. I thought it resolved the issue but unfortunately plugging the pdf into my VI didn't work (kidding). But the problem is that the command I'm giving it is "FFT:SOURCE CH1" which it says is not an identified command. This is consistent with the programming manual, however I can't seem to find any solutions to it. I'm using the VI called "Tektronix TDS 200 1000 2000 Series Acquire FFT Waveform.vi" from the following link. I apologize for claiming this was resolved when it was not.

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=047216EC20B66FABE0440003BA7CCD...

0 件の賞賛
メッセージ4/12
6,331件の閲覧回数

I think you should be able to use

 

MATH:DEFINE "FFT (CH1)";
.. Make acquisition ..
// Set the source of data to the MATH channel
DATa:SOUrce MATH
// Get the waveform data (from SOUrce)
CURVe?

GCentral
0 件の賞賛
メッセージ5/12
6,322件の閲覧回数

Ok this looks like what the LabVIEW VI is doing, except I'm not sure if it was ever specifically "DEFINEd" anywhere. Were you able to look at the drivers and see the VI?

0 件の賞賛
メッセージ6/12
6,303件の閲覧回数

This is the command that is giving the error:

FFT:SOURCE CH1;:FFT:WIN HANNING;:SELECT:FFT ON;

There error says that FFT: is not defined. The following command is sent in a VI immediately after 

:DATA:SOURCE MATH;:DAT:ENC RPB;WID 2; :WFMPRE:XZE?;XIN?;YZE?;YMU?;YOFF?;

 

 

0 件の賞賛
メッセージ7/12
6,296件の閲覧回数

The driver I have, which I think covers your instrument, has this block diagram (or at least, this is the left half of the block diagram, showing strings) for the Configure Math (FFT) VI.

 

fft.png

 

I guess it's a different driver? I got mine from the Find Instrument Drivers dialog, under Tektronix


GCentral
0 件の賞賛
メッセージ8/12
6,280件の閲覧回数

That would seem like a different driver. This is from the "Plug and Play" link when downloading the TDS2014B driver on the Tektronix 2014B Driver Page. The name of the VI is "Tektronix TDS 200 1000 2000 Series.lvlib:Configure FFT.vi"

0 件の賞賛
メッセージ9/12
6,259件の閲覧回数

Yes - definitely a different driver, but presumably the right one. Does prefixing the FFT command with 'MATH:' work? I'm not clear on if you'd need to put it in each statement or just the first - you can skip repeated header sections if subsequent commands are from the same header, so maybe a combined string like

 

MATH:FFT:SOURCE CH<n>; WINDOW HANNING; :SELECT:FFT ON;

would work. However, I'm a little doubtful, since I also don't see anything in the programming manual to suggest that would be valid. Looking at the examples under MATH:DEFINE, I'd guess this would be a better bet...

MATH:DEFINE "FFT (CH<n>, HANning)"; :SELECT:MATH ON;

GCentral
0 件の賞賛
メッセージ10/12
6,242件の閲覧回数