LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to get waveform information out of my Tektronix TDS3034B scope. My implementation of serial polling of the status b yte register isn't working - any ideas???

My .VI is attached.  Any, and all, suggestions would be greatly appreciated.  My vi configures the oscilloscope, setting it for a single sequence (sample) waveform capture, then my attempt was to poll the status register until the 4th bit was set.  The problem is that it never gets set.  I know this because I put an indicator to light when it was true.  Is there something that needs to be sent to the scope to cause it to enable the status register 4th bit when a waveform has been captured? 
0 Kudos
Message 1 of 2
(2,526 Views)
Jryan,

Arrays in LabVIEW are "zero indexed" meaning that the first element in an array has an index of zero.  If you are sure your instrument should be setting the 4th bit in the status register, then you will want index 3.  You could also use NI-Spy for a better look at what's happening on the GPIB bus.
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,507 Views)