LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tektronix tds3000- acquisition fail

Hi All,

 

I am trying to connect tds3032 oscilloscope to fetch data and measure some parameters. But, the connection is not helping at first place. It seems, installed labview in my computer is able to read the GPIB address, but it is not able to run any vi. I was only trying to run the example VIs come with the driver. Please find below the snapshot of the error I am getting. 

N.B: I have tried with 2 GPIB as well as in two computer. The program is itself not written by me, but the example vi that is included in the driver. I am assuming, the problem is with the oscilloscope only. Please let me know your if you have encountered the same problem and your advise and suggestion on it,  ASAP, as I am working on this.

 

Thanks,

Akhtar

 

tds_erromessage_1.png

 

When I click on continue, it is showing some undefined error code.

 

tds_errormessage_2.png

0 Kudos
Message 1 of 31
(4,967 Views)
That's an error coming from the scope itself. Check the manual for the error description to see off there are any details. Check with Tek as well. You could narrow down the source of the error by seeing which function actually causes the error.
0 Kudos
Message 2 of 31
(4,953 Views)

errorquery.vi is causing the error. I have run each and every individual subVI within that VI, and each of them is running normally. But I am getting the error, when I am trying to display the graph, and when I am trying to run the errorquery.vi subVi, it is returing

241: Hardware missing

0:no events to report- queue empty.

0 Kudos
Message 3 of 31
(4,915 Views)

@araaz wrote:

errorquery.vi is causing the error. I have run each and every individual subVI within that VI, and each of them is running normally. But I am getting the error, when I am trying to display the graph, and when I am trying to run the errorquery.vi subVi, it is returing

241: Hardware missing

0:no events to report- queue empty.


You don't understand the words Hardware missing ?

Apparently you are trying to make a measurement with a HARDWARE option that your scope does NOT have.

 

 

 

0 Kudos
Message 4 of 31
(4,912 Views)

But I have connected the oscilloscope to my computer, the driver for that scope is installed and the program also reads the GPIB address successfully, so I am not understanding what hardware I am missing. Sorry, but I am very new in the field of labview. So I am not understanding what is it implying with the message "hardware missing"

0 Kudos
Message 5 of 31
(4,909 Views)

blindly using drivers

now you'll actually have to understand how to use the instrument

http://www1.tek.com/forum/viewtopic.php?f=5&t=386

0 Kudos
Message 6 of 31
(4,902 Views)
You simply don't understand. The error query checks the scope with an ERR? query and if the scope says it had an error, it creates a LabVIEW error and reports what the scope says. One of the functions causes the error and you need to find out which one. Perhaps there is s missing option that you did not purchase. Perhaps a vertical or horizontal setting its not present on your model of scope. The point being that you need to understand the scope and isolate where the problem occurs. Each function in the example can be run by itself and after each function, you can call the error query function.
0 Kudos
Message 7 of 31
(4,893 Views)
The Example VI that he is using seems simple enough, just a channel query & data from the scope. Not sure why it would say hardware missing. He is not taking a FFT or anything special from his screen shots. I suggest to turn on execution highlighting and see exactly where it fails. cheers, mcduff
0 Kudos
Message 8 of 31
(4,885 Views)

@mcduff wrote:
The Example VI that he is using seems simple enough, just a channel query & data from the scope. Not sure why it would say hardware missing. He is not taking a FFT or anything special from his screen shots. I suggest to turn on execution highlighting and see exactly where it fails. cheers, mcduff

How can you tell anything with a front panel that it is "simple enough"?

The Block Diagram is what counts.

0 Kudos
Message 9 of 31
(4,881 Views)
It is simple and if I had to guess the missing hardware would be the specific timebase setting. It's a driver for all models in the series. The point being though that no one should have to guess. Running the error query after each function call is necessary if each function call does not call the query itself.
0 Kudos
Message 10 of 31
(4,880 Views)