I can not get the right frequency out of my NI-DAQ 6062E card from Matlab

Hi.
My name is Johan and I want to generate an analog square waveform with 5.76 kb/s in frequency with my NI DAQCard-6062E from Matlab.
When I run in Matlab the program below, I get the frequency of 5.747 kb/s on the output channel (even thou I have chosen 5.76 kb/s). When I try to change the sample rate, to higher values in Matlab, I get the same frequency until I choose the sample rate to 5.79 kb/s. The output signal is in that case is 5.813 kb/s.
So my problem is that I can't get the exact frequency of 5.76 kb/s.
How do I solve this.
Thankful for help.
Best regards, Johan
Program in Matlab:
clear all
openDAQ=daqfind; %Detect any open DAQ channels
for i=1:length(openDAQ), %Close any open DAQ channels
  stop(openDAQ(i));
end
ao = analogoutput('nidaq',1); %Create an object for analog output
addchannel(ao, [0 1]);
set(ao, 'SampleRate', 2*5760); %Here the sample rate is specied. 2*, because to get right samplerate
y=[80,-80] %Sets theoutput values to 80 and -80 (As -1 and 1)
putdata(ao, [y' y']); %Sends the values to out buffer
set(ao,'RepeatOutput',inf) %Repeats sending in infinity
set(ao, 'TriggerType', 'Immediate'); %Choose trigger to immediate, because sending values shall occur driect after start command.
start(ao);
%stop(ao)

Hello Johan!
Bad news I am afraid….
I assume you are using the Data Acquisition Toolbox from the Mathworks and when it comes to support on that interface I have to advice you to contact the Mathworks for assistance. We don't provide any support on their data acquisition interface since we have nothing to do with it.
Sorry for the inconvenience this might cause you.
Regards,
Jimmie A.
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineer Manager, National Instruments Northern Region
Bring Me The Horizon - Sempiternal

Similar Messages

  • I can not get the bookmarks tab to open

    I just installed firefox on my new laptop. I can not get the bookmarks tab to open. I also can not get the right mouse button to open the copy, print, etc menu.

    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.
    *Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • I want to reset (clean out) my old 4S.  I have just bought a 6 and have the 4S as a stand alone unit (No connection to network.  I can not get the sitcom to do the erase all command.  It wants to access the Cloud which is impossible.

    I want to reset (clean out) my old 4S.  I have just bought a 6+ and have the 4S as a stand alone unit (No connection to network).  I can not get the system to do the erase all command,  it wants to access the Cloud which is impossible.  Is there anyway to 'Erase All Content and Settings". 

    Something here might help a detailed list of actions
    What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    refer to If you no longer have iPhone  section

  • I purchased an ablum thru itunes on my phone and it says i purchased the songs on itunes but when i go on my music it says i have to repurchase all the songs how can i get the songs with out havin to pay again

    I purchased an ablum thru itunes on my phone and it says i purchased the songs on itunes but when i go on my music it says i have to repurchase all the songs how can i get the songs with out havin to pay again

    Whether you can redownload music depends upon what country that you in. If you are using your computer's iTunes then does music show in the Purchased link under Quicklinks on the right-hand side of the iTunes store home page (on your phone you might be able to redownload media via the Purchased tab in the iTunes store app) ? If music shows there, but not that album, then check to see if it's hidden : http://support.apple.com/kb/HT4919
    If you aren't in a country when you can redownload music and it's still on your phone then you should be able to copy it over from the phone via File > Devices > Transfer Purchases.

  • How can I get the right click to work in firefox -- it works in internet explorer

    how can I get the right click to work in firefox -- it works in interne

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • I have purchased the VGA Connectors for both a iMac and Macbook Pro so that i can connect my promethean board projector to the computer and I can not get the image on the screen.  Does anyone have any suggestions?

    I have purchased the VGA Connectors for both a iMac and Macbook Pro so that i can connect my promethean board projector to the computer and I can not get the image on the screen.  Does anyone have any suggestions?

    Irelandbound wrote:
    thank you, I have the adaptors so glad that would work.  I just heard adaptors burn out often.  So Just thought for my main iMac computer, a plug would be best.  I will get one once I move.
    Any other suggestions or things I should know about apple products in Ireland.  I know there are no Apple stores there.
    An adaptor doesn't burn out. It merely serves as a means to connect the power prongs on your device to the power supply.
    I believe you are thinking of a transformer, which you do not need. A transformer converts one voltage to another.
    You don't need to do that as the power supply of modern electronics can take almost any worldwide voltage.
    Look at the label on the device. It should indicate the input power acceptable of 100-240 VAC, 50-60 Hz.
    Additionally, I found the adapters cheaper in the UK than I found them in the US. They were available in most supermarket chains. I wasn't in Ireland, so I can't say one way or the other.
    If you have something that doesn't have that input power spec, it would require a transformer.
    On other items like electric clocks or things with motors, you can connect them up to a transformer and the voltage will be correct, but the frequency may not. For clocks, that will cause them to not keep time well. For motors, they will burn out.

  • I have Adobe Photoshop Elements 10. It came installed on my HP Desktop. I am can not get the warp text tool to work. It has worked in the past. Once I click warp text, the little window does not pop up, and if I try to do anything else after I click warp

    I have Adobe Photoshop Elements 10. It came installed on my HP Desktop. I am can not get the warp text tool to work. It has worked in the past. Once I click warp text, the little window does not pop up, and if I try to do anything else after I click warp text, it wont let me. Just sounds the ding, alert, can still slightly navigate the program but can not use any other tools after clicking warp text. I just have to open task manager and close the program. not sure if I'm doing something wrong or maybe I just need to uninstall and re install. Having trouble finding out how to uninstall and reinstall because the program came pre installed on my desktop.

    It actually sounds like the warp text window is opening off screen.
    Resetting the photoshop elements 10 preferences should fix it.
    *Press and hold the Shift+Ctrl+Alt keys just after you start the launch of the photoshop elements 10 editor
    *Keep holding the keys down until you get a dialog asking if you want to delete the adobe photoshop elements setting file
    *Press Yes

  • I can not get the flash player plug in to work with Internet Explorer

    I can not get the flash player plug in to work with Internet Explorer

    Zoltan71 wrote:
    I just bought this computer. My Internet Explorer is version 11.0.1
    I have the box checked to Install new version automatically, but it has not done any upgrading.
    I can't get the computer to update anything as far as I can see.
    The flash plug in does work with the Crome browser but it will not work with Internet explorer.
    I looked in the manage add-ons and it says enabled.
    I also went into the safety tab and deselected
    Active X filtering.
    Restarted and still does not work.
    I need help.....
    Chrome uses a different and separate plug-in.
    There are things about IE you need to know, especially 11. Specifically:
    "User-Agent Strings"
    That doesn't mean a lot, I'm sure, but it's the root of your problems, and Flash Player has nothing to do with it.
    Microsoft "rewrote" the User-Agent Strings for the abomination they call their latest and greatest browser. User-Agent Strings are what websites use to identify the browser you're using and provide the proper content for it's browser engine, like ActiveX stuff, and Flash or HTML5 video. Thanks to the geniuses in Redmond, WA, the User-Agent Strings for IE11 (which has a Trident engine), ID it as either "Gecko" (Firefox) or "Webkit" (Chrome). Problem is: when the site the directs to the content for one of these two engines, the Trident engine in IE can't intepret it and the site then sees IE as an "unidentified" browser.
    The problem with an unidentified browser is that the plug-ins in that browser aren't recognized either, so even though you're up to date, it says you need the latest Flash Player when you use IE11. YouTube... has converted to HTML5 video so if it doesn't detect Flash Player, it can display HTML5 (MP4) video which requires no plug-in to play. Facebook can't do that, because HTML5 doesn't apply to games... only video.
    Microsoft has no plans to "fix" the mess they've created because they think it's a great idea to block you out of the websites you visit.
    They recommend using "Compatibility View" and pretending that you're using an older verison of IE... Problem with that is that it's seen limited success, and you have to enable it for EVERY page that has problems... individually.
    I'm not big on "pretending" so I recommend actually using another browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • I can't get the old account out my update

    I can not get the old account off even if I sign in on my new account the old still show up and I can't update how do I get the old one out my iPad I tried signing out and in, my new account is in but when I try to update something an old account pops up and I can't do anything

    Settings > iTunes and App Store > Apple ID = Sign Out... Then Sign In using the preferred Apple ID.
    Dinky710 wrote:
    ... but when I try to update something an old account pops up ...
    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID

  • HT201303 How do I get my security passwords I have forgotten them and can not get envy thing with out them

    How do I get my security passwords I have forgotten them and can not get envy thing with out them

    Fastest way is by contatcing support. This is because youc an't reset the questions on your end if you forgot the original answers.
    https://expresslane.apple.com/
    Follow these steps:
    All Products and Services > iTunes > iTunes Store > Account Management > iTunes Store account security
    Answer the questions and if required sign in with your Apple ID and password - same one you used to log in on this support forum.
    You will find an option to send an email to Apple on that page. Indicate that you forgot the answers to your security questions and wait for iTunes support to reply.

  • HT204382 I was attempting to upload a video to face book and decided to cancel, now I can not get the quicktime icon with Facebook icon embedded to delete? what are steps to clear desktop?

    I was attempting to upload a video to face book and decided to cancel, now I can not get the quicktime icon with Facebook icon embedded to delete? what are steps to clear desktop?

    A warm welcome to Apple discussions!
    A 2003 iMac cannot support Snow Leopard 10.6; you'd need an Intel processor and that cannot be retrofitted to your Mac. What does "About this Mac" in your Apple menu say  for your processor speed? What does it say about how much RAM you have?
    If the processor is 1ghz or faster, you can run OS 10.5; otherwise, you are maxed out at 10.4.11.
    Also, are you running any commercial ("pay for") anti-virus or security software? They are notorious for slowing most Macs to a fraction of their speed potential.
    A too-full hard drive can drag down performance, especially if you don't have a lot of physical RAM installed. If you single-click your hard drive icon and then do command i, you'll see the disk usage. Looks like this:
    The value for "Used" should be no more than about 90 percent of "Capacity." In the example image, that drive has about 34 percent of its space used and 66 percent free--more than enough. Please post what you see for your Capacity and Used numbers
    There are a few more things we might check but this is a good start.
    Awaiting your information,
    Allan

  • I can not get the new updates because my start disc and hard drive are full, I need 1.98 GB.

    I can not get the new updates because my start disc and hard drive are full, I need 1.98 GB.

    Some folks recommend OmniDiskSweaper to allow you to review your stuff to find possible candidates to throw away.
    Even if you throw away some stuff and your desired "1.98GB", then what?  If that's the number you need for the update, you'll just use most or all of the reclaimed space with the update and you are right back to where you started.
    You don't specify what kind of machine you got but presumably it's a mac pro since you posted in the Mac Pro community.  In which case just get yourself another drive or two and move stuff around to free up your boot drive.
    [Perhaps you should hurry too since I expect hdd prices might be going up due to possible impending hdd shortages.]
    Finally, if some of those updates are major system updates you want extra drives for backups because I always recommend you never do major updates to your system without backups to that system.

  • I can not get the temperature to work.

    Howdy
      I just got my MSI FX 5900XT yesterday and it is running fine. However I can not get the temperature to show on it. I have tried everything I can find on the forums like the different registry hacks and such. And it still does not work.
    In the one program 3D Turbo when it is first starting up it looked like the temps are trying to work then they just shut off. It stats to lite up and stuff they just goes down.
    Anyone know of another program or something else that I can try to get it to work ?
    Again I have tried everything that I have found on these forums that people have suggested so do not say try that stuff.
    I know this card has a temp probe as the 5900XT cards from other companies works fine people tell me. So unless MSI done something and took it out it should be there and be able to work just fine.

    Quote
    Originally posted by The Black Wibble
    Every piece of information about the card is obtained through the device driver so I say it is a driver problem.  I'd uninstall the driver, remove all traces of msi/nvidia driver binaries and config files using drivercleaner.  Deleting all references in the registry to MSI or nvidia might help, too, before rebooting and installing nVidia's 53.03 drivers.
    Tony.
    I purchased the card also from newegg and i have yet to get the temp sensor to work. I read in one reveiw that the chip for that is not in this card. Also that the overclocking program from Msi should not be used. I have searched all over for some info on the dynamic overclock technology DOT .The only mention of it is on the motherboard overclocking but it looks like its part of the video driver ? I have had very poor results trying to overlclock this card. 3d clock 450 ram 730 locks up all the time . I also run a amd 2400
    [email protected] Let me know if im missing something on this card or not  but dont want the hazzel of returning it

  • Can not get the Cisco TSP to show UP - 2003 64bit

    Can not get the Cisco TSP to show up on the list of Providers in Phone and Modem Options- Advance tab. Installed ver. 4.1, it seems to install correctly, with no errors but when I restart the server, there is no Cisco TSP001.tsp in the providers list. It works perfectly on my Windows 2003 servers, but will not work on this new Windows 2003 64 bit server. Any tricks to getting this to load?
    Thanks
    Keith

    Hi
    There is no 64-bit TSP yet. Whilst 32-bit apps will work OK for the most part on 64-bit via the WoW function, drivers tend to not be so flexible, and that's what TSP is...
    You'll have to bother your Cisco accounts folks to get this prioritised, it is upsetting a lot of people...
    Aaron
    Please rate helpful posts...

  • I have IMac 10.7.5 Lion I use I forgot the password and I did a few fixes from the we sites, which did not work and now I can not get the computer to reboot the gray screen comes on and if a shift c I get a load bar and it goes half way and help

    I have IMac 10.7.5 Lion I use I forgot the password and I did a few fixes from web sites, which did not work and now I can not get the computer to reboot the gray screen comes on with the apple and if a shift+c, I get a load bar and it goes half way and stops, I can get into the black screen area with the hard drive info
    I did the following:   mount -uw /    rm/var/db/.AppleSetupDone    shutdown/uses/us  reboot Ok I know I should not have, but now I need help to reboot and hopefully not lose everything on the desk top, Linda Markle

    You did the wrong things. In the future it's a good idea to remember not to do something when you don't know what you are doing and what happens when you do it.
    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        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.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see:
           Reset a Mac OS X 10.7 Lion Password
           OS X Mountain Lion- Reset a login password,
           OS X Mavericks- Solve password problems,
           OS X Lion- Apple ID can be used to reset your user account password.

Maybe you are looking for

  • FAQ: Where can I find links about Revel and related apps?

    USEFUL REVEL RELATED LINKS: Getting Started with Revel: http://www.adobe.com/support/revel/gettingstarted/revel_gs.html Revel Support User Forum: http://forums.adobe.com/community/revel Elements Organizer Reference: http://helpx.adobe.com/pdf/element

  • My iphone is eating up data quickly. Help

    I upgraded to iphone 4 on Thursday and in less than 48 hours I've managed to use nearly a 100mb of data. The only apps I've downloaded (downloaded from pc not directly off phone) are BBC news, facebook, live profile, met office. I've switched locatio

  • Unknown error message

    The " unknown error"  message is making me crazy in my old Mac Book Air late 2008. Since the My internar Wifi - bluetooth is not working I decided to use an USB Wfi adapter. I had the 10.8 OSX installed but now I formatted the SSD and installed OSX 1

  • Workspace fonts too small.

    The Workspace font size is too small in Elements Organizer 10. Using Windows 7.

  • Deleting Photos from iPhoto on the iPad

    After selecting photos in iPhoto in the edit mode the Delete button is not active. Is this a bug or am I doing something wrong?