DAQmxRegisterDoneEvent does not not in Win64, but working in Win32

Dear all,

We have a problem with DAQmxRegisterDoneEvent on 64-bit Windows 7, but not Windows 7 32 bit.

We have two versions of our application, one for Win32 for Win64 - the same code, just recompile the appropriate target. The code of NIDAQmx control a PCI - 6110S.

In both cases, we ask:

DAQmxCreateTask

DAQmxCreateAOVoltageChan

DAQmxCfgSampClkTiming with DAQmx_Val_FiniteSamps

DAQmxRegisterDoneEvent with the address of our reminder

The callback registered with DAQmxRegisterSignalEvent should fire once a fixed number of samples is issued on the analog channels. He doesn't under Win32 but Win64. It is never called.

It is unlikely to be a problem with recall statement (Nothing breaks down) or a performance problem (too many reminders), as the recall should happen every ~ 0.3 s.

The Win64 config is Win7 Pro OR-DAQmx 9.5.1

Has anyone seen this?

Thank you all.

My mistake.

DAQmxRegisterDoneEvent works fine in Win32 and Win64.

The bug has been introduced by declaring bad DAQmxCfgSampClkTiming in the 64-bit program. The task triggered never gone wrong a done event because the count sample in DAQmxRegisterDoneEvent parameter.

Tags: NI Hardware

Similar Questions

  • Accessories HomeKit does not at home, but work outside.

    Hello

    I recently got a new Signal of Hunter ceiling fan, which is one of the first active HomeKit fans. I went through the installer on my iPhone 7 more for the fan about 20 times. Each time, installation works and the fan is controllable for about 1-5 minutes each time. Then the two buttons for the fan and light are starting to appear 'No response' on them. By clicking on the buttons, surprise, has no effect on the fan or light.

    I have my Apple TV (4th generation) Setup as a hub. I also tried setting to the top of my iPad as a hub. Nor has helped get my fan work. However... today we were shopping, and I happened to pull up the control center. I noticed that Photonics and fan buttons is no longer says "No response" and typed a. After a few seconds, the fan button said it was now on. Then I tried the light. Same positive reaction. I played with them a few moments and everything seemed to work... except that I couldn't be sure, because, you know, I was not at home.

    So, when I got home, I tried again... back to 'No response' on the buttons. What the devil? So I then turned off the wifi on my phone and guess what? The "No Response" disappeared and the fan and light work.

    So there is something when my iphone is on my own wifi network, it cannot speak to the HomeKit accessories. That makes no sense at all. Why would it be? Is there something on my router I need to unlock it (even if I looked and did not find anything which is blocked).

    I contacted the support team for the fan again. But I'm starting to think it's something with the iPhone, not the fan. Oh, and HomeKit opening on the iPad does not work internally either.

    Thanks in advance for any help you can provide.

    Bob

    Greetings, U2SockMonkey!

    To review your post, you have configured your Signal Hunter ceiling fan in your HomeKit and use your AppleTV and iPad as hubs. Your iPhone 7 more on iOS 10.0.2 intermittently becomes a message 'no response' when you try to control your ceiling fan with it but it worked fine while you were away from home. It is apparently only at home and I'll be happy to help you to get this working properly.

    If your iPhone, iPad or iPod touch connects to a Wi-Fi network - I found that iOS devices and a home network can stop talking to each other. Follow the steps in this article to ensure that your home's Wi - Fi signal is strong and consistent.

    Take care and thank you for using communities of support from Apple!

  • JavaScript does not in FF, but works fine in IE, Chrome, Opera, and Mobile devices

    On this page, the menus javascript (two of them) often do not load. If I click on Ctrl + F5, they can load on the 2nd attempt. This Page works fine in IE, Chrome, Opera and mobile browsers, but not in FF. I cleared FF cache by going to options and have also worked with modules and plug-ins to 'ask to activate '. This problem persists...

    Javascript menu bars sometimes don't show at all, or sometimes will appear, but have empty menu items (menu options do not show).

    http://www.consultapedia.com/international/international_marketing/intl_mrktg_skill101.htm

    I've included a screenshot of how they (don't) appear in FF. Also another screenshot of how they appear in other browsers, or when I click Ctrl + F5 in FF.

    Hmm, there is a lot of content added by scripts on this page after a delay.

    Firefox has several optimizations to speed up the display of pages in the cache which may malfunction under certain circumstances. For example, display a page using the Back button will not necessarily trigger an "onload" event in the page. This article describes how to work around this problem for web developers: https://developer.mozilla.org/Firefox/Releases/1.5/Using_Firefox_1.5_caching

    For end users, it is a difficult problem to solve. A partial solution might be the following:

    (1) in a new tab, type or paste Subject: config in the address bar and press return / enter. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste sess and make a pause so that the list is filtered

    (3) double-click the preference browser.sessionhistory.max_total_viewers and change the value from-1 to 0 (that's a zero).

    (Please change not all other parameters similar to 0-sounding or you can disable the ability of Firefox to save/restore your tabs and windows open).

    Then reload the page problem and trying sail away and back to see if the inserted content is preserved.

    There may be a performance penalty slight for this change, but you probably won't notice it. Firefox will be used in the file cache, it will just go up the page in a slightly different way that often works around this issue.

    Does make a difference to you on this site?

  • I just got a new modem (Arris SB6190) and now my Airport Extreme does not connect.  It worked fine with the previous modem (a rented one TWC).  Help!

    I just got a new modem (Arris SB6190) and now my Airport Extreme does not connect.  It worked fine with the previous modem (a rented one TWC).  Help!

    Always recommended to reset the airport back to settings by default and then set up again whenever you have a new modem or change your Internet Service provider.

    Turn off the new modem for at least 30 minutes. More is better.

    Perform a hard reset on the AirPort Extreme, then it turned off.

    Make sure that the Ethernet cable connects the modem to the "O" on the AirPort Extreme WAN port

    After the power of the modem 30 minutes down, turn on the modem and let it run for at least 5 minutes by itself.

    Then, turn on the airport and let it run a few minutes

    Set up AirPort Extreme again

    Important note... There are many reports of problems with the modem Arris SB and airports. Both are great products, but they do seem to work perfectly together for some users.

  • I have HP E809a Officejet of 7000 series, my printer does not print color but black

    I installed the new ink, but the printer does not print color but black. When I do trobleshooting he information I get is all works well.

    Assuming that you have installed the printer using the HP cd or the installation software full on HP site review the HP print settings/diagnosis and test the printing options, or help from HP, all available from the HP shortcuts installed with their software.

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4063&LC=en&cc=UK&DLC=&sw_lang=&product=3883002

  • Windows 10: lightroom does not allow me to work in the module development for more photo or two, and then it crashes!

    UGH!  After the update to windows 10 lightroom does not allow me to work in the module development for more photo or two, and then it crashes!  I tried to uncheck the graphic processor after finding the instructions on a forum, but it does not - this action also locked llightroom!  What I can do - I have several photo jobs who need treatment-HELP!  Arthur

    Hi arthurc70992816,

    Suggest you follow the instructions in this article:

    Adobe Photoshop Lightroom Help | Graphics processor (GPU) acceleration, troubleshooting & FAQ Lightroom

    Try updating your graphics card drivers.

    Kind regards

    Claes

  • WebLogic: when call a URL excelfile does not open MSExcel but flat html

    WebLogic call an excel file of the URL does not open MSExcel but flat html

    Hello

    I get differences between FORMS 10 g / YOU and FORMS 11 / WLS
    When to call an Excel with web.showdocument

    --------------------------------------------------------------------------------------
    in 10g AS10g
    the call
    Web.showdocumen ('http://MyAS10_Server/myFormsMapping/myExcelfile.xls, _blank);

    Opens a Windows box
    to decide
    Open with (MSExcel)
    or
    Download and save as a file


    --------------------------------------------------------------------------------
    in WLS 10.3.5 / FORMS 11.1.1.4
    the call with webcache Port 8090 and Port 8888 SST

    Web.showdocumen ('http://MyWLS_Server:8090/myFormsMapping/myExcelfile.xls, _blank);

    quickly open the excel file in the browser in html Format

    --------------------------------------------------------------------------------------

    How to get the same way in WLS as before as a 10 g,
    need change the (mimetype?) when open excel?

    respect of

    There was a post in the past which makes some interesting claims.

    Why o why have we not able to do a faq to these things?

    Like they said, I can't find any mimemappings.properties.

    more information:
    "An alternative is to create a file mimemappings.properties the entire domain to define a type for the '.myext' extension. Start the WebLogic administration console and go to the domain--> for Web Applications. Set a value for the "Mime mapping file' if the field is empty. Next, create the file. Should be the format of the contents of the file: = mime-type extension

    Example:
    myext = text/plain
    WBMP =

    The first entry above defines a new file extension 'myext' and sets the type of 'text/plain '. The second entry above means a 'wbmp' file extension that already exists in the default values. Setting the value vacuum removes the mapping.

    Another solution is to configure the MIME type in the web.xml file. Update the Web application's web.xml file, by adding a element to map the new extension to a suitable MIME type.
    "

    last post * thank you!
    Display a help file (*.chm) Windows of a session of 11g of forms
    Matthew

    I had a similar problem with my environment, Forms 11 g with Weblogic. Files with the extension ".rtf" displayed as text gross when I used the port 8888 (SST). Using the port 9001 (WLS_FORMS), it worked. I have four servers managed in the group, so I have to use port 8888.

    After a few days and many tests, changing configurations and restart services, I found the file "mimemappings.properties" of Weblogic. In fact, in my environment, I had to create the file with the line 'rtf = application/rtf' and restart the Weblogic Server. It worked for me.

    Using the Console of Administration Weblogic, in Configurations of domain / Web Applications, see the parameter "Mime mapping file. The file must exist in the folder "$DOMAIN_HOME/config. More information on this file, you can find in http://download.oracle.com/docs/cd/E11035_01/wls100/schemaref/security/http.www.bea.com.ns.weblogic.920.domain/types/web-app-containertype.mime-mapping-file.html.

    I hope it can help you!

    Ricardo Ravazzolo

    Published by: Lake on Sep 9, 2011 10:59

  • On the computer, it does not load XP but goes to the XP start and says: NVRD32.sys file not found

    On start-up the computer, it does not load XP but goes to starting XP, and says NVRD32.sys file not found. I have to go up to xp home line manually and it load. How to fix the problem, so he starts xp automatically without entering start xp
    Thank you

    Posing for the PC model, you show that you do not know the answer, it was a software problem, but you're right, it's a Dell.
    In any case, I found the answer elsewhere, must with the boot.ini file on XP

  • Windows 8 does not read DVD but CD runs without any problem

    Original title - I habe upgrade to windows 8 way back but my DVD player does not read DVD but CD runs without any problem

    DVD stalk does not read DVDs but reading the CD with no problems. Even in my computer drive shows as CD drive type.

    Hi Rohan,

    I suggest you try the steps suggested by AtishayMSFT dated dated March 6, 2012 at the following link:

    http://answers.Microsoft.com/en-us/Windows/Forum/hardware/DVD-drive-not-recognized-in-Windows-8/ad546c20-b916-4AD5-9858-52e10610ee14

    Note: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article: back up the registry in Windows 7

  • DVD player does not read DVDs but reads CDs only.

    my hp compaq 420 core2 duo dvd player does not read DVDs but only reads the CD. How can I fix this, please help me with the correct answer.

    It will probably replace the drive. There is more than one laser in there: one for each function. You can go bad without the other goes wrong.

    608141 001

    Above is the part number for the DVD burner. I couldn't find one on eBay.  In here is a online:

    http://www.mydvddrives.com/replacement-for-HP-Compaq-608141-001-SATA-CD-DVDRW-DVD-RAM-drive-burner-LightScribe-52029

    Replacement is easy. Remove one screw on the bottom and drag the old hunt and replace it with the new drive.

  • Macintosh: Adobe Muse; Formular Widget: Send button in Firefox does not (Mac, PC). Works in Safari (Mac) IE (PC). What is going on?

    Macintosh: Adobe Muse; Formular Widget: Send button in Firefox does not (Mac, PC). Works in Safari (Mac) IE (PC). What is going on?

    Test URL: News

    Greetings from cold Switzerland...

    Beat

    I think you have solved, as I tested it on my end and the Send button worked fine.

    Thank you

    Sanjit

  • Satellite M30X-111 screen does not display anything but the external monitor works

    My laptop just screen does not display anything (like when the computer is turned off), but when I connect the external monitor, then the desktop is displayed on this screen. I tried to recover the laptop using the recovery disk and it worked again, but today, it stopped working again.

    Again, I must plug the external monitor, and after I tried to restart, I continue to pressing F8 but the startup mode is not come, the noise of when you press a button for too long beeps, however, the monitor of the laptop working again.

    How can I solve this problem?

    What do you do? You want to recover the laptop?
    If Yes, you n press any F8 but you will need to boot from the recovery CD by pressing the C key immediately after starting the laptop.

    But this question seems that you have accidentally switched to external display.
    I recommend checking the Fn + F5 option. This combination allow you to switch between the display and the external monitor.

  • Sony VGN-AW41ZF "devices and printers" does not display anything, but they work

    devices and printers doesn't ' display anything, although all devices work.

    The reinstallation of the computer (sony VGN-AW41ZF) and add the devices, they have been posted.

    Later, we don't know why, "devices and printers" display nothing.

    Just added a scanner, no problem, but once again not displayed.

    Now add bluetooth devices does not work. My sony bluetooth mouse, I installed before the problem and it still works

    http://eSupport.Sony.com/

    Go to the website of the manufacturer of your computer/laptop > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    And make sure that Windows is up-to-date with the latest Service Pack.

    See you soon.

    Mick Murphy - Microsoft partner

  • Logitec keyboard not working.does not account admin, but who works in a support technique comments ACCT. Logitec says it's microsoft driver remember need download fix

    keyboard does not not as a user admin. said Logitec need downlod difficulty from microsoft. computer works very well except for keyboard.it works guest acct mode

    Hi benalexsamdanzach5,

    1. don't you make changes before the show?

    Try these steps and check the result.
    Step 1: Check if the power management settings are applied to the keyboard
    a. Click Start, right-click computer and click Properties.
    b. click on Device Manager in the left pane.
    c. develop elements of keyboards.
    d. double-click the sub element, click the power management tab.
    e. uncheck "allow the computer to turn off this device to save power".
    f. click ok and restart the computer.
    g. check if the problem persists.

    See Troubleshooting wired keyboards that do not

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How the plant does not reset the option works? -iPad

    THEN I did a factory reset (delete all content and settings) and I was wondering, iCloud records on the device or it does not. How to factory reset thing work anyway?

    The ' erase all content and settings ' will remove your content from the iPad (all the apps you have downloaded, music, movies, photos, etc.) and put all settings to their default values.

    But if you have settings > iCloud > find my iPad set 'on' on the iPad, then he will not that iCloud account, you will need to enter this account and password to reactivate the iPad (find my iPhone Activation Lock - Apple Support)

Maybe you are looking for