NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
K_Inho
Posts: 1
0 Kudos
Accepted Solution

synchronizing AO/AI

[ Edited ]

Hello Experts.

 

I'm struggling with synchronizing input and output. I'm sure I "synchronized" input and output but the signal from output looks like

convolution of input signal and continuous unit impulse. Front and block diagram are attached, please let me know what should I do for

this. I was expecting that the out put signal should be just one and same with input signal. Thank you.

 

 

 

front.JPGblock.JPG

Message Edited by K_Inho on 05-10-2010 03:42 PM
Trusted Enthusiast
tbob
Posts: 4,078
0 Kudos

Re: synchronizing AO/AI

You almost got it right.  Move the Start Trigger function from the AO line to the AI line.  You don't need a start trigger on AO, set it to start immediately.  Set the AI to start on digital edge.  Then send the initiate command to the AI before the AO, just opposite to what you have.  This way, the AI will be armed before the AO starts, and it will wait for the first rising edge to start reading.  When the AO is started, the AI will start on first digital edge, and everything will be in sync. 

 

Note that there will be a very slight propogation delay.  The time it takes for the AO to get to the target, and for the target to return to the AI will be some finite time (picoseconds with small distances).  This may or may not be of significance to you.  If it is, there is another method to accurately sync the two.  It involves exporting a sync signal to a pin out, wiring the pin to an AI incoming sync pin, and making sure the length of the sync signal travel is the same as the AO/AI signal travel.  I can explain in detail if you need.

 

- tbob

Inventor of the WORM Global
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page