Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VISA Status code : bfff0015

162 views
Skip to first unread message

fmethot

unread,
Feb 3, 2008, 3:40:04 PM2/3/08
to
Hi, I am new in this field.  I read the book Labview foe everyone and I am starting to learn how to control my lab equipment.  After viewing this video from NI:
 
<a title="blocked::http://www.ni.com/swf/presentation/us/labview/aap/default.htm href= http://www.ni.com/swf/presentation/us/labview/aap/default.htm" target="_blank">http://www.ni.com/swf/presentation/us/labview/aap/default.htm</a>&nbsp; I tried to do the same thing.&nbsp; I downloaded the driver for a TDS754A and then I started LabVIEW 8.2.&nbsp; I opened Instrument I/O assistant and I was able to see the scope at the address #1.&nbsp; The scope respond to *IDN? command and I got the manufacturer name and model. &nbsp; According to the video, I tried to send the command CURVE?...I had a Timeout expired before operation completed...and the detail is:
&nbsp;
Timeout expired before operation completed.&nbsp;&nbsp; VISA Status code : bfff0015.&nbsp; My scope was set for 2500 points for 10 div.&nbsp; The timeout was tested from 3000&nbsp;to 10,000 ms.
&nbsp;
What could be the problem?
&nbsp;
Thank you for your time

Dennis Knutson

unread,
Feb 3, 2008, 5:10:05 PM2/3/08
to
It's not enough to just send the CURVE? query. You have to configure and then send a command to the scope to initiate an acquisition.
The scope manual probably has a section describing the sequence of commands that you have to send to acquire a waveform but since you downloaded the driver, I would recomend that you use that instead of the Instrument I/O Assistant. Use the Assistant when there is no driver available. The driver has a 'Getting Started' example VI. The only problem that you might have with the driver is that the Initialize function has 'Old VISA Open'. This should be replaced with the VISA Open function on the VISA palette. Here's a modified version in LabVIEW 8. With the Getting Started VI, I would also recomend you replace the string control for the VISA reference with an actual VISA Resource Name control.


TKTDS 7XX Initialize.vi:
http://forums.ni.com/attachments/ni/170/299344/1/TKTDS 7XX Initialize.vi

0 new messages