How to acquire analog signal and send a TTL pulse at the same time based on PXI 6123

Hi,
I am using a PXI-6123 data acquisition card, as the picture show in the attachment ,I want to acquire the analog signal of ai0 through reference analog window and at the same time send a TTL signal to trigger my camera. I have tried two methods, one is using the DAQmx Export signal.vi another is using DAQmx connect terminals, but when the data acquisition card acquire the analog signal, the DAQmx Export signal.vi and the DAQmx connect terminals sometime can send an TTL pulse ,sometime can not.
I don’t know why?  or some other method that can achieve my arm is appreciated.
Regards
chunlei
Attachments:
method export signal.vi ‏21 KB
method connect terminal.vi ‏36 KB
Send a TTL pulse.JPG ‏288 KB

Hi,
Have things changed over the years?
I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
1. What can be done to synchronise AI with DO?
2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
Thanks in advance!

Similar Messages

  • How you create a group to send many txt msg at the same time?

    How you create a group to send many txt msg at the same time?

    The iPhone does not support groups for messaging. There are apps in the app store which purport to be able to do this.

  • Is it possible to load and send variables to php at the same time?

    Hello, with this line:
    request.method = URLRequestMethod.GET; you can receive
    variables from php.
    and with request.method = URLRequestMethod.POST you can send
    variables.
    But is it possible to do this simultaniously ?

    they both send and receive data sequentially. ie, data is
    sent (if there is any) and then data is received (if there is
    any).

  • Synchronous acquisition 4 analog signal and independently count TTL impulse

    Hello!
    I'm have NI DAQ board PXI-6115. I have problem:
    Need synchronous acquisition 4 analog signal and independently count TTL impulse. When value counter will, at example, 5000 acquisition must stop. I'm read program in LV 7.1 but have a problem.  In HELP write:"You can create only one counter input channel at a time with this VI because a task can contain only one counter input channel. To read from multiple counters simultaneously, use a separate task for each counter". I make two different task, but error not disappear.
    I don't know how escape this error?
    Program VI with Front panel screen-shot in attach archive.
    Message Edited by _Pavel_ on 05-23-2007 09:06 AM
    Attachments:
    Progr.zip ‏80 KB

    Hey Pavel,
    Thanks for contacting National Instruments support.  Your program, in it's current state, is attempting to generate a finite pule train and count edges on the same card.  Finite pulse generation is a two counter device, where one counter generates the pulse train and the other counter gates the generation, or goes high when the generation is to start and low when it is finishes.  So no matter which counter you select for the count edges task you will get the error you describe. 
    Is it possible to use the pulses that you are counting as an external clock?  If so then you could just generate 5000 pulses and you would only acquire 5000 samples. 
    I have attached a modified example from your code.
    Let me know what you think.  It only acquires 5000 samples as desired.
    Regards,
    Kenn North
    Senior Product Manager - Search, Product Data
    http://ni.com/search
    Attachments:
    Progr.vi ‏58 KB

  • I was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ?

    i was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ? i dont need the pictures or the back ups , i want to delete them but they are not there

    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown asBackups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • Phone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
    GB

  • How can I share applications and softwares with different users of the same computer?

    First question: How can I share applications and softwares with different users of the same computer?
    Second : Can I use 2 different I cloud accounts to synt 2 iphones with one computer?

    Applications installed on the admin account are available to all user accounts unless Parental Controls are enabled.
    Yes.   Separate user accounts, help here >   How to use multiple iPods, iPads, or iPhones with one computer

  • Yesterday, I downloaded I.O.S. 8 to both my iPhone and my wife's iPad at the same time.  She wants I.O.S. 8 removed.  How do I remove it from both devices?  I am willing to resort to my old IOS7.1.2.

    Yesterday, I downloaded I.O.S. 8 to both my iPhone and my wife's iPad at the same time.  She wants I.O.S. 8 removed.  How do I remove it from both devices?  I am willing to resort to my old IOS7.1.2.

    Sorry...downgrading is not supported.

  • HT204368 How do I connect more than one Bluetooth enabled music device (subwoofer and Jambox) to my iPad at the same time?

    How do I connect more than one Bluetooth enabled music player (subwoofer and Jambox) to my iPad at the same time?

    You could start by posting onto an iPod forum instead of a "Using iPad" forum.  

  • Hello good morning ....how can I have all my PDF files  in Ibooks at the same time in my iPad and my iPhone, Thanks.

    hello good morning ....how can I have all my PDF files  in Ibooks at the same time in my iPad and my iPhone, Thanks.

    That's exactly how it's going to work. Unless you've set up separate iTunes playlists for your devices, the books will be deposited the books section on iTunes, and will appear as PDFs.
    As Gus2259 said, you can use iCloud or Dropbox, or transport it through iTunes via an attached computer, or even use a cable.

  • How to play stereo mix music and sing in my mic at the same time?

    Hi guys, need help regarding Realtek HD audio driver
    I want to play stereo mix music and sing in my mic at the same time.... not for recording purposes but in chatroom let's say.
    I'm using XP...Toshiba Satellite S4747 laptop
    In the Realtek software under " Realtek HD audio input" I have mic and stereo mix both.... but I can only select one at a time.....
    Any solutions plzzz thxxxx
    On a different note.... a friend of mine whose using one non-Toshiba laptop with win XP has an older version of the Realtek audio driver and can select both mic and stereo mix at the same time... I downloaded that version into my laptop but I still can only select one at a time....

    Check the audio settings in Windows and dont forget in Realtek HD audio manager. You can find it in control panel.
    I think your microphone is set to mute so check this.

  • How do you apply a master page to multiple documents at the same time?

    How do you apply a master page to multiple documents at the same time?

    Hi friends,
    Thank you for trying to help me out.
    Let me explain it a bit to remove the ambiguity.
    I have 10 documents nested under a book. Each of these documents have 'n' number of pages. I want to apply my custom made master page "First" to the first page of all these 10 documents in one go. The remaining pages of the documents have to be in default "Right" master page format. How will I do it?
    I tried selecting all the documents and importing the formats from another document with the custom made "First" master page. The master page format is getting imported but the first page of all the documents still remain with the default "Right" master page format.
    I think now my question is more clear...

  • How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do this Excel but don't know procedure in Numbers.  Thanks.

    How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do it in Excel but I don't the procedure in Numbers.  Thank you!

    The only I way I can think of to modify a single value and have that value change in multipl locations is to have all "the other places" reference a single cell.  There is not way without a referene to modify a set of cells simulateously.
    This may be something like what you want:
    Enter a value in the table "Original Data" cell A1 and the A1 cells of tables Ref1, Ref2 and Ref2-1 will change

  • It is possible to charge an iPad3 over USB and transmit data over USB at the same time?

    Hello,
    it is possible to charge an iPad3 over USB and transmit data over USB at the same time?
    If yes, how?
    Thanks
    Best regards

    OK!?
    That is right that the USB data oins are not connected to +5V pin.
    But i found a description for a self built power supply for iPad.
    http://timothyb.net/DIY_iPad_2_USB_Charger.html
    and
    https://www.mikrocontroller.net/topic/262610?goto=2726627#2726627
    The description say: data pin D- need a voltage level of 2V and D+ 2,857V
    when the data pins have this special voltage levels and VCC has +5V only then the iPad is charging.
    The voltage "D+/D- coding" is the key for the iPad to charge.
    OK now back to my problem.
    The regular USB data pin voltage level is 0,3 - 3.,0 voltage. When the iPad is charging the data pins have this special voltage level. Now i try to transmit data over the usb data pins with the. Normaly the USB port transmit the data with a voltage level of max. 3V.
    And here my problem. The higher voltage level at the data pins cares therefor that the iPad stop the charging.
    Is that correct?

  • Is it possible to send several http requests at the same time?

    hi:
    is it possible to send several http requests at the same time in j2me application, or it's device specific.
    It's ok in my NOKIA SYMBIAN C++ application.
    regards
    Message was edited by:
    danielwang

    Is it possible to have 2 threads running at the same
    time at different times eg 1 repeats every 20
    miliseconds and the other 40 for example. Yes.
    http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html

Maybe you are looking for

  • Unrecognized audio CDs while importing

    my ITunes don't recognize tracks of audio CDs. Based on the informtion in some of the threads I created new account and there everything works fine and I can import CDs with their labels. I've deleted the preference files and launch Itunes again but

  • DAQ frequency measurement using anolog input channel

    Hello, I try to develop a DAQ application which run on a real time target. I want to measure frequency using anolo inpur channel of my DAQ card. I have a problem. Let me first try to explain what i trying to do. In the first loop i do sampling and sh

  • How do i open  turbo tax?

    I wnt to install Turbo Tax in my desktop and I have this message: You can't open the application Turbo Tax Deluxe 2012 because it is not supported on this type of Mac. I have Mac Snow Leopard 10.6.3. Could you guys help me with this problem to resolv

  • Visual C++   Errors When trying to update ITunes on Win 8.1

    Visual C++   Errors When trying to update ITunes on Win 8.1

  • Bank adress create.

    Hi i need BAPI  ou MF to  create data bank  adress   ( street , city )  transaction XD02 thanks. Moderator message: I need you to please do some research before asking. [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]