Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

tektronix TDS 3054 communication

Do you know where the error query function is being called? Are you using the defaults on the front panel of the example or have you changed anything like the number of samples? The error can happen when the instrument still has data in it's buffer, waiting to be read, when a new query is received.

 

It would still be nice to know the error code when you run the original IVI code in the example I modified for you.

0 Kudos
Message 31 of 41
(2,772 Views)

I am not pretty sure but the error is in intialize vi,

 I am using the default values of the front panel.

Regrading IVI code that u modified, no error code but when i connected it with A-scan configuration and run, it says two terminals of different type 

0 Kudos
Message 32 of 41
(2,770 Views)

With the example, try wiring a False constant to the Reset and/or ID Query inputs.

 

Regarding my example, I have no idea what kind of modification you did. There is no problem when I do it. Again, you did not provide enough information. If you modify a VI and it has problems, ATTACH IT!

0 Kudos
Message 33 of 41
(2,764 Views)

I did wire false constant to the Reset and/or ID Query inputs, still the same error

 

Regarding ur example; I will go back to it and give u detailed feed back

0 Kudos
Message 34 of 41
(2,761 Views)

I did no change to ur IVI example, I wired its data out with A-scan configuration data in

in the attachment; see A-scan confuguration then run USonic_A_Scan example to see the error

0 Kudos
Message 35 of 41
(2,759 Views)

No, no, no, no!

 

You modified the A-Scan config for absolutely no reason. I gave you a replacement for USonic_A_Scan_Data (test).vi. That is where the simulated data was and where you needed to replace that with actual scope data. Restore the config VI back to the way it was. In the USonic_A_Scan.vi, simply replace USonic_A_Scan_Data (test).vi with USonic_A_Scan_Data (scope).vi

0 Kudos
Message 36 of 41
(2,755 Views)

OK...it gives no error

But I am not getting data on the graph, it looks I have driver issues, will investigate and let u know

Thank u

0 Kudos
Message 37 of 41
(2,751 Views)

Hi Sorry for taking too long, my internet connection was down I am still at the same point;

1/ For NI instrument Tektronix TDS 3000 series, the examples Tektronix TDS 3000 Series Auto Setup Waveform Acquire and Tektronix TDS 3000 Series Single Channel Waveform Acquire give the following error: Error-1074001665 occurred at TKTDS3K Error query Instrument reports the following: 410: Query INTERRUPTED ..Possible reasons: Instrument specific error occurred

2/ For IVI tkds30xx, when running the example IviScope - Acq Wfm Edge Triggered the following message shows up: 0: No events to report – queue empty Error -1073807339 occurred at IviScope IVI Error Converter.vi ..Possible reason(s): Primary Error: (Hex 0xBFFA2003) Maximum time exceeded before the operation completed. Complete call chain: IviScope IVI Error Converter.vi IviScope Read Waveform.vi IviScope - Acq Wfm Edge Triggered.vi 3/ When I run the example (attached) which u were modified to me it gives no error but shows no data on the graph, when I hit the IVI scope acquire vi to configure, I can get a signal displayed although it is not the same shape of my acquired signal but at least it is there.

4/ Both instruments should be working properly because when I use labview signal express 2009 to acquire data; both of them give perfect signal same as the one on my oscilloscope

Your recommendation please

0 Kudos
Message 38 of 41
(2,675 Views)

Hi Sorry for taking too long, my internet connection was down I am still at the same point;

1/ For NI instrument Tektronix TDS 3000 series, the examples Tektronix TDS 3000 Series Auto Setup Waveform Acquire and Tektronix TDS 3000 Series Single Channel Waveform Acquire give the following error: Error-1074001665 occurred at TKTDS3K Error query Instrument reports the following: 410: Query INTERRUPTED  

0: No events to report – queue empty ..

Possible reasons: Instrument specific error occurred

2/ For IVI tkds30xx, when running the example IviScope - Acq Wfm Edge Triggered the following message shows up: Error -1073807339 occurred at IviScope IVI Error Converter.vi ..Possible reason(s): Primary Error: (Hex 0xBFFA2003) Maximum time exceeded before the operation completed. Complete call chain: IviScope IVI Error Converter.vi IviScope Read Waveform.vi IviScope - Acq Wfm Edge Triggered.vi 3/ When I run the example (attached) which u were modified to me it gives no error but shows no data on the graph, when I hit the IVI scope acquire vi to configure, I can get a signal displayed although it is not the same shape of my acquired signal but at least it is there.

4/ Both instruments should be working properly because when I use labview signal express 2009 to acquire data; both of them give perfect signal same as the one on my oscilloscope

Your recommendation please

Download All
0 Kudos
Message 39 of 41
(2,672 Views)

Sorry for posting it twice, the second one is more in order except the duplicated attachment

Regards

0 Kudos
Message 40 of 41
(2,671 Views)