08-08-2014 01:08 PM
It was not my VI. I have already written it is the one, came with the driver as an example. No matter what VI I am using, which computer I am using, it is giving that error only. So afterwards, I just include initialize.vi, errorquery.vi, errormessage.vi and close.vi...to simply check where the problem is. And it shows again the same problem. we need to use initialize.vi each and everyttime right? In that case, it will for sure give the same error no matter what subVI or VI I am using,
08-08-2014 01:41 PM
08-08-2014 05:32 PM
You got the answer in a previous discussion thread,
As the poster said, just remove the Error Query part.
I quote
One of our customers has solved the issue just by removing the error query part. Try to check this out and see if it works.
I highly suggest you take som eintorductory classes online.
Cheers,
Andrew
08-08-2014 08:56 PM
mcduff wrote:
As the poster said, just remove the Error Query part.
That's not an answer. It is just covering up the error. You need to figure out what command is causing the error and fix that.
08-08-2014 11:56 PM
I'm going to try to find one of the scopes here to test it out.
But if the error query returns an cryptic answer from the initialize function, which has standard commands like *IDN? and *RST, etc, then there might be something wrong with the firmware in the scope related to that query. A google search indicates that this problem is not new and, and members that have commented here have also commented on the same problem in the past,
see
http://www1.tek.com/forum/viewtopic.php?f=5&t=386
I am not as knowledgeable as some on this post, but if skipping the query works then I say go for it. Do you really need to check the error log from the scope after *IDN?
Cheers,
mcduff
08-09-2014 12:19 AM
08-11-2014 03:09 PM
I have removed the initialize.vi completely, and the VI is not giving any hardware missing query anymore. Thus, for certain, the problem is only with initialize.vi. But, I am not able to fetch the waveform I want, it is giving a straight line only, so I think there are some essential queries in initialize.vi. Can you please provide me, what queries in initialize.vi are mandatory for Tektronix TDS3000 series?
08-11-2014 03:18 PM
08-11-2014 03:41 PM
Inside the initialize.vi is id query, reset query, serial/GPIB setup query and "close if error" block. I am asking if any of them is mandatory, because after deleting the initialize.vi, I am not getting the error, but I am not able to fetch the signal too, it is giving some straight line.
08-11-2014 03:59 PM