How do I synchronize a 250x250 Scan AO and AI with hardware clocks?

Hi,
I am building a Scanning tunneling Microscope STM which requires a 250 by 250 pixel scan with a delay of about 1ms between pixels. I want to start the scan with a software trigger. The scan entails outputting an x and y value using two AO channels , wait about 1ms then read a tunnel current analog input value at that position, store it in an array and repeat till done. The array will then be plotted using an intensity graph.
As an option, I would like to plot a single line of the scan as it is completed to allow operator monitoring as the scan is produced. I have programmed this in sw using nested while loops but the overhead is too great for 1ms pixel sample times.
I have found a close solution in forum under the AI delay following an AO that used a hardware trigger to start process : See" AODelayAI.vi"
I have a PCI MIO 16E-4 DAQ board and am using LABVIEW 6.
PS: Is there any discrete that is generated by an AO which can be used to trigger an AI or a counter?

I have several follow up questions:
Q1)Re your suggestion to use the AO to trigger a counter : What signals sources from AO processes are available to route to the counter trigger? I have no external sources.
Q2)
What about this alternative proposal for a single AI read at each point?
a) use counter0 to generate a single pulse (about 1ms wide) , low phase 1, hi phase 2. Start counter with SW.
b) set AI trigger to output of counter0. Trigger on hi to low edge.
c) set AO trigger identical to AI trigger. Trigger on low to hi edge.
Read
Set AI scan rate and number of scans to match the AO scan parameters with timing based on internal scan clocks.
Q3)I foresee a possible need to make 20 to 100 AI samples at each (x,y) point for post processing averaging of noise effects. What modifications are needed to AI trigger scheme to make these reads to a buffer and read the buffer without adding significant software overhead?
Thanks again

Similar Messages

  • How do I synchronize my e-mail accounts and folders

    Hi everybody on this line...
    I am using a Powerbook + a Mini mac and I would very much like to read/delete/save all my incoming e-mail on both machines without doing the work twice (on each machine). So how do I synchronize my e-mail accounts and folders (when I delete on e-mail on one of the mac it will also be deleted on the other machine or if I move an e-mail to a folder, it would also me moved to the same folder on the other machine).
    I am award of the possibilities that .mac give me but as far as I know I can only use .mac for my mac e-mail account ([email protected]) and not for my other accounts that I have from my internet provider ([email protected]) which is a pop account.
    I hope you understand my question.
    Thanks in advance
    Best Lars Kudsk, Copenhagen, Denmark
    Phone: DK +45 2095 8283
    Minimac + Powerbook   Mac OS X (10.4.6)  

    You're welcome.
    Could you please make a totally run down (step by step) of
    how to synchronize one mail account between to machines.
    There is nothing else to say, really. Locally stored mailboxes cannot be synchronized, period. Mailboxes stored on the server are synchronized automatically without you having to do anything else. If there is something you don't understand, you'll have to ask specific questions.
    The only way to have an exact copy of all your mail in both computers for locally stored mailboxes is to copy the entire ~/Library/Mail folder between them every time. Mail shouldn't be running on either computer while you do this, and it would be a good idea to copy ~/Library/Preferences/com.apple.mail.plist as well.
    right now the inbox of my Imap account is showed
    together with my other e-mail accounts inboxex
    As it should be. Mail organizes the standard mailboxes by type instead of by account, so that you can look at them both individually and combined as if you had just one of each type.
    ut it is also showed futher down in my "menu" wtihin
    the mail program, with a logo as a black ball,
    together with two folders that I have made (Prut
    mappe) and (choir OF young believers).
    This is also normal. I assume the "menu" you're talking about is the mailboxes list. Since Mail organizes standard mailboxes by type, the rest of mailboxes must be shown separately. In Mail 2.x, local custom "On My Mac" mailboxes are shown ungrouped at the root level of the mailboxes list, and an account group is displayed for each IMAP account to organize custom mailboxes stored on the server.

  • Hello, i was wondering if you can help me figure out how to edit a video to zoom in and out with the beat of the music?

    Hello, i was wondering if you can help me figure out how to edit a video to zoom in and out with the beat of the music?

    Use markers on every beat.
    The edit the zoom/scale to the markers.
    Adobe Premiere Pro Help | Working with markers

  • PCI-6281 How to use80 mHZ timebase for A/d and D/A sample clocks

    Does anyone know how to use the 80 mHZ internal clock as the timebase for my A/D and D/A sample clocks rather than the default 20 mHZ timebase?
    I am using straight NI-DAQmx version 8.3 with C code. No Lab View, no Measurement Studio.
    I have an application which uses the D/A to generate a sequence that is collected by the A/D.  The D/A is clocked out at an integral multiple of the A/D clock.  In order to maintain this integral relationship I can only use a limited set of Sample Clock Timebase Divisor pairs (as returned by DAQmxGetSampClkTimebaseDiv).  This means that am further from my desired base frequency than normal.  For example, using the degault 20 mHZ timebase, if I want a 2000 hz center fequency, the closest I can get is 2003.205 hz.
    I cannot find anyway to use the 80 mHZ internal clock as the timebase for my A/D and D/A sample clocks.  If I could, it would be possible to get closer to my desired center frequency.

    Post is responded to in the multifunction DAQ forumn.
    PCI-6281 How to use80 mHZ timebase for A/d and D/A sample clocks
    Have a good one.
    Michael D
    Applications Engineering
    National Instruments

  • How do I temporarily disable virus scanning software and firewall software to install a program?

    I have a Hallmark Card Studio Special Edition. I have been unable to install it. I asked Hallmark and they told me how to do it, but I need to disable both the virus scanning software and firewall software to start the installation over.

    Which problems are you experiencing if you visit that website?
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"

  • How can I synchronize my Outlook for Mac 2011 contacts with iCloud?

    Don't works synchronize my outlook for mac 2011 contacts with iCloud. Someone can help me please?

    Outlook 2011 for Mac is not compatible with iCloud Contacts & Calendars because Microsoft do not support the industry standard CardDAV and CalDAV protocols that iCloud uses.

  • How to Improve the Performance of SQL Server and/or the hardware it resides on?

    There's a particular stored procedure I call from my ASP.NET 4.0 Web Forms app that generates the data for a report.  Using SQL Server Management Studio, I did some benchmarking today and found some interesting results:
    FYI SQL Server Express 2014 and the same DB reside on both computers involved with the test:
    My laptop is a 3 year old i7 computer with 8GB of RAM.  It's fine but one would no longer consider it a "speed demon" compared to what's available today.  The query consistently took 30 - 33 seconds.
    My client's server has an Intel Xeon 5670 Processor and 12GB of RAM.  That seems like pretty good specs.  However, the query consistently took between 120 - 135 seconds to complete ... about 4 times what my laptop did!
    I was very surprised by how slow the server was.  Considering that it's also set to host IIS to run my web app, this is a major concern for me.   
    If you were in my shoes, what would be the top 3 - 5 things you'd recommend looking at on the server and/or SQL Server to try to boost its performance?
    Robert

    What else runs on the server besides IIS and SQL ? Is it used for other things except the database and IIS ?
    Is IIS causing a lot of I/O or CPU usage ?
    Is there a max limit set for memory usage on SQL Server ? There SHOULD be and since you're using IIS too you need to keep more memory free for that too.
    How is the memory pressure (check PLE counter) and post results.
    SELECT [cntr_value] FROM sys.dm_os_performance_counters WHERE [object_name] LIKE '%Buffer Manager%' AND [counter_name] = 'Page life expectancy'
    Check the error log and the event viewer maybe something bad there.
    Check the indexes for fragmenation, see if the statistics are up to date (and enable trace flag 2371 if you have large tables > 1 million rows)
    Is there an antivirus present on the server ? Do you have SQL processes/services/directories as exceptions ?
    There are lot of unknowns, you should run at least profiler and post results to see what goes on while you're having slow responses.
    "If there's nothing wrong with me, maybe there's something wrong with the universe!"

  • How do I synchronize my iPad (iOS 8) reading list with Mac Yosemite?

    When IOS 8 came out for the iPad, I instantly installed it on my iPad Air, realizing too late that it meant that my iPad and Macbook Pro reading lists in Safari would no longer synchronize without Yosemite on my Mac.
    So, today I installed Yosemite on my Mac, but the problem persists. My very, very long reading list on the iPad does not show up on the Mac, and even though I've tried turning Safari sync in iCloud off/on on the Mac, it doesn't work. I considered turning Safari sync off/on in iCloud on the iPad as well, but I'm afraid that will delete the reading list completely.
    Any ideas?

    Hi Griff W.,
    Thanks for your reply.
    I've tried the tips mentioned in the article you link to but unfortunately this didn't solve the issue. That is to say, after turning Safari in iCloud off and on again as described in the article,  on both my iPad Air, my iPhone 4S, and my Macbook Pro I did manage to sync the iPhone and the Mac with each other.
    However, neither the iPhone nor the Mac syncs with my iPad.
    So the new problem is: since turning iCloud for Safari off and on again for the iPhone 4S and the Macbook Pro did work, why did it not work for the iPad Air? I've tried it repeatedly.
    (Oh, and I've checked that I'm using the same Apple ID on all three devices, so that's not it either.)

  • My Adobe XI only shows gray pages when I try to scan to my drive from an Epson WF-3540.  The file shows it is a multiple kb pdf file.  To read it I have to e-mail it to myself and let online mail reader open it.  Can scan jpg and tiff with no problem.

    Is there a compatibility issue with Adobe Reader XI 11.0.10 and the pdf scan program fro an Epson WF-3540 All In One?  Is it an Epson Problem?  Is it because the "source" shown in Properties from an Epson is a PDF 5.xx file?  I can't understand why I can e-mail the item and get it to appear in the online Adobe reader, but if I try to save it to my computer drives it comes out with blank (gray) pages again. Is it a Win7 problem?  Help I have a lot of scanning to do and only know everything was fine until about ten days to two weeks ago.  Don't know if an update for Epson, Win7, or Adobe might be problem.

    Thank you very much.! Two weeks of very frustrating uninstalls, reinstalls, cursing, moaning and  thinking about buying a new scanner all solved with the check in the box.  I have no idea how it got unchecked, as I never mess around with things that work.  Incidentally, I got a "Fraud Detection Alert" on ~grafitti's message.  When I went to the Adobe page and read the answer, I could not find the "Correct" button anywhere.  Please see that ~grafitti gets some more points.
    Again,  Thank You!
    Don B
    A truly happy person is one who can enjoy the scenery on a detour.

  • How do I remove my old Apple ID and replace with a new one

    How do I remove my old Apple ID on my IPhone and replace it with my new Apple ID to match with my iPad

    Go to Settings>iTunes & App Store>Apple ID. Tap the old ID and sign out. Then sign in with the new ID.

  • How can I keep from losing apps, data and photos with iTunes?

    I am setting up an iPhone for the first time on iTunes.  I am trying to prepare for moving to the iCloud from me.com.
    - I authorized the computer running iTunes>>>  successful, I think
    - transferred purchases to iTunes>>> successful, I think
    - I synced the apps >>>  all apps on the iPhone were deleted
    - went back to sync apps & selected the boxes in the left panel>>>>> apps were installed on iPhone, no organization, data lost
    - restored iPhone from (automatic) backup>>> all apps were restored with data & organization, then iTunes automatically synced & removed apps
    - selected sync apps to be able to select all apps in left pane, but did not apply sync
    - restored iPhone from (automatic) backup>>> all were restored, but iTunes has not yet synced to remove all apps
    How in the world do you get iTunes to save the apps & data that you have without having what you have wiped out?
    I don't have anything but the following:
    - apps + data
    - contacts
    - email
    - calendar
    - photos
    I have no songs, videos or other media.  I have only what is on the iPhone.  I am NOT trying to wipe it out or put info on it from my computer. I just want to upgrade the iPhone to the latest iOS and preserve what I have on the iPhone.  Is this an unusual expectation?  Why does iTunes wipe the iPhone when it syncs?  Shouldn't I have to somehow delete something without it automatically being deleted?
    It is like having a living, breathing NIGHTMARE!
    Can someone please advise me the steps to take to do this?
    I am just trying to prepare my wife's phone so that I can try to move both our phones to iCloud since me.com is disappearing.  I can't wait to start the process of actually moving the phones.  What will that be like if I can't even get her phone upgraded to iOS 5.1 without losing everything?
    Please help.
    Thanks.

    I forgot to mention that I am running iTunes on a Windows 7 PC.
    I put this in a reply because I couldn't find out how to edit the post.

  • How to use time capsule as hard drive and connect with existing net gear router

    I have a netgear D6300 router, which i use to connect to internet - which is excellent so far for my downloads and games etc for my PS4 and hence am keen to continue using it. I bought the Airport time capsule for wireless storage, and when i set it up, I was advised on setup to connect the TC to my router, and it did what it needed to do.
    Now, in order to connect to internet, i need to connect wifi to net gear router, but to access time capsule, i need to change wifi connection to my newly created wifi network with TC.
    I want to use TC as a backup storage for my mac (its a 3TB TC), but also, my laptop has only 500gb hard drive which is now half full from downloads, so i want to transfer all my downloads to my TC and use it as an external hard drive, and future downloads to TC - but when i connect to wifi of TC, i can copy my folder on my mac, but not paste it to TC in finder. (the only thing in TC is an image of tmg of my macbook from first backup.).
    How do i use TC as an external HD - there wasn't much difference in price of external wifi/wireless HD between non-TC and TC at 3gb, so i just thought i'd go for the airport TC option.
    And is it possible to keep connected to wifi internet via net gear router, AND wifi TC - the whole point i bought it (from US shipped to australia on eBay, therefore not able to send back) was to use TC as external large HD via wifi, but keep my net gear router going.
    Surely there is a way to not having to flick between wifi connections of TC and net gear internet.
    When i'm connected to TC, i can't access internet, only TC.
    And I don't really want to connect TC to my router via ethernet cable, as too many cables.
    This can't be a difficult situation to manage, but i'm not sure how to do it.
    Thanks

    And I don't really want to connect TC to my router via ethernet cable, as too many cables.
    Sorry but you have very little choice.
    The TC can join to a wireless network.. but it is flakey, poor, slow and highly NOT recommended way to do things.
    Nevertheless if you want to give it a try .. here is the method.
    How do I setup my time capsule with wireless internet?
    You SHOULD, plug the TC into the Netgear and run it in bridge mode.. you set the wireless to create a wireless network.. then when you connect to the TC it will be also connected to the internet and fast.
    (if you don't do that you may as well have used a USB drive plugged into the Netgear, as it would be just as good).
    TC is not actually designed for mixing Time Machine backups and files.. but if you are just storing downloads that is ok.. but I strongly recommend you use a DMG or sparsebundle to prevent the TM and the data from messing each other.
    See Pondini instructions here.
    Q http://pondini.org/TM/Time_Capsule.html

  • How do I replace a failed hard drive and restore with time machine

    My hard drive died on my 2009 MacBook Pro. I regularly backed up my data using Time Machine. How do I format the drive and restore fom my USB TimeMachine drive.

    If you haven't made a Lion or Mt Lion install USB thumb drive or used the Recovery Disk assistant to make a USB thumb of the Recovery HD then you will need to boot the system from the original OS Install disk that came with the system or a Snow Leopard disk you bought to upgrade to Snow Leopard. Then use the option to restore from TM backup.
    Or if you have made  New backup since install Lion or Mt Lion then that Tm backup may have a copy of the Recovery HD on it. Only way to tell is connect your TM backup drive and when starting the system hold down the Option key and see if you get a link that says Recovery HD.

  • How do I fix yellow spots on face and background with Premiere Pro/After Effects CS4?

    Hi,
    I have the CS4 version of pretty much all Adobe products.  I have to color correct and edit a video that was shot during a seminar inside a conference room with an average digital camera.  The camera zoomed in a lot on the subject when he was talking.  So, it's not the best quality video and I'm trying to make it look as nice as possible.  I've done some general color correcting and it looks okay, but there are a number of yellow spots on the subject and in the background, mainly on brownish surfaces (the speaker is African American).  This probably appeared because of the low picture quality and zoom, but how can I fix it?  When I do the general color correction, the spots just change color, but don't disappear.  I played around with different things, but couldn't fix it. Is there a way to do this with Premiere Pro or After Effects?  Or would it be very complicated?  Or not possible at all?  The camera zooms in and out a few times, too, so would that pose a problem for correcting this?
    Thanks for any info!

    It can be done in After Effects.
    Watch this tutorial:
    http://library.creativecow.net/devis_andrew/AE-Basics-52-Paint-6/1

  • How to make three drop downs in DW and link with paypal?

    I have this tiresome question to which I have been looking for a solution. The solution is easy but somehow my brain synapses don't work there.
    DreamWeaver + Paypal.
    My form has 3 dropdowns
    First is primary color - red , green etc- Visitor chooses one.
    Then How does he get linked to the second dropdown form- Secondary colors- red blue green etc-
    After he chooses the secondary color and Then he needs to choose the third dropdown- size  -
    AFTER that he presses the paypal button.
    Now please can some altruistic soul give me a solution of can this be done through Dw? (3 forms+paypal)
    What would you suggest- radio buttons or drop down menu?
    Can all three forms be linked to paypal in one go itself? (primary color+ secondary color  + size?)
    Naturally I will have to make paypal forms for each color, but is there any easy way?
    Also is there any way in which pressing on a button brings up an image?
    If you have been patient enough to read this and can help me, I'll be so indebted to you!
    Thanks,

    This is called 'Dependant Dropdown' or 'Cascading Dropdown'.
    There's a beautiful jQuery plugin you can use to get this done.
    Download plugin here: https://github.com/dnasir/jquery-cascading-dropdown
    Demo(s) here: http://dnasir.com/github/jquery-cascading-dropdown/demo.html

Maybe you are looking for

  • Hi frnds ,

    hi friends,       myself shabas from india there is a problem with my i phone 3 my debit card details security code is not working in the case of review of my apple id confiration.please help if you can?

  • External hard drives are now in my dock. How to remove forever?

    For some reason, my four external hard drives and internal hard drive are now appearing in my dock. They cannot be dragged out (smoke poof), I can QUIT them and they are removed from the dock and remain on the desktop where they ought to be. But when

  • How to i get m3u's to show up in the music section like they did before?

    Now when you try to play an m3u it starts in the internet songs section instead of the music section like it did before, is there any way to revert it  back to opening in the music section instead?

  • Error while using startcmd.sh for OdiExportScen in ODI 11g

    Hi, I have upgraded ODI 10g to ODI 11g. I have a package wherein I have defined a procedure which has the following jython code for export of scenarios to ODI server. import os scen='#DEPLOYMENT.PVV_GET_SCN' scen_name=scen[5:-7] scen_ver=scen[-7:-4]

  • Relationship between Objects Not Found in PA

    Dear all, I have uploaded objects (Org Unit, Job, and Position) and the relationships between objects separately using LSMW. When i checked the update of the relationship between objects in PA30, but the relationship between objects (Org Unit, Job, a