Synchronizing a 6289 with a 4461

I'm trying to output synchronized signals on a 6289 (analog and digital outputs) and a 4461 (only analog outputs) on a PXI chassis (a PXI-1031), but I've been having quite a bit of trouble getting the two devices to synchronize. The 4461 documentation indicates that this device can synchronize to a 10 MHz reference clock:
NI PXI-446X devices employ onboard PLL circuitry. The PLL circuitry locks the onboard 100 MHz voltage-controlled crystal oscillator (VCXO) to the PXI 10 MHz reference clock signal, PXI_CLK10. The VCXO output provides the source for the DDS chip, which generates the sample clock timebase. In this way the NI PXI-446X devices lock the sample clock timebase to PXI_CLK10.
However, I've been unable to access this reference clock directly; I can neither read from it nor write to it. Does this phase-locking occur automatically? If I route PXI_CLK10 to the reference clock input of the 6289, will the two cards be synchronized?
Since I haven't been able to assess whether using the PXI backplane's 10 MHz clock as the 6289's reference clock will synchronize the two cards, I've tried a number of other techniques without much success. The 6289 has an accessible sample clock timebase of 20MHz, while the 4461 has a sample clock timebase of 26.2144 MHz, so these seem to be imcompatible, even if a divisor is used. Additionally, the 6289 does not seem to accept Synchronization Pulses, so even if I could share the timebase (as one would do to synchronize multiple 4472s), the sample clocks on the two cards would be out of phase. If I try to share the Sample Clock directly, I find that the 4461 can only use its onboard clock for the Sample Clock, although I can export the 4461's sample clock to the 6289.
Is there any better way to synchronize these two cards? Thanks.
Jason Rolfe
Jason Rolfe

Rolfe,
The 6289 doesn't have any filters on the Analog Output, so the only filter delays you will have to worry about are on the 4461.
To synchronize the two devices, you have several options. I'll ignore the filter delay on the 4461 for now and come back to it later. First, yes you can use CLK 10 to synchronize both devices. To do this, set the reference clock source to CLK 10 on each device by using the timing property node. For this to work, you will have to have NI-DAQ 7.4 installed since CLK 10 synchronization support for the 4461 was added in this version of the driver. In addition to locking to CLK 10, you will also have to share a start trigger between the two devices. Since there is no trigger support for digital output on the 6289, you will have to use the 6289's ao/sampleClock as the do/sampleClock and start the digital task before the AO task. This solution is nice in that you can output at different rates on the two devices and still maintain phase relationship throughout time.
A second option to CLK 10, is to use the sample clock from the 4461 as the sample clock for the 6289. When using this scheme, you will need to start the digital output and AO task on the 6289 before starting the task on the 4461. This approach is a little more straight forward, but has the disadvantage that it forces all tasks to run at the same sample rate.
Now, we need to address the filter delay on the 4461. So far, the synchronization described above ensures the clocks are synchronized, but it doesn't account for the digital filter delay of the 4461. Depending on the sample rate of the 4461, this filter delay can be 36.6, 36.8, 37.4, 38.5, 40.8, 43.2, 48.0, or 32.0 samples (see the NI Dynamic Signal Acquisition Help for more detailed information). If you are running at a sample rate that doesn't have a fractional sample delay (or you don't care about the fractional delay if it's close enough for you), you have a couple of options. First, you can account for the delay in software by generating waveforms in the software buffers that are already offset by the appropriate sample delay. If you want a hardware driven solution, you can use a start trigger for the AO task on the 6289 and specify a delay from the start trigger of the appropriate number of samples. This can be done through properties under the trigger property node. Using the ao/sampleClock on the 6289 as the sample clock for the digital task will then delay the digital task as well.
If you want to get rid of the fractional delay, you'll have to use the CLK 10 synchronization approach as well as a counter to offset the start of the generations on the 6289 by the appropriate amount. To do this, you'll have to create a counter pulse train task that uses a start trigger. The frequency of the pulse train should match the frequency of the AO sample clock on the 4461. To correct for the filter delay of the 4461, you'll have to calculate the length of time of the filter delay and specify this value as the initial delay for the counter pulse train. The output of the counter is then used to clock both AO and digital tasks on the 6289. The start trigger for the counter task will come from the 4461. So the sequence of events is as follows: 1.) Start the counter, digital, and AO tasks on the 6289, 2.) Start the AO task on the 4461, 3.) The start trigger from the 4461 gets routed to the counter on the 6289, 4.) The counter waits for the initial delay to pass before outputting the pulse train, 5.) The counter starts outputting a pulse train of the same frequency as the sample clock on the 4461 for use by the AO and digital tasks, 6.) The signals on the I/O connector from all three tasks are now synchronized.
Let me know which approach you're leaning towards and I can futher clarify some things if you still have questions. By the way, what sort of application are you developing? I don't typically see this mixture of devices and I/O types.

Similar Messages

  • HT1386 Hello, I synchronized my iPhones with iTunes, having a new laptop, I had to do this step. But instead of helping it, I lost many applications. All my good applications disappeared. How do I get them back? What I have to do? I bought those app!!!

    Hello, I synchronized my iPhones with iTunes, having a new laptop, I had to do this step. But instead of helping it, I lost many applications. All my good applications disappeared. How do I get them back? What I have to do? I bought those app!!!
    How is this possible? How can the iTunes eat what I bought and what for? To buy the applications again?! Geez!
    Tell me the solution. It must exist one!

    You can redownload you previously purchased apps for free as long as they are still available in the app store.  Be sure you are logged into the Apple ID in iTunes used to purchase them, then follow this guide: http://support.apple.com/kb/HT2519.

  • Is synchronous scenario possible with JDBC & JMS adapter?

    Suppose,JDBC adapter is updating a table or deleting some entry from a table.Can we have an acknowledgement back that the work has been done successfully??
    same qstn for JMS adapter also..
    Suppose JMS adptr is communicating with any messaging system,can we have acknowledgement back?

    Jms Adapter supports Asynchronous scenarios only but If u want to use Synchronous then possible with Standard module beans :
    For ex: JMS to Rfc synchronous scenario:
    In id:
    Sender jms adapter supports Asynchronous scenarios so we have to use standard module beans in Module tab.
    Like :
    AF_Modules/RequestResponseBean -> 0
    CallSapAdapter
    AF_Modules/ResponseOnewayBean -> 1
    And Provide  values in configuration:
    0 -> passThrough -> true
    1 -> receiverChannel ->provide RECEIVER JMS adapter name ( have to create one more JMS receiver communication channel for responce )
    1 -> receiverService ->provide receiver adapter service name (that is  provide sender business component because need response for sender )
    jdbc adapter :
    http://www.****************/Tutorials/XI/SOAP2JDBC/Page1.htm

  • I have synchronized my iPhone with my ical on my macbook, but somehow my dates on the iPhone appear twice? how can I change that?

    I have synchronized my iPhone with my ical on my macbook, but somehow my dates on the iPhone appear twice? how can I change that?

    You sign off and sign in with the correct Apple ID.
    See this tip and is still valid for IOS 6
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family

  • Problem with synchronizing desktop software with Lotus Notes

    Problem: synchronizing between blackberry storm and my pc with the desktop manager. During the settings of the configuration is asked for the location of the NOTES.INI file. The configuration program finds the NOTES.INI file it's self.
    After selecting the NEXT button I get an announcement that the NOTES.INI file can't be opened and the configuration stops.
    I don't know what to do to select the right file or setting so the desktop manager can synchronize with my blackberry.
    I hope somebody can help me with this problem.
    Regards
    Erik

    Hi and welcome to the forums:
    Please read the attached regards your error:
    Thanks,
    Bifocals
    Please remember to resolve your thread.
    Put the check mark in the green box that contained your answer! Thanks   
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB01534&sliceId=2&docTy...
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Problem synchronizing windows clients with solaris 10 NTP server

    Hello everyone,
    I realyy need help on the following:
    I tried to synchronize windows 2003 as client with NTP server running in Solaris 10
    My Time Zone in the NTP server is GMT+3, and in my windows is also set to GMT+3
    When I start NTP server and clients , I got 6 hours delay between the clients and the server
    I tried to synchronize the Solaris server with another solaris system, the synchronization is working fine
    Your help
    Regards
    Hakim Fourar

    True (but only for later releases). But since he mentioned getting a 6 hour offset after starting them, that makes me think that the systems are communicating, and that the time zones are incorrect.
    This is easily verified by using 'ntpq -p' and 'date ; date -u'. The first will show if the client thinks it is synchronized to a server (and what the UTC offset is in miliseconds). The second will show the date in the default timezone and in UTC.
    If you're not using POSIX, you'd think that GMT+XX meant east of UTC, but for POSIX, it means west of UTC.
    Darren

  • Synchronous BPM starting with HTTP Request

    Hello there,
    I have a requirement to call 3 web services, consolidate their responses, and sending back the results to the caller (a web page in this case).  The request is coming over HTTP (synchronously...the file sender scenario that is on SDN does not apply here). 
    I have tried the sync/async bridge to prototype this synchronous scenario, but I get the following error.
    "The process does not support the given synchronous interface or does not support synchronous messages"
    Since the Receive step only allows Async and Sync/Async Bridge options (which doesn't really apply here because all of my web service calls are synchronous), and off course the HTTP as well.  What options do I have to build this scenario via BPM (or without BPM)?
    Looking forward to the replies.
    Thanks

    Hi,
    I'm trying to build similar ccBPM process which processes a synchronous message sent from XI SOAP sender to a Web Service. Both sender and receiver systems are synchronous.
    Instead of going directly to the Web Service receiver, I would like the message to go through ccBPM.
    Can you give a sample for such process ?
    What receive step mode should be used - "Asynch" or S\A "bridge" ?
    I tried to receive the message using "Asynch" mode and than send it with "Synch" mode.
    A runtime error is generated:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code area="BPE_ADAPTER">SYNCHONOUS_MESSAGE</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages Exception CX_WAPI_DEF_PROPERTY_NOT_FOUND occurred (program: SAPMHTTP, include: , line: 0).</SAP:Stack>
    <SAP:Retry>N</SAP:Retry>
    </SAP:Error>
    Please help !
    Thanks
    Orit

  • Synchronous-Asynchronous Interface with Java Proxy

    Hi Gurus!!
    I have an Interface which begins on SAP with a call to an asynchronous ABAP Proxy . Xi sends the message to Java Proxy Server. This Java Proxy Server calls to a Java Proxy Client that sends the response to SAP through XI. This response is taken on SAP on ABAP Proxy Inbound.
    These arquitechture is a requirement, because the time between the request and the response could be 30 minutes and the user shouldn't be waiting the response synchronously.
    Is there any way to the user could manage the response in the same "thread" that he opened in the request?
    I hope have been clear enough.
    Thanks and regards,
    Manuel Míguez.

    The only possibility I could think of is using correlation. There also you have the limitation of java proxy as it does not support adapter modules. Could you use SOAP for your scenario?
    JMS receiver could use inherent properties to define correlations. But as your case is non-JMS, you have to define it manually. Say, if your receiver system is X, then the request from XI to system X should carry its message ID information. While X created the response message, it should use this message ID as the correlation ID for the response message. This could be achieved using an adapter module.
    I guess you were not looking for such a complex solution.
    Regards,
    Prateek

  • Synchronizing RSS Feeds with MS Exchange

    Hello!
    My company uses Microsoft Exchange as the email server and my email is synchronized using BES.  I have set up some RSS feeds in Outlook -- is there any way to have these feeds synchronized on BlackBerry so that I can read these on the move?
    My device is the BlackBerry Curve 8520 with OS v 5.0
    Many thanks in advance.
    Best,
    KB
    Solved!
    Go to Solution.

    Hello kbelai,
    Welcome to the BlackBerry Support Community.
    Thank you for your question.
    This feature is currently unsupported on devices earlier than BlackBerry device software 6.
    Device running BlackBerry 6 and higher can add RSS feeds using the Social Feeds application.
    Cheers,
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

  • Synchronous Composite Services with Immediate Response

    Hi
    The paltform is currently SOA 11.1.1.2.0 which is to be moved to SOA 11.1.1.3.0 once environments are complete
    Essentially I have a requirement by where the way we build some of our composites needs to apply to a certain pattern. This patterm is a synchronous request - response by where an immediate response to the client / calling service is provided. By this I mean a client / service will call a SOA composite, the callled composite will receive the message and reply imemdiately with some tracking information and then the called service will carry on its processing. However in terms of the client / callee service the interaction is complete. (e.g. do not provide further updates).
    The above is an adaptation of Fire and Forget however we desire to pass back some meaningful trascking / support information to the client.
    Following implementation of this in development, we have noticed that the interaction is essentially blocked until all services are complete. Therefore A --> B --> C, even though B has responded to A and then called C, A remains running until all composites are complete
    I'd envisage this is related to transactions and threads etc, however I was wondering if there were any properies thats could be set to alleviate this problem. I have considered using bpel.config.transaction etc.
    Currently placing a checkpoint (by no means ideal) after the reply resolves the issue. Presumeably as this forces dehydration
    Any thoughts would be appreciated
    Regards Dave

    Hello Dave,
    From my point of view, you should pass the message (immediately after receiving) to a intermediate storage (AQ, JMS, FILE/FTP) and then reply back with required info to the client. Let process C poll the intermediate location for incoming messages and perform rest of the processing. So calls will be like -
    A--> B --> Storage (JMS/AQ/FILE/FTP)
    Storage --> C
    Above solution would be good in case the frequency of messages from client is high. I don't know whether it fits in your requirement but this is an option.
    Regards,
    Anuj

  • Synchronizing clock edge with data position

    Happy hollydays everyone
    I have a PXI 6562 and I am using it to acquire digital data from output terminal of a simple counter. I am also using strobe to import an external clock and use it to sample the input signal. Since I am using the same clock to exite the counter and acquire data, I expect perfect synchrinocity.
    The expected digital wave form should be ulternating from high to low at the frequency of (from the LSB to the MSB) the same as , half, quarter, eigth, sixteenth ... rate of the clock. Further more every signal should have a duty cycle of 50%.
    However, the duty cycle of all the acquired signals, except for the LSB one, are following the pattern 0.25, 0.125, 0.0625, 0.03125 ...
    Questions:
    a. When I use the niHSDIO Configure Sample Clock.VI  and select STROBE as clock source, do I need to specify the clock rate
            if I do need to, then does the PXI 6562 use the clock rate I had specified or that it had detected from the external clock?
    b. How can I read digital patterns of varying frequency but 50% duty cycle with out losing or distorting the duty cylce of every signal?

    What's an...
    Questions:   a.
    When I use the niHSDIO Configure Sample Clock.VI  and
    select STROBE as clock source, do I need to specify the clock
    rate         if I do
    need to, then does the PXI 6562 use the clock rate I had specified or
    that it had detected from the external clock?
    This
    is a good question.  The short answer is that if you program the
    device to use STROBE, it will clock the hardware at the rate you input
    to the STROBE line.  However, when you program the device to use
    STROBE, you still need to specify the frequency at which that signal
    will be toggling.  There are certain software features that
    require a frequency component in the math.  The value you input to
    these clocking functions will NOT overwrite the frequency you input to
    STROBE, it only makes sure the hardware is set up correctly to receive
    a clock at that rate.  For example, if you tell the software you
    want to run at 25MHz but input a signal at 2.5MHz, the
    hardware will not be setup ideally for 2.5MHz and may produce
    errors.  Does this make sense?
    b. How can I
    read digital patterns of varying frequency but 50% duty cycle with out
    losing or distorting the duty cylce of every signal?
    I
    don't think I completely understand your question.  The channel
    electronics don't distort duty cycle.  As the data passes through
    the front end the data is sampled using the clock you specify.  If
    you are providing a source synchronous clock from your DUT to the 6562
    and telling the HSDIO driver to use STROBE then all channels will be
    sampled on either the rising edge, falling edge, both edges, or on a
    delayed version of the rising edge of the signal you input
    STROBE.  There are specifications that deal specifically with a
    signal input to STROBE which you may want to verify, especially if you
    are operating at high frequency.  A copy of the specification
    should have been installed with HSDIO and can be found under:
    Start>>Program>>National
    Instruments>>NI-HSDIO>>Documentation>>Specifications>>NI
    656x Specifications
    in the  Timing>>STROBE(DDC Connector) section
    Based on your explanation, it seems that your LSB channel matches your
    expected data but your other channels do not.  Are you certain
    that your dut is generating 50% duty cycle signals?  If there were
    a problem with setup/hold or minimum pulsewidth violations (as
    specified in the above document) then I might expect no channels to be
    sampled correctly.  However, the fact that your slower toggling
    signals are the ones that do not match expected would suggest that the
    DUT may not be correctly generating data.
    One thing you could try would be to open up a test panel to the 6562
    from MAX.  Start a generation task with a count at some frequency
    close to the one you are trying to run at.  Next, start an
    acquisition task using the on board clock and grab an
    acquisition.  You should see a typical count pattern where the LSB
    toggles most frequently.  This would verify that you can receive a
    count pattern.
    If this was not much help, please include some screenshots or a more detailed description of your observed behavior.
    Thanks.

  • Synchronizing database query with update notifications via AQ

    I am building a financial system and want to keep all my reference data in the database.
    If one user updates a piece of data, I need all users that use that data to be notified of the change.
    I know I can do this using triggers and publish-subscribe, but I have a synchronization problem:
    A client comes up, queries initial value via select, then (or before) subscribe to updates.
    Since the AQ channel is seperate from the regulal DB connection, I do not know if I missed an update notification that happened just after I queried, but before my subscription came into effect, or I might even get an update that is older then my query.
    I know I can add sequance numbers to all updates, and force an initial update each time a new client connects, but that is both slow and complex.
    Can anybody think of a simple way to have a database query synchronized with updates?

    A query with different syntax would result in a different hash value.
    Stored outlines work based on hash value.
    Your question is probably answered now.
    Sybrand Bakker
    Senior Oracle DBA

  • Is there any way to have synchronized your phone with your pc

    Hi all, someone could say if there is any way to have synchronized all the time what I have in my z10, with my computer. A sort of back up.
    Some software or something like that?
    If you find this information useful please click like --->
    @mezeitune on twitter

    Just plug the USB cable from your phone to your computer.  You should get instructions in installing Blackberry Link.
    Link does the backup when you sync.  You can set the backup frequency.
    Link also updates your calendar and contact information.

  • Synchronizing palm centrol with computer

    Every time I attempt to synchronize my at&t Centro with my computer, the handshake occurs and the download begins but just then the centro's screen goes blank and it begins to reboot - thus terminating the backup from the computer. What can or should I do??? It has worked before on this computer. More info: it seems to stop at the point when the calendar is being synchronized and says 2 of 12.  Freezes at that point. I have since tried to accomplish this task to three other computers and all of them have produced the same exact result. Yes, I've done soft reboot several times in addition - also to no avail.  I'm stymied. Please help!!!! Otherwise, I'll have no backup to this Centro and that isn't good.
    Post relates to: Centro (AT&T)
    Message Edited by adventurer773 on 08-30-2008 09:14 PM

    You have a corrupted database. Download and install DBFixIt from pimlicosoftware.com. It will detect corruption at no charge, to repair purchase the application or find and fix the corrupted records yourself.
    NVBackup is an excellent freeware backup application.
    Post relates to: Palm TX
    Message Edited by DTfromBH on 08-31-2008 01:43 PM

  • Problems with setting up analog trigger with NI 6289 with VB6 [with error 200265]

    I have been trying to synchronize an analog input read with an analog signal generated by the Multifunction DAQ (NI 6289). Basically, the voltage AO signal is fed into a laser and the resulting intensity profile is read into a photodiode, which generates an AI signal read back into the DAQ. The two channels have the sampling rate and buffer size / number of samples.
    However, triggering has presented with some problems; the manuals were not very clear on the subject of connecting channels, and no sample programs exist so far that demonstrate this on VB6.
    What I have tried is physically connecting /Dev2/ao0 with /Dev2/APFI0, ( Dev2/ai0 is connected separately). Below is a little snippet of code:
    'initialization goes here
        DAQmxErrChk DAQmxCfgAnlgEdgeStartTrig(inputHandle, "Dev2/APFI0", DAQmx_Val_Slope1_RisingSlope, txtOffset.Text)
        DAQmxErrChk (DAQmxReadAnalogF64(inputHandle, numSampsPerChannel, 10#, DAQmx_Val_GroupByScanNumber, dataBuffer(0), numSampsPerChannel, sampsPerChanREAD, ByVal 0))
        DAQmxErrChk DAQmxWriteAnalogF64(outputHandle, numSampsPerChannel, False, 10#, DAQmx_Val_GroupByScanNumber, optData(0), sampsPerChanWritten, ByVal 0&)
        DAQmxErrChk DAQmxStartTask(outputHandle)
    I received the following error, -200265, "attempting to use an invalid analog input trigger", at the line ReadAnalogF64.
    Attached is the code I used for the triggering event. Any help would be greatly appreciated.
    Attachments:
    Trigger method.txt ‏2 KB

    Refer to this thread please.
    Message Edited by Chris W. on 04-10-2009 10:32 AM

Maybe you are looking for

  • My Safari keeps crashing. Can anyone help me out?

    A day ago my Safari's Top Sites screen kept shaking so I got fed up and installed Opera instead. I deleted Safari and when I moved it out of the trash and tried to reopen it, it crashed and gave me an error message that said "Safari quit unexpectedly

  • How to safe start an iMac

    My iMac freezes during the boot startup. It seems to stop at the same place in the sliding bar. I wonder if a particular program is causing the problem but can't get it to start. I have had the problem for several days and so far it have eventually s

  • 5TH GEN and Vauxhall Insignia

    Hi again , I have just bought a 59 reg Insignia with a usb port for ipod but when I plug my 5th gen ipod it it states that it is not supported yet I can plug my wife's 3rd gen classic in and that works!!! Anyone else had these issues and been able to

  • Hi! I am newbie to Reports need help with check boxes

    Hi! I am newbie to Reports need help with check boxes. I am try-in to make a new check boxes that will validate in runtime. I have created two frames and one frame is dummy and other frame has big X line on it with conditions. Is this a right way to

  • JSP declarattion tag

    hi all I am confused on this one; please help. In a JSP declaration tag , the variables that we declare become class's private vars upon compilation. Similarly, when we declare methods in a declaration tag they become private methods of the compiled