How do I synchronize the measurements of the AI and DI (cDAQ)

Hello community,

I have a chassis cDAQ 9174 OR an AI with a DI module in it. I would like to acquire samples with both modules at the same time (they must be Sync) and represent the samples on a waveform graph to see when the digital signal is high compared to the analog signal. Is there a simple way to do it?

Please point me to an appropriate example.

Thank you!


Tags: NI Software

Similar Questions

  • How can I synchronize the notes of macbook or imac with iphone 4?

    Somehow more notes are not synchronized.

    How can I synchronize the notes of macbook or imac with iphone 4?

    I found the help of apple, to login to icloud for my iphone. As soon as I visit icloud. com that I am advised to implement the icloud on the phone, but it is.

    If your MacBook and iMac running El Capitan (OS X 10.11) and that you upgraded to the new features of notes, sync will alone with an iPhone running iOS 9 or later (which is not possible to do it on an iPhone 4). See the quote below: upgrade your notes with iOS 9 and OS X El Capitan - Apple Support

    When you open Notes in iOS 9 and OS X El Capitan for the first time and select Upgrade now, both your notes on your device and your notes on iCloud.com will modernize. And if you connect to iCloud with the same Apple ID on your other iOS devices 9 and OS X El Capitan, all changes made to a note on a single device instantly appear on other devices.

  • How do I synchronize the columns added in Jdeveloper Studio Edition Version 11.1.1.7.0 views

    Hello

    I added a few columns in the database Table and I want to synchronize my point of view on this basis. I am able to synchronize entities, but how do I synchronize the based entity views or views in general?

    Thank you

    Vicky

    And to display objects that are not based on an entity, you must change the query

    will appear as

    Timo

  • HOW TO SYNCHRONIZE THE MONSTER AND THE CAMERA?

    I'M TRYING TO WORK WITH CHARACTER ANIMATION. I CHOSE THE MONSTER. I SEE MYSELF ON HER CANERA, I PUT RESET POSE AND THE MONSTER DO NOT MOVE WITH MY MOVEMENTS. HOW TO SYNCHRONIZE THE MONSTER AND THE CAMERA? Thank you

    Hi Luz... You have the track selected in the timeline panel puppet? You need to target the puppet that is controlled by the webcam/microphone/keyboard/mouse by selecting its track. That it arms for registration.

  • How can I synchronize the files adobe from my phone on my computer?

    Hey guys,.

    How can I synchronize the files adobe from my Samsung Galaxy phone on my computer?

    Hi ellen8210,

    You can simply download your files on cloud of Acrobat, so that whenever you can view/download your files on your computer.

    Please see this link: https://cloud.acrobat.com/folder/3073b35e-9266-46b0-a2cb-18105ac3b878

    Kind regards

    Florence

  • synchronize the inputs and outputs on the USB-4431

    Hello

    I have an application that needs to send a signal on the USB-4431 and then capture it with an entry on the same device.

    Aware that I use two tasks to do this, one for input and one for output. I discovered that a trigger (on the RTSI bus) can cycles of sending/capture sychronisé departure operations so that it can be a constant offset between the captured signal and the output signal.

    Unfortunately, the code I found is for Matlab. I can't find an equivalent for it in the C API of NIdaq. The method is described here; http://www.mathworks.in/help/daq/synchronize-analog-input-and-output-using-rtsi.html.

    What I can't understand is how to implement this on the analog input:

    ai.ExternalTriggerDriveLine = 'RTSI0';
    

    Can someone shed light on how to do it?

    The rest of the things described here, seems to be feasible with a normal trigger:

    ao.TriggerType = 'HwDigital';
    ao.HwDigitalTriggerSource = 'RTSI0';
    ao.TriggerCondition = 'PositiveEdge';
    

    Thank you

    Nirvtek

    You can synchronize the HAVE and AO by sharing the start of relaxation between your two tasks.

    Choose one of your tasks as the "master" and the other to be the "slave" (any).

    Set up a trigger to start of digital dashboard on the task of the slave, and set the source of the trigger to be the trigger of the master's departure.

    Assume the following:

    The name of your device is 'Dev1 '.

    I is the main task

    AO is the task of the slave

    Here's what you would do to sync the two:

    (1) create the tasks I and AO in order that you want to

    (2) set up "timing" on the tasks of HAVE it and AO (you choose the sampling rates must be the same or power-of-2 many of the other (for example 100 K, 50 K, 25 K, 12.5 K, etc...))

    (3) configure your slave (the task of AO) task to have a numerical advantage start trigger and make the source is the trigger for the start of the task of the master (the task to HAVE it). In our case, "Dev1, AI, StartTrigger.

    (4) write data (a sine wave, presumably) to your task AO

    (5) start the task from the slave (the task of AO).  The task of the AO is now in the 'Started' State, but given that you've set up a digital trigger early, it won't actually generate data until he sees a numerical advantage of 'Dev1, AI, StartTrigger.

    (6) to start the main task (task to HAVE it).  The task of the AI does not have a trigger digital early, so the software will immediately generate a start trigger, which also causes a numerical advantage on "StartTrigger/AI/Dev1", which causes the task AO start at the same time.

    7) read your job to HAVE.

    You will notice a few 0 at the beginning of your data to HAVE. It's a result of something called "Filter Delay" and it is an inherent characteristic of all DSA devices - see the manual to use DSA and this article for more information on what is and how to cope.

    I hope this helps.

    EDIT: I just noticed that you pointed out an existing C example. It's exactly what you want. I don't know why you have a resource error booked - I tried it myself and (after changing the AO will of +/-10V to +/-3 .5V), it works beautifully.  Try to reset your device to the MAX (or DAQmxResetDevice() of your program)

  • I bought a used laptop. How can I clean the computer and only the program that the value of the factory. It's a dv4000 HP clubhouse with windows xp

    I bought a used laptop and the previous ovner couldn't remember his password since it's been more than a year she opened a session.  How can I clean the computer and restore it to that only programs that comes with it when buying or facotry settings.  It's a HP Pavilion dv4000 with windows xp?  I have not all discs.

    Go here: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00006110&tmp_task=useCategory&cc=us&dlc=en&lang=en&lc=en&product=464513 and click on the link that best matches your computer (e.g., Presario, Pavilion and HP Compaq Business PC manufactured and sold in 2006 or later).

    Assuming that your computer is 2006 or later, following the links eventually will lead you to the following directions:


    Reformatting a hard drive should be considered a last resort to solve a problem with a computer system. The hard drive can be reformatted and reinstalled the operating system, using the system PC Suite hard disk recovery. Reformatting the hard drive will overwrite all data on the disk. To preserve the data, back up the data of the user as; letters, leaves of calculation, graphics and emails to an external storage device before you reformat the disk. If the PC does not work in the Windows operating system, see reformatting since the recovery disks .
    Do the following to reformat the hard drive and reinstall the operating system.
    1. Connect the PC to the power adapter.
    2. Close all programs.
    3. Click Start , click principally made programs , select System Restore and click on the PC recovery .
    4. When the recovery options are offered, select the option to perform the Recovery of PC and click Next .
    5. The PC will restart.
    6. When the recovery of the PC of welcome message, click OK to continue.
    7. In the system recovery Panel, select System Recovery . By default, the system will perform a complete reformat and will destroy all user data.
    8. Restart the PC when prompted.
    As alternative method for the steps above, click Advanced Options , select the destructive recovery option and click Next to begin the reformatting process.
    The PC is in original factory State and all data in the system, such as the place and the date must be reconfigured.

    NOTE: any software "trial offer" has been included in the original factory image, it will be reinstalled, but it won't work (the test period will have expired).  If so any trial software is a security antivirus software or others, before connect you to the Internet, you must uninstall (using an uninstall tool provided by the manufacturer if available antivirus software) and then install your own anti-virus software.  So, you should download the uninstallers necessary and installers (or buy the software on CD) using another machine before starting this project.

    NOTE 2: See the following important tips from MS - MVP PA supporter (once the restore is complete, click Start > run > winver > OK to determine what Service Pack you have):

    HOW TO get WinXP SP1 or SP2 fully patched after a 'clean install': http://groups.Google.com/group/Microsoft.public.WindowsXP.General/MSG/a066ae41add7dd2b

    1. download & save the installer for WinXP SP3 on your desktop:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5b33b5a8-5E7...

    [Yes, you can jump SP2 if you run WinXP SP1.]

    2. read & take into account:
    http://msmvps.com/blogs/harrywaldron/archive/2008/05/08/Windows-XP-SP...

    3 connected as long as administrator, if necessary, double-click the saved file to install WinXP SP3.  Follow the prompts. Be patient and restart twice when the installation ends.

    4. make the resolution method 2 here (believe me):
    http://support.Microsoft.com/kb/943144

    5. go to http://windowsupdate.microsoft.com . Install all required software, and then click CONTINUE. Select CUSTOM and scan | Install the critical updates of security offered. Still, follow all the instructions.

    [I do NOT recommend install IE7 through Windows Update.]

    6. make sure that automatic updates is enabled; FC.
    http://support.Microsoft.com/kb/306525

    Other references:

    Free unlimited installation and compatibility support is available for Windows XP, but only for the Service Pack 3 (SP3), until April 14-09. Chat and e-mail support is available only in the United States and the Canada.

    Go to http://support.microsoft.com/oas/default.aspx?gprid=1173 . Select "Windows".
    XP"and select"Windows XP Service Pack 3 "

    5 steps to help protect your new computer before going online
    [installation clean = new computer]
    http://www.Microsoft.com/protect/computer/advanced/XPPC.mspx

    Measures to help prevent spyware
    http://www.Microsoft.com/protect/computer/spyware/prevent.mspx

    How TO get Windows XP Gold fully patched: http://groups.Google.com/group/Microsoft.public.windowsupdate/MSG/3f5afa8ed33e121c

    1. download & save the WinXP SP2 installer on your desktop:
    http://www.Microsoft.com/downloads/details.aspx?FamilyID=049c9dbe-3b8...

    [Yes, you can jump SP1]

    1B. download & save the installer for WinXP SP3 on your desktop:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5b33b5a8-5E7...

    2. read & take into account:
    http://msmvps.com/blogs/harrywaldron/archive/2008/05/08/Windows-XP-SP...

    3. administrator, if necessary, double-click the saved file to install Windows XP * SP2 *.  Follow the prompts. Be patient and restart twice when the installation ends.

    3B. logged on as administrator, if necessary, double-click the saved file to install WinXP SP3.  Follow the prompts. Be patient and restart twice when the installation ends.

    4. make the resolution method 2 here (believe me):
    http://support.Microsoft.com/kb/943144

    5. go to http://windowsupdate.microsoft.com . Install all required software, and then click CONTINUE. Select CUSTOM and scan | Install the critical updates of security offered.  Still, follow all the instructions.

    [I do NOT recommend install IE7 through Windows Update.]

    6. make sure that automatic updates is enabled; FC.
    http://support.Microsoft.com/kb/306525

    References with dubbing:

    Free unlimited installation and compatibility support is available for Windows XP, but only for the Service Pack 3 (SP3), until April 14-09. Chat and e-mail support is available only in the United States and the Canada.  Reach
    http://support.Microsoft.com/OAS/default.aspx?gprid=1173 | Select "Windows".
    XP"and select"Windows XP Service Pack 3 "

    Protect your PC!
    http://www.Microsoft.com/athome/security/computer/default.mspx

    Learn how to protect your PC by taking the three simple steps
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=3AD23728-497...

  • How do I get the toolbar and the sidebar to display in the Finder?

    How do I get the toolbar and the sidebar to display in the finder window? The choices are grayed out in the view.

    Hello!

    You clicked on dock finder, take the cursor to the top and clicked on display and then click on hide menu bar .it toolbar is hidden.

    See the side bar, tool bar again click on view - once again, click Show toolbar.

    Thank you!

  • I need to reinstall my Linux Mint, therfore also Thunderbird. How can I save the addresses and all my messages (copy and again after installation Thunderbird)

    I need to reinstall my Linux Mint 17 companion, therfore also Thunderbird. How can I save the addresses and all my messages (copy and again after Thunderbird installation)?

    You will need to backup your Thunderbird profile.
    _ http://KB.mozillazine.org/Thunderbird: _FAQs_:_Backing_Up_and_Restoring #Manually_back_up_the_profile

  • How can I restart the date and time?

    The date and time on my task bar have become desensitized. How can I restart the date and time?

    I can't access the same system for the date and time preferences.

    Have you tried restarting your Mac?

    See you soon,.

    GB

  • How can I keep the dock and menu bar in the window

    How can I keep the dock and menu bar in the window

    First of all, go to System Preferences and select general:

    Under the dark menu and dock option, uncheck "hide and show the menu bar automatically".

    Go back and select Dock Prefs system:

    Make sure that "automatically hide / show the dock" is not checked.

  • How can I change the date and time on my HP officejet pro

    How can I change the date and time on my HP Officejet pro?

    I'll be gald to help you in this situation.

    What officejet do you have?

    You can go to the settings on the printer screen.

    1. click on Setup

    2. click on Preferences

    3. choose the Date and time

  • How can I change the n and m?

    I signed up for xbox live and put the wrong email address (* address email is removed from the privacy *). How can I change the n and m?

    Hello

     
    The problem is related only to the Xbox. Please visit the link below to find a community that will support what ask you:
    http://support.Xbox.com/en-us/contact-us
  • I've lost the last two digits of my valid key for xp pro sp2 and notebook, how do I get the key and support? where?

    I've lost the last two digits of my valid key for xp pro sp2 and notebook, how do I get the key and support? where?

    Hi Jonathan,.

    Please go to the Microsoft Community Forums.
    After the description of the question, I understand that you have lost the last 2 digits of the product key.
    Let me go ahead and help you with the issue.
     
    Please answer these questions, which will help us to help you best.
    1. How did you get the product key?
    2. the operating system come preinstalled on the computer?
     
    I suggest you for the link and check if that helps:
    How to identify, locate, and replace a product key
     
    See also:

    I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.
  • How can I recover the files and programs before a system restore? my document folders are all empty and my programs will not open!

    How can I recover the files and programs before a system restore?  my document folders are all empty and my programs will not open!

    I know they are there and hidden somewhere, but this restoration took my settings of the computer to 2004! We lost all our data, our software that we use to operate our company at home, our quickbooks that has all our financial data, family photos, videos, Outlook will work not so no e-mail, all turned in time and 6 years ' worth of documents have disappeared.

    What happeneded was that I was trying to upgrade to quickbooks software when I got an error, I cancelled out of the facility, then restarted and that's when I got an error hal.dll something? I thought about a system restore would allow me to go back in time to just before when the error occurred, but he basically took my computer back to factory settings, so all the programs that I installed and paid hundreds of dollars for the past six years has disappeared, Microsoft Office and very expensive construction estimating software that we wil have to pay once AGAIN for If I can't get this program working properly.

    I am a fool! I can't believe what's happening.

    Someone at - it instructions on how I can retrieve either the programs and data that I need specifically or how to go and seek shade from the files I read online on and restore my computer for about 12 hours ago?

    Thank you all!

    Sally in Georgia

    Looks like you did a system rather than a system restore recovery.  If you have inserted a disc supplied with your machine and booted from it, you probably erased the disc and installed the original operating system provided with your computer.  Usually, a step in this recovery is to do a full format or quick of your drive.  If you did a full format, your data is permanently lost.  With a quick format, your data may still be there, somewhere but inaccessible by normal means.  Applications must generally be installed, in order to recover the files probably will not help unless you have the original installation media.  Your other data files (images, videos, financial data) may be salvageable, but at this point, it would be advisable to take your computer or your disk to a business/professional who is experienced with data disc recovery.  It will be cheap and there is no guarantee.

    Impatient, remember investigate you a backup strategy for your computer and critical data.  Hard drives can go wrong with little or no warning.

    HTH,
    JW

  • How do you set the time and date on fax for hp officejet 4622

    How do you set the date and time on the fax for hp officejet head 4622

    Hi Chrisharrison23,

    Date and time should be under configuration tools or fax setting in the printer control panel.

    OfficeJet 4620:

    1. click on the key icon on the control panel of the printer

    2. go to tools

    3 scroll to the date and time

    I would like to know if you are able to locate the setting?

    Officejet 4622: Set the date and time

     

Maybe you are looking for