LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Status.vi

Solved!
Go to solution

Hello,

I have some questions on operation of the 'IMAQ Status.vi'.  There is another similar question from back in 1994 but it was unanswered, and I am having the same problem.

What I am trying to do is run a sequence repeatedly, for a scanning application.  We intend to fill up to 100 buffers at full frame rate, and as they are acquired, start to process them sequentially.

Processing time takes much longer than Acq time (15 fps). 

My problem is that I was trying to monitor the buffer filling progress and the buffer processing progress separately.  I am branching the execution off to a while loop just before I call 'IMAQ Start'.  Within this while loop is a 'IMAQ Status' operator, intended to monitor the buffer fill progress.  This works the first time I run it, but every time after it it returns a '-1'.  Nowhere in the documentation have I seen a reference to this '-1' return.  I can't seem to clear it unless I literally reboot the RT system(!). 

 

I have included my code below.  Thanks in advance for any help you may give me. 

 

0 Kudos
Message 1 of 2
(2,955 Views)
Solution
Accepted by topic author JTech

Forget it.  I figured out the problem.

Poor programming 🙂

I needed to reset the Stop boolean, therefore the upper While loop would not run after the initial run.

Thanks

0 Kudos
Message 2 of 2
(2,927 Views)