Synchroniz​ation between DAC and ADC on NI 4451

I need for my DAC and ADC software buffers to line up with each other in analog time.
I'm using the following code to start the DAC and ADC conversions:
status = WFM_Group_Control (deviceNumber, group, START);
if (status==0)
status = SCAN_Start (deviceNumber, (short *)ADCbinArray, total_samples*SENSOR_CHANNELS, sampTimebase, sampInterval, scanTimebase, scanInterval);
But I end up with a 70-75 millisecond delay between the DAC start and the ADC start. I need synchronization to at least a few hundred microseconds between the DAC and ADC buffers.

One clarification point is needed her. Yes, it is true that both the Analog Input and Analog Output of the 4451 use the same clock source. However, the way you currently have the start of these operations is to start each one separately through a software call. This is why you are not about to get better than millisecond resolution.
You can achieve hardware-timed synchronization of your input and output operations using RTSI to share a hardware start trigger for both the input and output. The idea is that you will route the start trigger of one operation to a RTSI line. Then tell the other operation to use the same RTSI line as its start trigger.
Even thought the RTSI bus is used to pass this signal from the AI circuitry to the AO trigger, there
is no need to connect a RTSI cable. In DSA devices, the analog input and output are automatically phase locked. There will be no phase drift between the input and output sample clocks, and minimal phase difference if they are running at the same rate.

Similar Messages

  • Synchronize date between OUD and AD

    Hi all.
    I want to synchronize date between OUD(Oracle Unified Directory) and AD (Windows Active Directory).
    OIM(OID ODIP)?
    This framework is very powerful, but it seems to be a liitle heavy for me.
    Is there any solution more light and straight to reach the goal?
    I would appreciate for any reply.

    Hi,
    You don't need OID as you can use OUD as DIP configuration store.
    The procedure is described in detail in KM note 1511847.1 available from support.oracle.com
    The note 1511883.1 can be useful as well as it is a placeholder for DIP/OUD related procedures.
    -Sylvain

  • Synchronization error between LMDB and SMSY

    Hello Experts
    I have a sync error between LMDB and SMSY entries. I want your help to make this synchronization to Solution Manager 7.1 SP07.
    Thank you very much for your help
    Juan Carlos Salazar R

    Solman Setup - Configuration Lost
    To try to solve the synchronization error
    I have been running a Report for get some information and as a consequence all the information into the solman configuration was lost. I mean everything, all the clock (the date of modification) are in zero, and all the status are grey.
    Someone know How to bring this information back; without performing a backup or to perform a setup again.
    The report is the RLMDB_SYNC_TECHNICAL_SYSTEM

  • Synchroniz​ation for AI and AO with non-regene​ration of output waveforms

    Hi all,
    I need to output several analog waveforms, while at the same time acquiring analog input, and synchronise the two. For this, I'm using a cDAQ-9178, a 9264 module for AO, and 9220 for AI.
    I managed to this all right following this example: http://www.ni.com/example/26527/en/ (NI-DAQmx: Simultaneous AI and AO Using a Shared Clock). The problems started when I moved the waveform generation inside the main while loop to be able to modify the waveform parameters on-the-fly: now I get Error -200018 as soon as I start the VI, or Error -200284 those few times when the VI manages to run some iterations.
    This does not happen if I omit the source of the sample clock for the two tasks, but then I lose the synchronisation between input and output.
    Any idea of what's going on?
    Thanks!
    Nathan
    Attachments:
    piezo_continuous.vi ‏82 KB

    Hi again,
    I've been tweaking my VI: at this point it's a hybrid between the "Multi-Function-Synch AI-AO" GerdW was mentioning, and the shared-clock approach found in the "Timing and synchronisation" white paper. Still, the input signal shows random fluctuations of the phase with respect to the output.
    Any ideas?
    Attachments:
    AI-AO-sync.png ‏94 KB

  • Testing the DAC and ADC on Spartan 3A Starter Kit

    Hi, My team is currently working on a project which uses both, the ADC and DAC components. Wewant to test each module independently. For the DAC we want to use an oscilloscope to observeif the output signal is correct. How is the connection made for using the DAC with an oscilloscope?Do we have to connect a ground cable to somewhere in the FPGA? On the other hand, for the ADC, we are going to use a signal generator. Similarly, how does one connecta DC signal to the ADC pin for sampling? As you can see, we do not want to make any hardware tests until we are sure everything is being preparedcorrectly. Thanks 

    Where is the location of test points on the development board documented for Spartan 3A?
    T,wo such points J24 and J27 are quoted for the Spartan 3E in
    http://www.google.co.il/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCMQFjAA&url=http%3A%2F%2Fwww.xilinx.com%2Fproducts%2Fboards%2Fs3estarter%2Ffiles%2Fs3esk_picoblaze_amplifier_and_adc_control.pdf&ei=LbSeVYT5D8HWU-SIgKgL&usg=AFQjCNF1Ypaj6HCq5yMf25JXqePXAKoLaQ&bvm=bv.96952980,d.d24
    Anything equivalent to test my s3AN ?
    yankele
     

  • NI Digital Electronic​s Board DAC and ADC access from Multisim

    Is it possible to use the ADC and DAC functionality of the NI Digital Electronics Board from a circuit designed in Multisim?
    I would like to have my students be able to digitally sample an audio input, perform transformations on the data stream, and listen to the effect.  Nothing particularly fancy.
    Thanks,
    -Bret Wood

    Hello,
    In order to use the ADC/DAC you need to define a protocol and this goes beyond the scope of the PLD schematic in Multisim. 
    LabVIEW can be used to accomplish this, there are some examples that you can use as reference, they can be found in the NI Example Finder.
    Regards,
    Fernando D.
    National Instruments

  • FPGA - Synchroniz​ation between two loops with different loop rates.

    Hi all,
    I am trying to implement an Analog and Quadrature Decoder. Simply put, I have two loops:  LOOP 1 with an Analog Input (AI) which is a slower loop rate. Another loop: LOOP 2 has a digital input (input) and counts the Quadrature counts. I understand that Analog conversion is slower, and as a result,  LOOP 1 will have a slower higher tick rate. I want to pass the "counts" from LOOP 2 into LOOP1, so that I can synchronize the Analog Input with the number of quadrature counts. My issue at hand is: since LOOP 2 updates at a higher rate. Will the "counts" value that I pass/tunnel from LOOP 2 to LOOP 1 refresh at the LOOP 2's rate or at LOOP 1's rate.
    Thanks,
    Herrick Chang

    hlchang wrote:
    Hi all,
    I am trying to implement an Analog and Quadrature Decoder. Simply put, I have two loops:  LOOP 1 with an Analog Input (AI) which is a slower loop rate. Another loop: LOOP 2 has a digital input (input) and counts the Quadrature counts. I understand that Analog conversion is slower, and as a result,  LOOP 1 will have a slower higher tick rate. I want to pass the "counts" from LOOP 2 into LOOP1, so that I can synchronize the Analog Input with the number of quadrature counts. My issue at hand is: since LOOP 2 updates at a higher rate. Will the "counts" value that I pass/tunnel from LOOP 2 to LOOP 1 refresh at the LOOP 2's rate or at LOOP 1's rate.
    Thanks,
    Herrick Chang
    The only way to pass values between two parallel loops is by some sort of global variable (global or locals are fine, as are shared variables although I wouldn't recommend that for FPGA if you don't want to go outside of the FPGA target at all). Don't tunnel anything between two independant loops as they won't be independant anymore.
    The local variable will be updated at the rate the writing loop updates it, though your slower read loop will obviously not see every value. Note that the FPGA compiler will protect the local variable access in both loops in order to avoid race conditions. This protection is necessary but expensive in terms of runtime performance of each loop as well as FPGA gate usage.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Synchronize files between PC and Macbook Pro

    Hi all,
    I have a Macbook Pro and I have a Compaq desktop PC. I take the laptop around with me to work on and I also want to start using the PC at home to do work. I would like to synch the files on my Mac (Documents, Music, Movies etc) with the relevant folders on the PC so that both systems are exactly the same - which means I need a two-way synch where whichever machine the newest file is on, this appears on both machines with automatic synchronization that is perhaps scheduled (so if I update a file on my laptop, the synch will put this updated file on the desktop and vice versa : whichever is newest).
    If anyone can recommend an OS X or Windows piece of software that will do this please let me know! Could even be done through Parallels possibly if both machines have to use the Windows OS.
    Many thanks for your help in advance =)

    A simple solution is to use either a USB flash drive or an external USB hard drive to use as the intermediary. A flash drive would be easy to use depending upon how much data needs to be transferred. Format the drive FAT32 so it can be used on both platforms. On the Mac you could use most any backup utility that can perform incremental backups, and surely there are similar utilities for Windows. Or, you could just drag and drop the files.
    If you have a home network, then it would be feasible to use file sharing to move data back and forth between the two machines. See the following:
    Mac OS X 10.5 Help- Setting up a Mac computer to share files with Windows users;
    Mac OS X 10.5 Help- Setting up a Windows computer to share files with Mac users.
    There are dozens of Mac utilities for syncing/backup that could be used. I would suggest Synchronize! Pro X or Synk as possible candidates, but you can find many others. Demos can be found at VersionTracker or MacUpdate.

  • Differentiate between DC and ADC

    Hi,
    How can I differentiate that which machine in my domain is DC and which one is ADC?
    Best Regards, Parveen Chauhan [email protected] Mobile: +91-9811629793

    In Active Directory, all DC can perform read and write operations – except RODCs in Windows 2008. In general, all DCs are same. 
    Some DCs will hold FMSO roles. 
    FSMO Role:
    http://support.microsoft.com/kb/197132/en-us
    RODC:
    http://technet.microsoft.com/en-us/library/cc732801(WS.10).aspx
    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.

  • Replication between DC and ADC

    we all know that is there any changes happen in dc it will automatically replicate to ADC.some time quickly or some time very late. i just have a one query
    how should ADC knows that there have been some changes happens in DC
    Abp

    In addition,
    USN is unique in every DC but Version number should be same ; if there is no replication in queqe.
    Repl works based on the USN & version number.
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
      LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • Replication (synchronization mode) between EE and XE

    Hello,
    I'm developing an application that needs a DB, but the Mobile PC (running the application) is not always connected to the network.
    I have a master repository running under Oracle EE 11g
    Since the application needs 5 tables and 8 views to work, I'm planning to install, on the Mobile PC, Oracle XE because of its limited footprint.
    How can I do to replicate data from master DB to mobile DB, since on the XE part the application must update rows.
    So it's a bi-directional replication (synchronization) but the master repository runs under Enterprise Edition.
    Could someone help ?

    I succeeded to do the replication using Basic Replication method.
    Tables in a fast mode, Views in a complete one, with a replication group.

  • How can we synchronize UOM between ECC and APO?

    Hi,
    We have configured new UOM (unit of measurement) in ECC. How can we synchronize UOM in APO with UOM in ECC (table T006)?
    Thanks and regards, Jose Oyon.

    Jose,
    Synchronizing the config is simple.  Run program RSIMPCUST in SCM.
    Synchronizing changes to affected master or transactional data (if required) is much more complex.  The best method by far is to create the new UOM config in ECC, and synchronize the config into SCM.  Only then do you begin to use the new UOMs in ECC Master data and ECC transactional data.  Existing transactional data, depending on what is is, will be very difficult to change UOMs and have the UOMs in SCM synch, without quite a bit of manual effort.
    Rgds,
    DB49

  • Synchronize priority between solman and satellite system

    Hi,
    I've changed priority in solman to
    1- very high
    3 - high
    5 - medium
    9 - low
    But priority in satellite system did not change.
    It was shown as
    1 - very high
    2-  high
    3 - medium
    4 - low
    How can i synchronize the priority in satellite system?
    The satellite system have to follow the numbering in SOLMAN
    Kindly assist.
    regards,
    Biah

    Hi Blah,
    as per sap the standard priority are 1 ,2 .3 ,,4 and this wil be available in all the satellite systems as per standard installation.
    So in solman you can maintain the same way just like satelite system using
    tran----
    Dno_cust01
    ..goto SLF1 priority and maintain the same ...i.e 1,2,3,4
    and
    Spro-
    solman-> scenario specific-> service desk ->........maintain category and priority
    Above step will Syn with SLFN priority with SLF1
    So from now where you post ticket within solman or outside only the standard 1,2,3,4 will be thre
    Hope it clarifies your doubt and solves ur problem
    Regards
    Prakhar

  • How do I synchronize files between PC and MAC?

    I have Adobe Illustrator installed at work (PC) and at home (MAC). I would like to be able to work on the same AI file from work and home.
    I created a file at work and saved it to the Creative Cloud folder.
    At home, I was able to synchronize the file folder content and work on the file.
    The next day at work, I created another file. This time, this file did not synchronize to the CC folder at home. The CC dashboard in Assets/Files section says all files are up to date.
    I disabled the CC synch on the MAC, then re-enabled it. This seems to have recreated a couple of files on the PC side. The CC folder on the MAC still does not show the new files.
    What am I missing here?

    I found the solution here ->Re: Creative cloud doesnt create a cloud folder on my Users Folder?
    The following solution worked for me. I guess the MAC side didn't have proper permissions
    derekajack     Jul 28, 2014 5:48 AM  (in response to StilesAjax)      
    Hi,
    Please try the following workaround:
    MAC
    1. Quit the Creative Cloud desktop application.
    2. In Terminal, copy and paste this command:
    rm ~/Library/Application\ Support/Adobe/CoreSync/options.tix
    3. Launch the Creative Cloud desktop application and start syncing.
    WINDOWS
    1. Quit the Creative Cloud desktop application.
    2. Open the Start menu, and type 'cmd' in the search box, then enter to start a command prompt.
    3. Copy and paste this command at the command prompt:
    del %APPDATA%\Adobe\CoreSync\options.tix
    4. Launch the Creative Cloud desktop application and start syncing.

  • Synchronization Error between ARIS and SolMan

    When running the syncrhonization from ARIS to Solution Manager I am getting the following error on several of my objects:
    NOTE: The '<folder name>' item was skipped because the symbol type is ignored during synchronization.
    Any ideas?

    Hello Samuel,
    did you contact ids-scheer support yet ([email protected]). They can send you a detailed list of required priviledges. It is more then just the ones you have now since additional RFC are called.
    Regards,
    Sinje

Maybe you are looking for

  • PO with Total Price amount calculated is incorrect at the time of printing.

    Hi Experts, I have one PO with Total Price amount calculated is incorrect at the time of printing. When my  user took the first print out the PO shows the incorrect Total amount. After 10 mins my user taken the printout again,that time it shows the T

  • How to setup a canon ip2600 printer without the cd?

    how to setup a canon ip2600 printer without the cd? Solved! Go to Solution.

  • Blue screen, computer will not boot up

    My computer, when powered up gets stuck on a blue screen and will not boot up. I have restarted & held down the shift button for safe mode & it goes to a white screen with a grey apple icon but will not move past this screen. How do I get the compute

  • Voicemail Timestap on iPhone 4s

    When I check my voicemail, the timestamp for when the voicemail was left is incorrect. My iPhone is programmed to set the time and date automatically. I am on the west coast, but the timestamp for the voicemails seems to be for the east coast. Does a

  • One query taking different time to execute on different environments

    I am working on Oracle 10g. We have setup of two different environments - Development and Alpha. I have written a query which gets some records from a table. This table contains around 1,000,000 records on both the environments. This query takes 5 se