Ni 6111 and Single Scan mode - any example code

Hi,
I am using the  Measurement Hardware Driver Development Kit (MHDDK) to program an NI 6111. I just cannot work out how to get
single scan to work. No matter what I do, I either get no conversions or a full FIFO.
The example code does not include any Single Scan examples and I would be extremely grateful if someone could provide me with example code.
thanks
Russell Thamm

Hi Russell-
Is there a reason why you have decided to perform register-level programming with this device?  It is supported by NI-DAQmx for Windows and NI-DAQmx Base for Linux and Mac.
Regardless, if you would like to request support for the MHDDK I would encourage you to repost your question on the DDK Forum.
Hopefully this helps-
Tom W
National Instruments

Similar Messages

  • Difference between emergency state and single user mode ?

    Hi,
    I want to know the difference between emergency state which we normally use in suspect mode database and single user mode.
    Navakanth

    Emergency/suspect mode is tells you the state of the database and database is not available for user action but where as single user mode tells the user action preference. Database is active and available for the user action.
    You can refer 
    http://msdn.microsoft.com/en-us/library/bb522682.aspx
    EMERGENCY
    The database is marked READ_ONLY, logging is disabled, and access is limited to members of the sysadmin fixed server role. EMERGENCY is primarily used for troubleshooting purposes. For example, a database marked as suspect due to a corrupted log file can be
    set to the EMERGENCY state. This could enable the system administrator read-only access to the database. Only members of the sysadmin fixed server role can set a database to the EMERGENCY state.
    SINGLE_USER
    Specifies that only one user at a time can access the database. If SINGLE_USER is specified and there are other users connected to the database the ALTER DATABASE statement will be blocked until all users disconnect from the specified database. To override
    this behavior, see the WITH <termination> clause.
    The database remains in SINGLE_USER mode even if the user that set the option logs off. At that point, a different user, but only one, can connect to the database.
    Before you set the database to SINGLE_USER, verify the AUTO_UPDATE_STATISTICS_ASYNC option is set to OFF. When set to ON, the background thread used to update statistics takes a connection against the database, and you will be unable to access the database
    in single-user mode. To view the status of this option, query the is_auto_update_stats_async_on column in the sys.databases catalog view.
    If the option is set to ON, perform the following tasks:
    Set AUTO_UPDATE_STATISTICS_ASYNC to OFF.
    Check for active asynchronous statistics jobs by querying the sys.dm_exec_background_job_queue dynamic management view.
    If there are active jobs, either allow the jobs to complete or manually terminate them by using KILL STATS JOB.
    --Prashanth

  • Is there any way to re-print a gift certificate? I bought one but could not print it immediately and there isn't any redemption code on my receipt.

    Is there any way to re-print a gift certificate? I bought one but could not print it immediately and there isn't any redemption code on my receipt.

    Try here >  iTunes Gift Options
    To search for printing help on that page, on Windows press Control + F
    On Mac Command + F

  • Won't boot normally or in recovery and single user mode, safe mode hangs up halfway

    iMac locked up with visual glitches while playing the Mac beta client of League of Legends. Had to force a shutdown by holding the power button. Now it won't boot; after the Apple logo and spinning wheel I just get a white screen. I tried launching in recovery mode, that didn't work. Then I tried safe mode; the bar filled a little over half and then nothing but white screen. I was able to boot single user mode once; ran fsck -fy and rebooted, still white screen. Now I can't get back to single user mode. I booted with command option P R to reset the NVRAM and got the second chime, but still nothing.
    Luckily all my important files are in the cloud, but I'm really hoping my computer isn't completely dead. I haven't had any issues in the past. I've even been playing LoL for over a month with no issues, until now when I tried to play the newer game types, Dominion and ARAM; both caused visual glitches forcing shutdowns. I was able to restart my computer with no problem after the first two visual glitches, but after the last one I am stuck at the white screen as I described above.
    Thanks in advance for your help!

    I'd bet the drive is damaged. You could try reformatting if possible. Again, you are booting from the Recovery-10.8.2 disk if you can. If you can't, then you will need to use the installer disc that came with the computer.
    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
            the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Password protected EFI and Single User Mode

    Hello Community,
    if I protect the EFI with a password than the single user mode is disabled. But I thought that I can enter the single user mode by entering the EFI password but no password prompt appears. Only the possibility to change the startup volume is accessible by a password prompt. Do I miss a possibility or is the only way to enter the single user mode by bypassing or disable the password by using the firmware password utility on the installation disk without violence?
    BTW: I know the act of violence by changing the RAM configuration but this isn't the way I want to describe in the system documentation
    Thx in advance & Bye Tom
    Message was edited by: prontosystems

    Try holding the Option key while booting. It should ask for the password, then allow any boot options after you select the drive. If you boot from the install DVD (using the Option key and password), you can use the "Utilities" menu to disable the password, after choosing your language.

  • Screaming Fans ,10.4.3., and Single User Mode.

    I wanted to add my experience with the screaming fan problem and 10.4.3.
    When I ran Disk Utility and used the “verify disk” option I received some minor errors and proceeded to boot the OS X install disk and run Disk Utility from there. When I did I received no errors. Rebooted back to 10.4.3 and reran disk utility and received the same minor errors. So I read one of the Mac sites that stated that one needed to run in single user mode and execute “fsck – f”. This where the “fun” started.
    When I went into single user mode the fans went wild. But I knew this to be normal and proceeded with repairing the disk (which was successful as evident with no errors being reported while booted to the desktop and running live verify disk. But before I got to that point the fans remained screaming after the reboot to 10.4.3. I reset the PRAM and NVRAM but to no avail. The fans would not quite down. The fix turned out to be very simple – I unplugged the computer (after shutting down) for about 15 seconds. Re plugged it in and it was fine after that. Fans back to normal! I replicated the problem – applied the same fix and again every thing was normal.
    I just thought I would pass this on to the iMac community.

    Hi Steven, bit unclear on a couple things.
    When I went into single user mode the fans went wild. But I knew this to be normal and proceeded with repairing the disk
    Normal for fans to go wild in single user or when repairing the disk?
    I replicated the problem – applied the same fix and again every thing was normal.
    The problem being screaming fan and the fix being resetting SMU? (unplug for 15secs). So how did you replicate it, and is it really fixed now?

  • 10.4.3 and Single User Mode, now Wireless Keyboard can

    Hello all.
    IN case you haven't found out which I did, just to let you know, with the latest OS 10.4.3 update, now you can boot into Single User Mode (fsck) with your
    b wireless keyboard
    and still at the same time
    b continue to complete fsck process with your wireless keyboard!!
    No more switching to a regular wired keyboard just to complete the process!
    Cheers

    Hi Steven, bit unclear on a couple things.
    When I went into single user mode the fans went wild. But I knew this to be normal and proceeded with repairing the disk
    Normal for fans to go wild in single user or when repairing the disk?
    I replicated the problem – applied the same fix and again every thing was normal.
    The problem being screaming fan and the fix being resetting SMU? (unplug for 15secs). So how did you replicate it, and is it really fixed now?

  • Dual and Single Channel Mode

    Talking about dual channel and single channel. Is it a theory or is it really a big significant difference in performance between the two? Just curious

    Hi Richard,
    Thanks for the speedy reply. I'll go tinker around a little more and see what I can do with this board
    Benedict.

  • Any example code to generate and measure both channels using a 4451 DSA card?

    I want to generate signals and check the magnitude and phase performance between the inputs on a 4451 DSA card. It seems like there would be some example code already available for this function.

    I've attached an example which shows how to perform sychronized input and output with a NI-4451 board. This example only acquires the raw voltages and displays them on a graph. If you want magnitude and phase information, consider using a complex FFT algorithm.
    Hope this helps,
    Jack Arnold
    Application Engineer
    National Instruments
    Attachments:
    DSA_Simultaneous_IO_(reduced_ringing).vi ‏177 KB

  • Any example code for WVD spectrogram in labview ?

    I heve been trying to implement the WVD spectrogram in my vi with no luck. Can't find any examples on how to do it.

    Look at the Functions palette >> Analyze >> Signal Processing >> Frequency Domain >> WVD Spectrogram.vi.
    This is in LV 7.1.1 Full.
    The WVD uses a different kernel than the Fourier transform and works well with rapidly changing signals. The major disadvantage is the large amount of spurious signal that appears in the spectrogram.
    Lynn

  • Any Example code site for MQ v6.0 Clustering

    Hi All
    Can any body please help me some sites, where I can get some example codes, for MQ Clustering in java....
    Windows platform
    MQ Webspere v6.0
    thanks in advance
    Balmiki

    I'm looking for exact property need to be set for SSL in Oracle MQ adapter.
    It would be very helpful if Oracle have some standard docs.

  • Setxkbmap and single layout mode

    Hi everyone!
    I have noticed that I can't use some hotkeys, like Ctrl-c or Ctrl-v (and many others) when I'm switching to the single 'ru' layout:
    $ setxkbmap ru -model pc104
    It happens since a produced keysym belongs to the cyrilic set:
    $ xev -event keyboard | grep state
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    state 0x14, keycode 54 (keysym 0x6d3, Cyrillic_es), same_screen YES,
    One of possible workaround that I have found is to set specific variant. Well... it simply fails:
    $ setxkbmap ru -model pc104 -variant alt-int
    Error loading new keyboard description
    But when I'm adding another layout all seems work:
    $ setxkbmap ru,us -model pc104 -variant alt-int
    Keysyms are all valid in that case:
    $ xev -event keyboard | grep state
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    state 0x14, keycode 54 (keysym 0x63, c), same_screen YES,
    So I'm here to find out if it is a bug, or feature? Can someone please explain to me it? Since I can't find any references to this behavior.
    Thanks,
    Max

    Does it work without -model pc104 (and why do you add that option)?

  • Console unresponsive in single user mode, any ideas why?

    I have a SPARC Ultra 60 running Solaris 10 05.09 - I had a power failure and now it boots to maintenance mode and is waiting for me to type the root password. Problem is no matter what I type it does not respond, I have booted with DVD and fsck'd the filesystem, mounted it and removed the root password but still it comes up to maintenance mode. I rebooted of the cdrom to check the messages file and there is nothing new in there since the power failure.
    Has anyone got any ideas why the console is unresponsive to input?
    It works fine when booted form the dvd.
    any help appreciated.
    Martin

    try
    - add 'set -x' to your /etc/profile
    - add 'set -x' to /etc/rc? scripts
    - check /etc/vfstab for a nfs mountpoint not using 'bg'

  • How do you find duplicates in the same album? I keep creating albums and it's frustrating because I keep having to go back and personally scan for any duplicates. Isn't there a shortcut to finding these?

    I'm knew to the iMac, although I've been using my Macbook Pro 2011 for some time and I love it. I've had an iPad and used the iPhone 5 and love the streamlined way you can share pics etc. between all devices. However, I've never used the iPhoto program until now. I am trying to organize my photos into albums and it is frustrating because I select photos from the main "Photos" on the Left Sidebar and because I have so many photos I tend to put duplicates into my albums. Then I have to spend hours searching to make sure there are no duplicates before I upload them to my website. This is tedious and time consuming. Surely there is an easier way to find all the duplicates IN THE ALBUMS I CREATE. I've looked everywhere and I can't find a sorting tool to put all the duplicates side by side so I can delete the proper ones.

    If they are duplicates then sorting on title will put them together, no? If you have two photos called IMG_1234.jpg or 'Last Xmas 01', then they'll have the same name.

  • Send my uptodate program claim and didn't get any reedem code yet..

    I bought from apple retail store in new york new macbook pro 13" in 1st july 2011. I entered to the uptodate program site and did this two days ago and still i don't get any mail with the reedem code to the app store. what i need to do? someone get any code?

    I bought a macbook on July 14th, uptodate didn't recognize my serial so I had to fill the form too... Still waiting for anything back from them. I'm tempted to go to the local apple store.

Maybe you are looking for

  • Ringtones and email notifications!

    I just got the droid razr yesterday (it's also my first smartphone) and I can't figure out how to get ringtones! My husband has a plain phone and sent me ringtones but when I open them they play the music but there is nothing under options saying use

  • Printing with Adobe Reader in Windows 8?

    I am using Windows 8 which automatically took me to the new version of Adobe Reader. You know, the clean screen with no toolbars. However it's not apparent where to go to print the document that autoloads in .pdf format. The hidden toolbar that comes

  • For those that pre-ordered on-line, did you get a separate email to accept terms?

    My order has been processing since Sunday.  I called customer service and she said I never accepted the new terms.  She said I should have received a separate email but I swear I accepted terms when I pre-ordered on the site (no such email in inbox o

  • RAW conversion bug with Noise Reduction

    Hello, I have found a serious bug in the RAW conversion when noise reduction is applied. When converting from two types of Canon RAW files (a CRW from a Powershot G6 and a CR2 from a 20d) I found that if you apply Noise Reduction to a RAW file on ver

  • SQL Delete RecordCount

    Hi. Whenever I run this page (assuming that #FORM.EditMode# is "DeleteUser") I get Element RECORDCOUNT is undefined in USEREDIT. How can I get the RecordCount for the query? The code is: <cfquery name="UserEdit" datasource="AITE_Test_System"> <cfif #