02-10-2011 05:03 AM
Hi,
I'm trying to read waveform from TDS 3052 via AD007 GPIB-ENET converter. I'm setting VISA Open timeout to 50, Timeout to 2000, buffer size using VISA Set I/O Buffer Size to 48, TCP KeepAlive as true and all this tricks do not work. I can't read waveform from scope. I'm getting an error nr -1073807339.
It's strange that setting of parameteres works correctly (like setting type of acquisition or trigger level).
I tried setting bigger timeout and it didn't work. I suppose that the reason is to big size of read waveform.
I have no ideas what to do.
Thanks for your ideas,
Paweł Kowalski
02-13-2011 11:57 PM
-1073807339 == BFFF015 and means timeout error. The scope is not responding. Does the scope respond to an *IDN? query ? How do you setup the scope before querying the waveform data ? Is it triggered ?
02-26-2011 12:19 PM
Thanks for replying and sorry for responding so late.
Scope respond to an *IDN? query. There is a simple .vi with configuration in attachments which I use to read data from scope. Do you have any idea what may be wrong?
02-26-2011 03:11 PM
You mentioned setting type of acquisition and trigger level but none of that is in your code. Nor is there an initiate function to start an acquisition. You can't read what is not there. Have you run any of the examples that come with the driver?
02-26-2011 07:55 PM
Setting of type of acquisition and trigger level I had in another program. I modified .vi and added this functions. Initialization of scope doesn't help or I just do it wrong. I'm beginner.
There is waveform saved in REF1 channel.
In screenshot attached to post you can see bahavior of my .vi.
I will look at examples more carefully. Thanks.
02-26-2011 08:25 PM
I didn't say initialize - I said initiate.
I've been using that scope every day for the last couple of days without a problem though I'm not reading a reference. All the code is on my other pc though, and I can't look at the details of yours right now.
Yes, try the simple single channel acquisition.
03-03-2011 08:40 AM
Hi flukson,
Did You manage to solve this issue so far? Did You try to read just limited amount of data (i.e. one channel and just few samples)?
Best Regards,
Wojciech Sommer.
National Instruments
Applications Engineer
06-24-2011 05:24 AM
@wojciechsommer wrote:
Hi flukson,
Did You manage to solve this issue so far? Did You try to read just limited amount of data (i.e. one channel and just few samples)?
Best Regards,
Wojciech Sommer.
National Instruments
Applications Engineer
I think I have a related problem.
I am trying to control this same model (TDS 3052B) connected via an ethernet port. It pings but when I run the Initialize.vi I got the same timeout error. To solve this I tried reducing the number of bytes the VISA Read read during the ID query. Now it returns "f " which does not match what the VISA read vi tries to compare it to so ID query fails.
Do you know what I can do to solve this?
06-24-2011 09:15 AM
@notimperial wrote:
@wojciechsommer wrote:
Hi flukson,
Did You manage to solve this issue so far? Did You try to read just limited amount of data (i.e. one channel and just few samples)?
Best Regards,
Wojciech Sommer.
National Instruments
Applications Engineer
I think I have a related problem.
I am trying to control this same model (TDS 3052B) connected via an ethernet port. It pings but when I run the Initialize.vi I got the same timeout error. To solve this I tried reducing the number of bytes the VISA Read read during the ID query. Now it returns "f " which does not match what the VISA read vi tries to compare it to so ID query fails.
Do you know what I can do to solve this?
question moved to here: http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/How-to-control-Tektronix-TDS3052B/m-p/1612114