MHDDK with Visa: event when DMA transfer complete?

We are using devices like PXIe-6363, PCIe-6321 depending on requirements and these are dealt with using the MHDDK with Visa backend on Windows (I hope that is the correct terminology).
All I/O, both analog and digital simultaneously, is done using DMA transfers using the standard MHDDK classes for doing so. This all works without problems.
One last improvement is I'd like to be notified using a callback/event system when a new block of data is ready: currently I'm just polling the input DMA's available number of bytes in a continuous loop with no sleep() in order to be able to process data as soon as it's ready. Works, but keeps one cpu busy the whole time.
I didn't see any way to use callbacks using the MHDDK which makes sense since it's purely based on register I/O if I understand it correctly.
However I noticed Visa has viInstallHandler, viEnableEvent and the likes. I went through some documentation on the event types but admit this is over my head and I have no idea where to start.
Could anyone point me in the right direction?
First question is if what I'm asking for is possible? Second I think I just have to call viInstallHandler for the correct event type, then figure out if the event is for an input DMA transfer from PXI? Using viGetAttribute somehow?
Thanks in advance!

You'll have better luck posting to the ddk board - http://forums.ni.com/t5/Driver-Development-Kit-DDK/bd-p/90

Similar Messages

  • Events when a concurrent complete

    Hi,
    Is there an event when a concurrent complete the execution?
    If not is there some way rather than polling the fnd_concurrent_requests table?
    Thanks
    Mike

    Hi,
    I believe there is no event fired. However, this can be achieved by following the steps in the following documents.
    Note: 396756.1 - How to send a Concurrent Program Error Exception Report as a notification to users using Alerts
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=396756.1
    Note: 164085.1 - Enhancing Oracle Applications Concurrent Processing
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=164085.1
    Regards,
    Hussein

  • Why doesn't my artwork go with the songs when I transfer them?

    If I make a playlist from songs on my PC and these all have artwork then transfere said playlist to my phone the artwork doesn't follow.
    Is there any good reason for this?
    Thanks
    Edward.

    *Why is artwork not showing on my iPod when it's there in iTunes?*
    iTunes will display a cover in many of it's views provided at least one track from the album has embedded artwork. The iPod appears to load only the artwork from track one to create the cover flow and album views which means that it can sometimes fail to display art for albums even when you can see the art in iTunes. Further, when tracks are played on the iPod, artwork is displayed if and only if it exists in the currently playing track, so track one may show art while track two does not.
    *How to find tracks without artwork*
    To find all the tracks without artwork so that you can update them you can try http://www.stum.de/itunes-find-tracks-without-artwork/ for Windows or http://dougscripts.com/itunes/scripts/ss.php?sp=trackswithoutartwork for Macs. Use Google, Amazon, Discogs etc. to locate relevant images. Ideally these should be square, 320x320 pixels or above and borderless to give the best results in the various menus. If you have artwork for some tracks of an album, but not others, find the album in the main music folder, select a track with artwork, right-click (Option-Click for Macs) on the art & click copy, then select all the tracks of the album, use CTRL-I or Command-I to *Get Info* and then paste the image into the artwork box.
    I say 320x320 because I believe (from using TouchCopy) that it's the size used in the iPod cache so if you're going to crop or resize you might as well work to that size. Otherwise 200x200 is probably good enough.
    *Rebuild artwork cache*
    Sometimes the artwork cache becomes corrupt and fails to show correct artwork, even when this is properly set up in iTunes. To rebuild the artwork cache, connect your iPod to iTunes. Locate the iPod in the Sources pane on the left-hand side, then select the Music tab. Remove the tick from *Display album artwork on your iPod*, sync the iPod, reselect the option & sync again.
    tt2

  • Why can't I see videos taken with my iphone when I transfer them to my pc.

    This was not a problem until I upgraded the software.

    Honestly, it's a bit hard to say.  No need to be quite so stingy with information.
    As a conundrum, I'd guess that some of your images have off-line Masters.  Aperture cannot export images with off-line Masters.

  • HT3702 when i purchase with visa card it tell me please contact itunes support to complete this transaction

    when i purchase with visa card it tell me please contact itunes support to complete this transaction please help  me

    Many people are having this same problem. I myself was in touch with iTunes for over a week as well as with my bank (Capital One in this case). For Some reason iTunes has put your debit/credit cards into a "fraud mode". According to my bank representative people have been calling in for about 2 weeks about this, so you and I are not alone at all about this. For me I was able to buy anything as long as it was under $10.00, but anything above gave me the errors you are having. You need to contact your debit/credit card customer service numbers and first make sure that there is no "block" or "cap" on them for iTunes. Then ask them why it is being declined. They may ask you to verrify the city and or state which the iTunes store billing you is in, TELL THEM "CALIFORNIA". Then once you have done everything with the bank you need to contact iTunes Store which is only possible with email (or so Apple has told me), and have them reset the billing and and address information for your account. They will email you back saying that in 30 min...blah blah blah... Basically once they have responded log off from the iTunes store on every single apple device you have: iPhone, iPad, Apple TV, iTunes on your computers, all of them! Then log back in through your COMPUTER and enter all of your information again. This should sove your problem completely. It worked for me.... Good Luck!

  • How can i handle with event, when i close a file (notped or word,excel..)??

    How can i handle with event, when i close a file (notped or excel...). i want do something..
    Edited by: Legy on Apr 21, 2008 11:45 PM

    of course notepad.exe is closed again as soon as the operating system has completed the process of loading its content into memory...
    And no "event" is fired when that happens, except maybe internal to the process that loaded the application to indicate that it's been loaded successfully and can now be executed.
    But there's no way your Java process is ever going to receive that notification.

  • Intel_iommu1 DEBUG generated a fault event when translating DMA read

    Hello List,
    I'm getting
    "intel_iommu1 DEBUG generated a fault event when translating DMA read on address for PCI(0,0,6). The reason is : The READ field in a page-table entry is clear when DMA read ... pte not found in domid3 for faultin."
    The hardware is IBM X3500 server and OS is Solaris 11.1 Express 64bit.
    I have tried to edit grub with -B immu-enable=false -B intel-iommu=false -v -k -B  but I'm still getting the same message on boot screen.
    I have also tried with intel-iommu=no & intel-iommu=0
    Can someone please help ?
    Thanks.

    hi Cindy,
    I have disabled the Intel virtualization from bios and changed the disk mode to ide. Im still facing the error.
    i have also tried command line options to grub such as intel-iommu=false intel_iommu=false. I tried to replace false with "no" as well as 0 but the error is still there.
    can you help please help me with the exact grub setting?

  • Has anyone experienced problems with Mackeeper? I did not complete downloading this software. Yet, occasionally when on the internet, I will have the MacKeeper multi-colored circle replace my pointer. How do you deal with this?

    Has anyone experienced problems with Mackeeper? I did not complete downloading this software. Yet, occasionally when on the internet, I will have the MacKeeper multi-colored circle replace my pointer. How do you deal with this?

    Welcome to Apple Support Communities
    Don't download MacKeeper. Users complain about this app and it damages OS X. Also, Mac OS X knows how to take care of itself, so you don't need any other cleaning application that may damage OS X. See > https://discussions.apple.com/docs/DOC-3691

  • On my home computer, when I transfer from my iTunes library to iTunes store, I'm presented with an empty window. Tool bar at the top of the page is in view and all it's 'drop-downs' function. Any ideas?

    On my home computer, when I transfer from my iTunes library to the iTunes store I'm presented with a blank window. The tool bar is present and functional but regardless of what I do, the page remains blank. Any ideas?

    Hey DDStoker,
    It sounds like you may be experiencing issues with connecting to the iTunes Store. Try using the information in the following article to help you troubleshoot this issue:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • I did a full system restore to my phone along with the new 7.0 update. Now I went to restore my phone setting back through Itunes and it goes through all the steps but when it is completed it wont get past the "Connect to Itunes" screen

    I did a full system restore to my phone along with the new 7.0 update. Now I went to restore my phone setting back through Itunes and it goes through all the steps but when it is completed it wont get past the "Connect to Itunes" screen

    So what happens when you connect to iTunes?

  • Vado audio out of synch with video when I transfer it out of Vado Central

    Vado audio out of synch with video when I transfer it out of Vado Centralk I have a very important video I took that runs fine in Vado Central. However, when I try transferring it anywhere else (Facebook, Photobucket, iMovie) the audio speeds up and makes my son sound like a chipmunk.
    My computer is a MacBook OS 0.5.8, 2.4 GHz Intel Core 2 processor, 2GB memory, which should meet the system requirements.
    I've been going back and forth with customer-no-service and their last suggestion was that there's nothing wrong with the camera or Vado Central and that Facebook, Photobucket and iMovie must all be independently having the exact same problem
    I'm very frustrated and unhappy. This camera is only 2 months old, but it's too late for me to return it and right now it's worthless to me. Worst of all, my very important video is ruined. Anybody have any suggestions

    Yes, it sounds the same (too fast) no matter what computer we try it from. I've tried burning a DVD every way I can think of and when we try to play it on our DVD player we still have chipmunk audio.
    I am BEYOND frustrated with Vado's customer-no-service. They keep insisting that since it will play in Vado Central I don't have a problem. I bought this camera so that I could share video with my family that's across the country. What am I supposed to do now, mail them the camera?! It's absurd!

  • Play sound in specified duration and desired file when reading data with VISA functions ?

    Hi.
    I read data with VISA read function and then I use functions like multiple for showing data on Chart. every thing is OK.
    now I want play a specified sound (like a 3s song in my desired folder) when signal amplitude cross over from specified value. then after desired time, it will be wait for new cross over from specified value and this procedure repeat again until I stop the program. 
    Data comes from MCU and it doesn't stop when system play sound and when system play sound, incoming data for this part (play sound) will be ignore them until specified expired.
    I use this VI for reading data and mentioned part which is sound part is empty and I don't know what I must done ?
    altougth I use another while loop for sound apart because I want save CPU time.
    Thanks.
    Solved!
    Go to Solution.

    I would recommend making the data type of the notifier a cluster that contains a path and a numeric (double).  The path tells the player which file to play.  The numeric is the duration.
    Now for a slightly complicated, but really neat, way to stop your second loop.  Do not use a second notifier.  Instead, send the normal notification but use Not A Path for the path in the cluster.  Your second loop can do a check for the Not A Path and stop when that is recieved.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • What i need to write when i buy with VISA - ( country - ? AAO? or .... ) in Kazakhstan ????

    What i need to write when i buy with VISA - ( country - ? AAO? or .... ) in Kazakhstan ????

    Well, then your question is a different one: "What do I need to make a web application with ERP data".
    In NetWeaver everything is contained that you need technology wise, but no business applications (almost, there is a grey zone coming from the ABAP world).
    If you want to access also business data there are two ways:
    1. You can access existing R/3 environments from there via RFC and BAPI
    2. You will have to wait for mySAP ERP to run it directly on NetWeaver 04
    Regards,
    Benny

  • I have some videos that are completely well shown when using any media player, but some parts of the video appear with red screens when I try to edit them on Adobe Premier. Does anyone knows the reason?

    I have some videos that are completely well shown when using any media player, but some parts of the video appear with red screens when I try to edit them on Adobe Premier. Does anyone knows the reason?

    More information needed for someone to help... please click below and provide the requested information
    -PPro Information FAQ http://forums.adobe.com/message/4200840
    Plus, EXACTLY what are you editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • Problems with event when changing Purchase Requisition. (BO:BUS2009)

    Hi experts,
    I have a doubt with this. When i erase a position in the Purchase Requisition (ME52N), the event SIGNIFICANTLYCHANGED of BUS2009 is raised.
    When I try to modify the  Purchase Requisition not erasign the position but changing the Material group the event is not raised. Can i customize the system to define that changing the Material group is a significantly change for my system? If not, can i raise another event when this happens?
    Thanks!!
    Artur.

    Hi,
    Simply create a custom event called CHANGED in the BO.
    Create a entry for this event in SWEC tcode. Select the radio button on change.
    This should do the job.
    Note : This event will be raised for any kind of changes in this purchase requisition.
    Regards,
    Raj

Maybe you are looking for

  • Radio button condition

    Hi all, I have two items on a page: a radio button ('yes' and 'no' options) and a text item. If I select 'yes' for the radio button item, I want the text item to become read-only. How would I do that? Thank you! Adina

  • How to change standard SAP program SAPLFSKB to add custom fields...?

    Hi Gurus, I have to change the standard SAP program SAPLFSKB screen 100 to add custom fields...i looked into OSS notes and there is a note: 174413 that provides steps to add custom fields...but when i try to do this it doesnt let me do it...it says t

  • How can I display "0" instead of "#missing" in Smartview

    Hi, I'm in Smartivew -> Options menu and I can put "text" or "-" in place of #missing when I retrieve. However, it would not allow me to put zero in place of "#missing" . Is there any way around that? I am connected to an Essbase server via smartview

  • ABAP-PI port example

    Hi, Can anyone give me an example code of what should go into a FM attached to an ABAP-PI port? I have a scenario in which i have to make changes to an IDOC before i sent it out to XI. so i have configured to first send it to an ABAP-PI port make the

  • Problem with Glass Fish Server 3.1.1

    Greetings ! Working on Apex 4.1, DB 10.2.0.3 g -Some time when it was launched it went down, then i had to restart my DB server to get it back. "HTTP Error 503 - Service unavailable". - Some time same error occurs when people tried to login or while