6682 1588 synchronization

Hello!

I'm trying to synchronize two PXI chassis with the clocks of 1588. To do this, I use 2 6682 H PXI boards.

I created a test program that:

-init on 1588 (init clock, time reference, start the participation in the network of 1588)

-wait you want to synchronize (only the slave)

-create the clock in a series, second.

2 clocks are synchronized (+/-10 ns), but the problem is the phase (ns 0-750). I looked at the clock 2 with a scope and if I don't have severeal times the same program I have a phase error which vary from 0 to 750 ns. The clock frequency is 1.5 MHz.

I don't understand, normally when I create the clock, both clocks are synchronized, however I have 750 error ns...

Any idea is welcome...

Hello.

There are a number of things I can think of that could cause the behavior like what you see

The first is that if the clock generation began before the slave had made its setting initial timekeeper to match the master.  It is easy to verify if this is the problem: when you see clocks frequency-locked, but out of phase, can you stop the clock generation and re - start?  Do you see the same offset?  Of course, then stop re-start clock generation, 1588 operation must not be interrupted (use the "Create Clock niSync' and 'niSync clear the clock' live).

Another thing that could cause this is if the start time for each clock is at the edge of a second different.  Given that the period of a 1.5 MHz clock is such that you do not have a whole number of times less of a second, if you start time 09:00 clk and clk B in time 09:00:01, the clocks will have an offset.  In addition, the PXI-6682 can generate only clocks with periods which are a multiple of single 10ns.  The period of a 1.5 MHz clock is 666.6666... NS.  The driver OR Sync will complete it until 670ns, so the offset of the clocks began at different times can be as high as half of this (335ns).

I know it does not explain the larger shifts (up to 750ns), that you've seen, but I hope this can help find the problem.

Kind regards

Alejandro

Tags: NI Hardware

Similar Questions

  • cRIO and synchronization with PC with 1588 on Ethernet card

    Hi all

    I want to synchronize my cRIO with my Windows 7 computer.

    -Is it possible to apply the Protocol of 1588 in two materials using the PC as master clock and cRIO as slave?

    -Where can I find examples?

    The goal is to acquire temperatures via modules OR-9212 and cRIO to communicate to the PC by putting in place a lighter version of the JENA Protocol.

    In the final architecture, I could have multiple cRIO.

    Requirement:

    Don't use NI 6682 H card or other

    Can use the NI Sync module

    Use on the borad ethernet card

    PC running Windows 7 with LV 2013

    cRIO-9067 under LV - RT 2015

    Hello

    This is a documentation on the implementation of the NTP Protocol on cRIO running Linux RT and the host computer with Windows

    -Installing and configuring NTP on Linus RT

    - How to configure a time server NTP on Windows

    Adrien

  • 1588 with no Ethernet device

    It's a very basic question (since I'm new)

    So if you have a card that synchronize your chassis (PXI-6682) and you connect through a cable on the LAN.

    You also call the necessary APIcalls (niSync_SetTimeReference1588OrdinaryClock & niSync_Start1588).

    And on the other end, you have a device that uses 1588 (PTP) and is also connected to the same LAN...

    Should both the card AND the device note between them automatically?

    For now what is happening is:

    • The PXI-6682 is the master (should be slave)
    • The other device is master

    This means, for me, is that they do not seem to communicate with each other.

    Can someone explain to me a nice step by step what I need to do?


  • 1588 default state

    Hello

    I do some testing with two boards of 6682H... I want to check the synchronization between two chassis.

    I met these two boards and wrote some code to synchronize the frame. So I have a phase of init when I initialize the niSync, then I put the reference time to use ordinary 1588 clock and start participation in 1588. After that, I read the clock status whether it is a master or slave. The problem is this vi always return me defective condition.

    I have not understan why I receive this State... does anyone have an idea?

    Thanks for your reply...

    Hello

    What operating system are you using on the chassis with a PXI-6682?  With LabVIEW RT, you need activate the max on each PXI-6682 Ethernet adapter use 1588.

    Kind regards

    -Tyler

  • Reference clock synchronization and clock of sampling (not LabView but Daqmx, Sync and C)

    Well, I found an example that resemble what I wanted... in LabView: http://zone.ni.com/devzone/cda/tut/p/id/9308

    Now the question is all about timing of the timestamps and sample:

    Here is a list of ficelleStringString ficelleT of what I called...

    1. DAQmxCreateTask

    2. DAQmxCreateAIVoltageChan

    3. DAQmxSetRefClkSrc (used NISYNC_VAL_CLK10 = "PXI_CLK10")

    4. DAQmxRegisterEveryNSamplesEvent

    5. niSync_init (used a PXI-6682)

    6. niSync_SetAttributeViInt32 (used Terminal = NISYNC_VAL_PXISTAR0 and NISYNC_ATTR_1588_TIMESTAMP_BUF_SIZE = 3000)

    7. niSync_CreateClock (used Terminal = NISYNC_VAL_PXISTAR0)

    8. niSync_EnableTimeStampTrigger (used Terminal = NISYNC_VAL_PXISTAR0)

    Now this list makes me able to create a timestamp every time the clock triggers a RISING edge...

    Now how to synchronize these timestamps are useful for my sample? (I mean I need to sync my calendar with the PXI_CLK10 card) because for now prices will not match the sample rate.

    ALSO... a little weird...

    some of my cards will accept DAQmxSetRefClkSrc but others must use DAQmxSetMasterTimebaseSrc.

    Now I can't use DAQmxSetMasterTimebaseSrc with PXI_CLK10... no idea why...

    So, how did I would synchronize THESE cards...

    Alright I could totally be wrogn with my approach, but I'm new with stuff of OR and using C isn't exactly the best documented piece of the NC.

    Thanks in advance,

    SEB

    Thus,.

    We have the same clock sampling for all of these devices, but we are not PLL'ing with the card of the S series, we cannot guarantee that they will all be in phase.  However, given that all of these devices would be based on the same reference clock, we would not drift when we started the task.  Would this work?

    An alternative is to use the new X-Series card, which can also do a simultaneous sampling, but I don't know if it is feesible within your application.

  • Cannot replace the PXI embedded clock with clock oscillator PXI-6682 on PXI back plane

    I installed a module of synchronization PXI-6682 to slot 2 of a PXI-1031chassis with a PXI-8110 controller running hypervisor and RT.  The 6682 is installed on the RT system hypervisor for GPS sync during the measurements, but I would like to ask the TCXO on the PXI-1031 chassis backplane (which replaces the PXI embedded clock).  When I try to run the "Clock.vi route" that I found in the finder of the example, all I get are error messages indicating that a parameter for this operation is not valid.  The Terminal source is "Oscillator" and terminal of destination is "PXI-Clk10_In"  How can I determine which parameter is not valid?  Any suggestions?  Thank you

    Hi vugt.

    You are right that the physical switch determines which one to use and you should not have to route signals.  If you are having problems with clocks after the synchronization module 6682 please let us know!

  • Impossible to send software trigger using 6682 and OR sync

    I can't send a trigger of global software to the PXI (PXI_Trig0) trigger using the PXI-6682 card and the software of synchronization OR (beta 3.0 and 3.1). I ran the example vi: route software Trigger.vi and chosen my 6682 and terminal of destination PXI_Trig0 resources. I get the error:-1074118606 was held at niSync Connect Software Trigger.vi, driver status: (Hex 0xBFFA4032) the terminal specified source is not valid for this operation. Looking at the terminal of the source, it is selected as the GlobalSoftwareTrigger. If this card does not support a software trigger (I can't imagine why), if not, how can I send a software inside of basket PXI trigger trigger?

    Any help would be great.

    Josh

    I found this one. Apparently the PXI-6682 card cannot do a software trigger, so I plugged internally PFI2 to PXI_Trig0, then an event of installation time (down, up, down) on PFI2. Time event fires a trigger on PFI2 that triggers a trigger on the backplane PXI PXI_Trig0. I will then put up to fire all stars fires instead of PXI_Trig0 to synchronize my two FPGAS.

  • need stop synchronization before finishing to avoid ipod classic remove

    I've updated to itunes version 12.5.1, as well as Windows 10.  If I let my ipod classic finish syncing, everything on the ipod is removed.  So I have to restore the ipod in disk mode so that itunes recognizes the ipod and avoid itunes gel settings.  I found the only way to keep my music is to stop synchronization before it ends or the entire contents of the ipod is removed, and I'll have to go through the process of restoring ipod to factory settings again.  During synchronization, I disable the Windows 10 firewall and anti virus as Apple support told me that it could interfere with itunes.  What is - this with the finishing of sync that removes my ipod?

    It's weird...  Hard drive it is possible to the iPod becomes unreliable and is damaged during the synchronization process.  What happens if you set it up to only synchronize a small number of songs, instead of "all"?  For example, on the settings screen of music from iPod in iTunes, rather than choose to synchronize the entire musical library, choose the option to synchronize playlists, artists, albums, and genres, and select only a SINGLE album.  These songs always get deleted at the end of synchronization?

  • Synchronization of photos for the records of several PC iPAD

    Hello

    I have pictures in several files in my PC.

    I would like to synchronize all at once to my iPAD.

    When I opened "Synchronize the Photos" - page in iTunes, it is possible to select only a single folder.

    Is it possible to select several folders?

    Peter

    If the records are directly under the same parent folder then you should be able to select this parent folder at the top of this screen of Photos and records of the child must be indicated below (if you select "Selected folders") for the selection and timing of the iPad for example

    If files are located on your computer, then no, you will not be able to select and synchronize them with your iPad - I created a folder separated (with specific subfolders for holidays/events) for the photos that I have synced my iPad

  • Backup iphone to mac, but am trying to get you want to synchronize.

    I have backup my iphone to icloud, but I want to be very sure and also create a backup itunes periodically.  So I read about it and it seems pretty easy.  But I have a question:

    When I connect my iphone 6 to my iMac, iTunes open, because it asks me to authorize the computer, I see up on step 3 (I think it's #3) «Sync iPhone...» "and underneath it says"determine what applications to synchronize. "BUT, I don't want to 'sync', I want only to save.  I unplugged the power cord and it stopped in its tracks.

    My question, why is it automatically attempt to synchronize before I have a chance to start the backup?  IS this a normal behavior?

    And I don't want anything from my Mac on my iphone.

    Thank you!

    Probably because you have iTunes automatically sync value. I think that's the default behavior. I do not use Mac, but in Windows, you're going in Edition > Preferences > devices and you put a check mark prevent auto-sync iPhones. There must be a similar setting for Mac. Which should help you to find a way to find out.

    Once you do this, you can connect the device and not to worry about synchronization and then simply click on the Save button after selecting the phone.

  • Synchronization and backup from iPad to the computer using iTunes

    Since the last update, last week, did someone else with problems of synchronization/backup of their Air iPad with their computer via iTunes?  iPad OS 10.0.2, iMac OS X Lion 10.7.5 Air (updates is no longer available for this computer). I had no problem before this last update.  -Pop-up message on the computer: "iTunes could not connect to the iPad...". my name... because an invalid response was received from the device. ' Pop up message on the iPad at the same time: "trust to this computer?  Your settings and your data will be available from this computer when connected.  "Option click on TRUST or don't trust.   I clicked on the TRUST several times without success.  Please help me if you can.  Thank you.

    There is no alternatives that save to iCloud instead of it, or upgrade your software and/or hardware to run a newer version of iTunes.  iOS 10 requires iTunes 12.5.1 find which demands in turn 10.9.5 OSX or newer.

  • Force synchronization iCloud drive in El Capitan

    My files have all been transferred to iCloud.com and the folder and file structure all the shows in my Finder with the cloud / down arrow, but I cannot open the files at all.

    brctl newspaper w indicates that the network is accessible, but otherwise nothing happens. The iCloud in the Finder drive icon shows that progress going on, either.

    I have disconnected and reconnected to the network with no result. Is there anything else I need to do to force a synchronization with iCloud?

    Try to sign your iCloud and return signature account.

  • I can't synchronize my new iphone 7 with itunes on my mac (OSX)

    I have an old MAC, which synced fine with my iphone 5, but my new 7 used to synchronize itunes - when I connect with cord, computer tells me phone will not allow connection - phone to ask if trust peripheral, I say trust, but failed to get the two to cooperate!

    This is why you cannot synchronize now.

    • Sync with iTunes on a Mac or a PC requires:

    http://www.Apple.com/iPhone-7/specs/

  • How can I synchronize a mini ipad with ios10 for an imac with osx 10.6

    How can I synchronize a mini ipad 2 with ios 10 to an imac with osx 10.6 (snow leopard)? My imac will not recogise the ipad.

    Hello

    You must have the latest version of iTunes (12.5.1.21). If no updates appear in the Mac App Store, it means probably that it's only available for future versions of Mac OS X, or as it is now called macOS.

  • Unknown error (-50) when you try to synchronize the phone

    I have a 6 s (iOS 10.0.2). iphone I have an iMac (27 inch, end 2012) running macOS Sierra version 10.12.

    I've recently updated my phone and my mac, (do not know if this is my problem). Tonight when I try to sync my phone, I get a message saying that "my phone can not be synchronized. An unknown error occurred (-50). »

    What is this error and how do I know what to do about an unknown error? When I looked for info and what to do, it seemed I might have to reset my phone to original settings and restore it. I'd rather not have to completely restore my phone (or mac) unless I absolutely have to. Any ideas or suggestions?

    Any help would be appreciated!

    This statement can help you If you see the error-54 when you synchronize with iTunes - Apple Support

Maybe you are looking for