How do I set up a 6534 buffer read to just return if the buffer is not full yet?

I would like my 6534 buffer read and data analysis to run asynchronosly with other data acquisition tasks. The problem is that it waits until the buffer is done before returning and everything else is stopped. I have tried several techniques to program a continuous buffer read and monitor the state of the buffer immediately so I can skip my data analysis unless the buffer is full but nothing works.
I have tried:
Setting number of scans to acquire to zero and monitoring the scan backlog.
Setting number of scans to acquire to zero and monitoring the acquisition state in mark locations.
Setting number of scans to acquire to the previous scan backlog. This method requires a second circula
r buffer that I must manage.
Of course, with all of these attempts, the DIO start was set to 0 number of scans to acquire to make it continuous.
Is there an example of this?

Although I haven't tried this for buffered digital channels, it works for analog input channels, so give it a shot.
When using analog channels, before you call the AI Start VI, you can wire a vi located in Data Acquisition -> Calibration & Configuration called DAQ Occurrence Config vi. This VI will set an occurrence (like an interrupt) when the buffer reaches a certain size, and then you can perform your read of the buffer accordingly.
The best way to see an example of this VI is to go to LabVIEW/examples/DAQ/anlogin/anlogin.llb/Cont Acq&Chart (Asynch Occurrence). The occurrence will allow the data acquisition thread to still be open, and allow the CPU to perform other tasks while waiting for the occurrence to be set. This sounds exactly like what
you want.
I just checked the examples/DAQ/digital directory, and there is an example with continuous digital input which uses the DAQ occurrence VI as well, so this should work for you.
Mark

Similar Messages

Maybe you are looking for

  • T006-Decan change after users have used the TO unit of measure

    Currently in our system for TO (tonnes) it has T006-Andec as 3 and T006-Decan as 0 and it issues the users a warning message "Order quantity violates rounding rule" if they type in decimals in the purchase order quantity.  We have been asked to chang

  • Applet not running in browser?

    Hi What is the reason why an applet will be running in appletviewer but not in a browser???

  • Problems with PI 7.11 and IBM MQ Adapter (7.0)

    Hi, We are using the IBM MQ 7.0 classes to implement JMS connectivity from WebSphere to PI 7.11. We are experiencing a number od issues: 1. Two of the IBM classes seem to consume a lot of memory: One instance of "com.ibm.mq.jmqi.remote.internal.syste

  • Selected Scanner Was Not Found

    I am running Windows 7 Pro 64 bit, and Acrobat 9 pro. I have a HP Scanjet 7650 on my desk, hooked up to my laptop via usb cable.  I have been scanning for over a year, no problem.  Today, when I got to work, I tried to scan something and it gives me

  • Changing Lighthammer Home in BLS (xMII 11.5)

    Hi, I incorrectly set "Lighthammer Home" from BLS>Transactions>System menu, to a server in which i don't have access. So now xMII is not allowing me to login to BLS Transaction editor(or CMS Logic Editor). How to reset "Lighthammer Home" to the previ