Synchronization of PCI, I / AO: clock edges and expected behavior

I'm writing the data with an analog output on a USB-6216 channel and its reading is back with an analog input.  I do this to check my control signal, and I use the value of collating a way definitive about what was the control signal, I read the other analog inputs that depend on this control signal.

I use the approach suggested in this example:

http://zone.NI.com/DevZone/CDA/EPD/p/ID/2352

More precisely:

(1) create the task of AI (let's say it's 10 kHz)

(2) set up the calendar of the sample for the task of the AI help ' "as the parameter"source"to DAQmxCfgSampClkTiming (i.e., clock edge), using DAQmx_Val_Rising as the active side

(3) create the task of the ao

(4) set the example for the task of ao using 'AI/SampleClock"as the"source"parameter and the sampling frequency of 10 kHz (same HERE), using DAQmx_Val_Rising as the active side.  The sampling frequency, according to another thread I posted, is not particularly explicit here, since it will be triggered at the AI/SampleClock rate still.

(5) to start the task of the ao (which isn't really begin again because it expects the AI sample clock to run)

(6) to begin the task of AI (which actually starts two tasks)

I change the value of output quickly, and I care about timing of level sample.  Have I and ao triggered on exactly the same clock is a little confusing here... This means that the task of AI will read * exactly * as ao task is written, as it is unclear whether she will read the samples 'previous' or 'common '?  Can I use the clock edges, opposed to this kind of task if I want a deterministic behavior?

Thank you!

-Dan

You can call DAQmxSetDelayFromSampClkDelay (Department of redundancy Department anyone?) to configure your analog input task to introduce a delay between the edge of sample clock and the clock to convert (which starts the analog-to-digital conversion).  This will allow time for the output to be resolved before it is measured by the analog input analog.

Best regards

Tags: NI Hardware

Similar Questions

  • Synchronization of 2 USRP in reception (master and slave)

    Hello

    When I run "niUSRP EX Rx finished Sync.vi " for the device USRP slave that is connected to the master via the cable MIMO. I put:
    -> MIMO frequency reference source
    The basic source of time clock-> MIMO
    I have the following error ""niUSRP Initiate.vi on the PLL reference clock does not lock in the allotted " "

    Can you help me solve this problem?
    Can you help me to synchronize two USRP in reception: a slave and the other is the master connected with cable MIMO?

    Thank you

    Hello

    When I run the master and the slave simultaneousely--> I have no error

    I use this configuration:

    IPAdressMaster = 192.168.10.2

    Frequency-> RefIn reference source
    Time base clock Source-> PpsIn

    IPAdress = 192.168.10.3

    -> MIMO frequency reference source
    The basic source of time clock-> MIMO

    Thank you for the help

  • I plugged the ipod clock radio and my ipod is dead.

    I plugged my ipod in a clock radio, and now my ipod (gen 5, 120 gig) simply fails. I tried to connect to my Macbook, it recharges with a wall charger, reset it works... nothing.  Any idea what I could do?

    To 'restore', make sure that you did such as described in this document

    Learn how to reset your iPod - Apple Support- see section iPod with a click wheel

    If you already have...  "Nothing works" mean nothing currently appears on the iPod screen?

    A 5th generation iPod goes up to 80 GB (with stock hard drive).  If your a 120 GB, and you improved yourself, do you know how to open it correctly, with the right tools?  If you do, you can try to disconnect the battery for about 30 seconds and then by him plugging.

  • Computer freezes for a split second every 3 seconds, the cursor disappears for a split second and the clock freezes and restarts.

    Original title: OS time questions continuum (microfeezes)

    It seems that my computer freezes for a split second every 3 seconds approximately. My cursor disappears for a split second, and because the clock freezes and restarts, it displays a worst time of the day. Audio and video have the same gel splitsecond. The problem persists in safe mode. Dell Inspiron 1520, servicepack2 of vista running. I've never had any problems with this machine. Here's a video I took of the number: http://youtu.be/fbUeK8U7wHw

    I would like to know if there is other info/specifications that could be useful.

    Thank you.

    Good,

    1:
    Updated the chipset drivers even though it said I was with the best.

    2:
    Run a SFC scan, which revealed no violations of integrity or files not repaired.

    3:
    five hours and 8 infected files later, my computer is totally cleaned.

    I opened the event viewer, but I don't know what I'm supposed to be looking for. There are many changes to the machine because it began to act up, which were intended to correct the problem. I installed the Service Pack 1, then 2, scan MS Safety and new chipset.

    I also ran a memory diagnostic, but all was well.

    What should I look for in the event viewer? I know that the problem started in a 12 hour window. Should I save and post the logs at the time?

    There is a certain mystery. We need Sherlock Holmes.

    -UPDATE

    I have reset the system to its factory settings. Now, it's as if it were new.

    The problem persists. He still hiccupping. It freezes again for a few milliseconds about once per second. And I'm going crazy.

    UPDATE 2-

    The computer was closed for about 12 hours and when it restarted and Windows initialization complete, the problem disappeared. It works normally for a vintage computer 2007. I'll let you know if I learn more.

  • Windows 7, need to force a PCI Parallel Port IRQ 7 and e/s h 0378

    I have a Kodak FD300 APS Film Scanner.  It is a device that works only under Windows 95/98.  I kept it Windows would have a compatibility mode that would be necessary and hope me to run it.  Fast forward to today.  I have Windows 7 Ulitmate and I bought a parallel PCI Multi i/o card and using compatibility mode was able to install the software of Scanner Film.  When I try to open it, I get an error, which, according to the documentation of the Scanner, has to do with the fact that he really preferred having IRQ 7 and i/o 0378 h.  But when I look at it in Device Manager, the box to automatically assign parameters, and it is grayed out.  I searched the web and have not found any direction on how I can manually assign this map these settings so I can test completely if the compatibility mode allows me to use the device.  I would like to know shortly before my time runs out to flip a card parallel port I have no other use for this film Scanner.  I would really use it again and to help other owners of FD300 who still use the APS film and this scanner.  Thank you.

    If these settings are changed are not a Windows problem, it's a driver problem.  Contact the company for instructions or drivers updated, if none is available, then send it back.

    PS - This is a forum to support Vista, are not questions of Windows 7 to post to a forum Vista.  You should post in a forum that supports the operating system, you need to avoid problems.

    writing in the new message: * e-mail address is removed from the privacy... *

    I have a Kodak FD300 APS Film Scanner. It is a device that works only under Windows 95/98. I kept it Windows would have a compatibility mode that would be necessary and hope me to run it. Fast forward to today. I have Windows 7 Ulitmate and I bought a parallel PCI Multi i/o card and using compatibility mode was able to install the software of Scanner Film. When I try to open it, I get an error, which, according to the documentation of the Scanner, has to do with the fact that he really preferred having IRQ 7 and i/o 0378 h. But when I look at it in Device Manager, the box to automatically assign parameters, and it is grayed out. I searched the web and have not found any direction on how I can manually assign this map these settings so I can test completely if the compatibility mode allows me to use the device. I would like to know shortly before my time runs out to flip a card parallel port I have no other use for this film Scanner. I would really use it again and to help other owners of FD300 who still use the APS film and this scanner. Thank you.

  • How to display the clock (time and date) in the task bar at the bottom of the right hand of the computer

    I ask for help.

    I want to be able to display the clock (time and date) in the taskbar at the bottom right of the computer

    Hi FrankNikolich,

    Thanks for asking! I understand that you want to display the clock and date in the system tray.

    1. have there been recent changes to the system before the show?

    Follow these steps and check if that helps.

    (a) right click on the taskbar, click Properties, click Notifications.

    (b) click on the Customize tab, click on the System Turn On or OFF icons.

    (c) in the drop-down list, select Yes for the clock.

    (d) click OK.

    Answer us with the results. I'd be happy to help you further.

  • How can I get my Gallery of open filters?  I need glowing edges and sketches (charcoal) are these add ons? I plan creative cloud

    How can I get my Gallery of open filters? I have need of scarlet contours and scketch (charcoal) are these add ons I plan creative cloud.

    Hello

    To get the glowing edges and the sketches, do not download any extra on addition.

    Once you have downloaded the latest version of Photoshop, open an image, go to filter > filter Gallery.

    Here, you will get the option glowing edge and sketch.

    Please let me know if it helps.

    Kind regards

    Tanuj

  • Used to properly synchronize my files between my Macbook Pro and iMac.

    Used to properly synchronize my files between my Macbook Pro and iMac. Ive toggled the function of auto-sync, made sure the file names are correctly built, etc.. It is to show the red on all the files on the Pro, but showing the Green controls on the iMac. Any ideas?

    Hello

    We would need to see your files of newspapers of these two machines.

    Newspapers are located in

    Mac:

    The log file can be found here:

    /Users//Library/Application Support/Adobe/CoreSyncSync/CoreSync-YYYY-MM-DD.log

    (where YYYY-MM-DD indicate the date of the last log)

    Note: The user of library users folder is hidden at startup with 10.7 or higher

    See http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html

    Windows:

    The log file can be found here:

    C:\Users\\AppData\Roaming\CoreSync\CoreSync-YYYY-MM-DD.log

    (where YYYY-MM-DD indicate the date of the last log)

    Note: The AppData folder is hidden by default this doc shows how to show if necessary

    http://helpx.Adobe.com/x-productkb/global/show-hidden-files-folders-extensions.html

    Please the zip and send them to [email protected]

    Thank you

    Warner

  • Edges and bottom

    I am new with photoshop and want to fade (put blurred) edges and the background of my photo, not the subjct. What is the best or easiest way to do it?

    Hi Richard, this tutorial should help you:

  • Activate the data bindings and server behaviors in Dreamweaver CC 2015

    Hallo,

    Heute habe ich Dreamweaver written on,

    Leider ist den Panel as data base edge, (Activate the data bindings and server behaviors )

    Wie kann ich wieder're installieren in dreamweaver cm³ 2015.

    ICH am dringend of are. Bitte

    LG

    Roger

    Dies wird helfen, http://www.dmxzone.com/go/21842/enable-server-behaviors-and-data-bindings-panel-support-fo r-dreamweaver-cc /

  • Synchronize the pci-6254 and cDAQ-9174

    Dear all,

    I hope you enjoy!

    I intend to synchronize two cDAQ-9174 chassis for an application where I need to acquire data of 8-Thermocouple, voltage 3, 1-Full bridge (strain gauge) and channel 2-meter at the same time. This enforcement action is based encoder (quadrature with 1024 ticks per round) and I need to acquire data very fast and synchronized in all channels!

    I bought the material and I'm going to set up 3-voltage channels in NOR-9221, Thermocouples-4-NOR-9211, 1 strain of NOR-9237 and 2-meter gauge in NOR-9401 first cDAQ-9174 chassis Modules. I will then put remaining Thermocouples-4 in the second cDAQ-9174 chassis.

    The question is whether it will work?

    If Yes! Then, kindly help me on how to have synchronized it data from these two cDAQ-9174 chassis with all such modules as mentioned above?

    I hope someone can help me with that and can guide me to do this task! I'm using Labview 2009 with NOR-DAQmx 2009

    Kind regards!

    Tajim!

    A few comments after looking at your code:

    I don't understand what you're doing with cancel in the task of counter.

    You try to use the encoder as your sample clock?  You can do it for the module 9221 and NI 9211, but it will not work with the NI 9237 as I mentioned above.  You can move the NI 9237 in a separate task and from there, you have a few options depending on how you want to synchronize.

    How many times you expect to get your clock on cDAQ2Mod3/PFI0?

  • Portege 3490CT: clock stops and how to remove the second operating system?

    I recently bought a 3490CT that has a few probs.
    (1) the continuous clock to stop--has a separate battery? It has an impact on things like sending emails, which are always evil dated/timed. You can set an hour latter, it stops again.

    (2) it came with 2 operating systems, Wind98 and Win2000... you get a choice at startup, how do I remove the old?

    (3) what updates are available to make it faster - playing DVDs on the "plug in the drive" is slow and jerky...

    Thanks to all, any info appreciated.

    Which one do you mean? The clock of the OS?
    Check in the BIOS if the time and data are correct.
    Eventually, you use settings area of bad weather and time of the laptop is going to be permanent synchronize with internet time server. This option that you can find in the Date and time properties

  • Synchronization between PCI - 6251 / PCI - 7811R

    Hello

    I need to synchronize two card PCI, PCI - 6251 / PCI - 7811R. This is my first time with a huge app, and I don't know where I should start.

    PCI - 6251 I connected SCXI - 1001, (in chassis: SCXI-1161,-1326,-1327,-1125,-1324) and I'll use it for measurements. Through the PCI - 7811R I want to communicate using the JTAG Protocol, SPI and meaby measure PWM signals. I'm not sure that anything is possible.

    Please help me or give me some tips where I can find some examples.

    Kind regards

    __behemot_

    Hi __behemot_,

    First synchronization between these two modules can be done thanks to the RTSI, the easiest way bus. The two modules must RTSI connector, so no problem should be there. You can find useful information on the RTSI bus on the following link:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4322

    Also search NI example Finder on RTSI, you will find beautiful examples.

    Concerning the programming of FPGA section, the following links are of course useful when it comes to digital Communication Interfaces and PWM on FPGA:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/5385

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4725

    Please also check the NOR example Finder (easier to find in LabVIEW is the Help menu): in search for a selected tab Toolkits and Modules--> FPGA--> series a. here you can find a lot of examples that may be useful to start.

    Let us know if you need anything else!

    Best regards

    David Varga

    Technical sales engineer

    NIH

  • I registered synchronize after the reset my password computer and firefox and it won't bring back my bookmarks or settings.

    I recently had to "Refresh" my computer and redownload firefox. I couldn't remember my password firefox sync, so I reset it. Then, once he said that it is synchronized, nothing happened. I checked the forums and apparently there is a danger of information being deleted on a password reset, but I see no warning of this at all when I reset the password. Is it possible possible to recover my favorites? I've had hundreds, and many have been for academic work, I worked to years. Thanks for any assistance, you may be able to provide.

    When you reset the password of the account synchronization, and then it has deleted all data on the server, because the synchronization used internal key that is used to encrypt/decrypt data is generated from the password of the key of the synchronization.
    If, unfortunately, that your personal data will be lost unless you have a local backup, possibly a previous (shadow). copy in a folder C:\Windows.old.

    • C:\Users\ < user > < profile > \AppData\Roaming\Mozilla\Firefox\Profiles\.

    "AppData" (XP: Application data;) Mac: ~ / library. Linux: ~/.mozilla) is a hidden folder.

  • HP laptop - 15-r224tx: PCI controller of Data Acquisition and processing for HP for laptop - 15-r224tx

    I get upgraded my laptop (HP for laptop - 15-r224tx) for Windows 10 but I can't find the driver for the controller of PCI Data Acquisition and Signal Processing. Please help me find the right one.

    Thank you!

    You are the very welcome.

    It is the latest version of the W10 driver for this card model... see if this solves the problem, if you have not already installed this driver.

    This package contains the installation package driver for the controller wireless LAN Realtek RTL8723BE/RTL8188EE in the laptop models running a supported operating system.

    File name: sp72517.exe

Maybe you are looking for