LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A wierd problem

Hi. When I'm using the LabVIEW, it kept telling me "VISA: (Hex
0xBFFF0015) Timeout expired before operation completed." That happens
when I use a subVI named "Configure Measurement" of Tektronix 520
osilliscope. The wierd thing is, it doesn't always popup. If I set
everything back to default, it will work once. But even if i pre-set
default, the error still comes up. So i have to wait till it reports
error then set default and run again. This is annoying.

btw, I asked a couple of days ago about why my VI read waveform so
slowly. Could anyone help me about that? I use standard 1kHz square
wave source in Channel 1. But the waveform in VI read only once every
second. There must be some configuration problem but I just could not
find it.

thanks!!!

redoo
0 Kudos
Message 1 of 2
(2,585 Views)
Try setting the timeout of the VISA commands high just to see if the instrument is configuring slow. If it still times out, the problem probably has more to do with what your instrument is expecting. If the instrument is waiting for a certain character normally supplied by the default case, the instrument will wait and the VISA function will time out. It could even be the order of the commands and not a certain character. The best place to look for help for your instrument is the instrument's manual.

Try opening one of the LabVIEW DAQ shipping examples to find VIs for reading data. Look for one called continious acquisition and chart (buffered). It is fast. By using the example, you can isolate whether the problem is with the code or the hardware.


Jeremy Braden
National Instruments
0 Kudos
Message 2 of 2
(2,585 Views)