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
-
how do you set up a iphone 5 everytime i conect it to the computer it erases all my contacts how do i put them back on my phone and stop the computer erasing them again?
Are your contacts not on your computer?
-
how do i set-up mainstage 2 so my sequencer (Boss JS5) plays the instrument patches in Mainstage2?
Hi
Once you have setup a MIDI Activity object (or keyboard objects) in Layout, create the required number of Instrument channels in Edit Mode.
Select each channel in turn, and choose "Keyboard": Multi-Timbral in the Channel Strip Inspector. In the pop-up choose the required MIDI channel.
HTH
CCT -
How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic?
Is this possible?You can set any song to Skip when shuffling.
In your iTunes Library, highlight the song and right-click/Get Info. On the Options tab is the Skip when shuffling box. Select that and then Sync the iPod with your Library. -
How do I set up a mail group on mac mail? All the advise on line seems to refer to 'address book' and I only have 'contacts'. The guidance does not work when using 'contacts' - can anyone help me?
Create a group and send mail
http://www.dummies.com/how-to/content/how-to-create-a-basic-contact-group-in-mac -os-x-li.html
http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
Best. -
Hi, I'm trying to set up my Time Machine, but I get this message: The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again. how to resolve?
Did you reboot the TC? That is always the first step.
Reboot the whole network if that is not enough.
If you still have issues.. come back to us but generally the best way is to factory reset the TC and start over.
We need a bit more info on the whole network layout and what OS you are running. What model TC you have?? -
How do I finalize the set up of my Adobe Reader? My bank tells me it is not done.
How do I finalize the set up of my Adobe Reader? My bank tells me it is not done.
Can we assume you have installed it?
What exactly are you trying to do and what happens when you try to do it? What exactly did the bank tell you? -
How can I set up email on iphone 5 to leave emails on the server if I delete them from iphone?
How can I set up email on iphone 5 to leave emails on the server if I delete them from iphone?
Hi RK GARG,
Welcome to the Support Communities!
The article below will explain how to access the Advanced settings in your email account.
Click on the link to see screen shots.
To answer your question ... change the Deleted Messages - Remove field to Never
Using a POP account with multiple devices
http://support.apple.com/kb/HT3228
In Settings, select Mail, Contacts, Calendars.
Select the account for which you wish to change the settings.
Select Advanced, located at the bottom of the list.
Cheers,
- Judy -
Using iTunes on WindowsXP; Payment method "None" is not an option; how do I set up an account without a credit card associated? My daughter is not getting an iTunes account with a credit card associated!
Hello Lozza63
Check out the article below to see what could be blocking you from selecting None as a form of payment.
Why can’t I select None when I edit my payment information?
http://support.apple.com/kb/ts5366
Regards,
-Norm G -
my ipod touch died in the middle of a upgrade and now it wont come back on. When I charge it, it just goes to the apple but not the home screen. how do i fix it
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
My ipod touch is being read as just a simple camera and will not let me access it, how does one go about fixing this problem? My screen has recently cracked and i need to retrieve my music from it but cant do so when my computer is reading it as a camera and only showing me its pictures.
Here:
iOS: Device not recognized in iTunes for Windows
or
iOS: Device not recognized in iTunes for Mac OS X
Also try another computer. -
How to know whether my Windows Phone 8.1 App is Associated with the store or not?
How to know whether my Windows Phone 8.1 App is Associated with the store or not?
I have an Windows Phone 8 app already in the store , Now i upgraded it to 8.1 it got upgraded to Windows Phone Silverlight 8.1.
Now iam trying to use Single Sign on feature on this app but it is showing the error message like
the App is not Configured correctly i followed the process from Signing users in to OneDrive
please guide me how to do this?
Mohan Rajesh KomatlapalliYou should post to publish forum.
-
How do yo turn a pdf file into reader so i can edit the form?
how do yo turn a pdf file into reader so i can edit the form?
I have no idea what you are trying to say; your are trying to open a PDF with Reader?
-
I have MAC OS X 10.6.8 (up-to-date). How can I get screen mirroring to my Apple TV to work? The icon does not appear at top status bar..
Welcome to the Apple Support Communities
See > http://support.apple.com/kb/HT5404 AirPlay Mirroring is compatible with Mid 2011 and newer MacBooks Air, and OS X Mountain Lion.
As you have Mac OS X Snow Leopard, you haven't got a compatible MacBook Air, so you can't use AirPlay Mirroring. However, you can use a third-party app as AirParrot to mirror the MacBook onto your Apple TV > http://www.airparrot.com -
how can i install AppRadio application...i am in Tunisia and the application is not found in the Tunisian AppStore...it's essensual for piloting my Pioneer SPH-D01 AppRadio....please how can i get this application ...thanks
If it's not available in the store in which you have your account, you're pretty much out of luck. In order to purchase from the U.S. iTunes Store you need a)a valid billing address in the U.S., b) a credit/debit card billed to that address or an iTunes prepaid card purchased in the U.S. and c) to be physically located in the U.S. at the time of purchase.
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