09-21-2010 10:05 AM
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.
09-21-2010 10:32 AM
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
09-21-2010 10:56 AM
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!
09-21-2010 11:14 AM
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
09-21-2010 11:30 AM
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
09-21-2010 11:54 AM
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
09-21-2010 12:50 PM
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
09-24-2010 07:48 AM
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
09-24-2010 07:59 AM
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
09-24-2010 08:04 AM
Sorry for posting it twice, the second one is more in order except the duplicated attachment
Regards