Time skew - continued

Sorry about previous multiple/incomplete posts - I hit the TAB key while cutting & pasting!  (I wish you could remove a post!)
(Here's the rest of the post...)
Env: PCI-6229 card, and NIDAQmx 8.0, under ANSI-C.
...   continued:
The problem I am noticing is that I always see the change of state rise (from 0 to +5V) on the AIN channel exactly one sample time before I see the counter value increment.  I think I have the card setup correctly, so that the CTR tasks get their gate signal from the AIN task's sample clock.
Any clues on this?
Here's how the card is setup (abbreviated):
    // for AIN sections...
    DAQmxCfgSampClkTiming(h,NIL,samplerate,DAQmx_Val_Rising,DAQmx_Val_ContSamps,Ni_MaxSamples);   // sample rate is 1000 samples/sec
    DAQmxCfgDigEdgeStartTrig(h,@src[1],DAQmx_Val_Rising);          // get start trigger from RTSI-1 (for slave AIN cards)
    DAQmxSetExported10MHzRefClkOutputTerm(h,@s[1]);                  // export 10Mhz ref clock to RTSI-7
    DAQmxDisableStartTrig(h)                                                                 // disable start trigger on AIN task
    DAQmxExportSignal(h,DAQmx_Val_SampleClock,@s[1]);              // export AIN sample clock to RTSI-1
   // for the counter section...
   DAQmxCfgSampClkTiming(h,@src[1],samplerate,DAQmx_Val_Rising,DAQmx_Val_ContSamps,max_scans); // obtain sample clock timing (and gate from) from RTSI-1
   DAQmxSetCIDupCountPrevent(h,@src[1],1);                                         // prevent dup counts on M-series card when incoming freq is < gate freq
   DAQmxStartTask(h);                                                                         // start ctr tasks
   // finally, start AIN taks
   DAQmxStartTask(h_AIN.h)                                                               // start AIN tasks
The use of RTSI-1 and RTSI-7 is mainly for situations where I have multiple cards in the PC.  For this simple test, however, there is only one card.  The basic idea is that I output my sample clock from the master AIN task to RTSI-1, and then use RTSI-1 as the gate for the counters.
Thanks for any help, and sorry about the multiple posts earlier!

I posted a response to this post here.
Michael P
National Instruments

Similar Messages

  • Virtual Domain Controllers in 2012 Failover Cluster. Time Skew

    Hi All,
    Not sure if this is the correct space for this topic, however i'll give it a go anyway.
    We have a 2 Hosts (HP DL385) Windows Server 2012 Failover Cluster.
    Storage is provided by a 12 Bay NAS with iSCSI connections (This is catering for CSV's and Quorum)
    We are running 2 Virtual domain controllers (2008R2)
    The issue we experience is that if the cluster goes down, and when it comes back online the time on the domain controllers (one or the other or both) skews by any where up to 3 days which causes havoc for our office until we can resync clocks with the PDCe.
    Time Synchronisation Integration Service is disabled on both Domain Contollers
    A few days back we need to reboot the storage on the cluster, and the tasks performed were as follows:
    -Power off all virtual machines (Graceful Shutdown)
    -Put all CSV's into maintenance mode
    -Offline Disk Witness to Quorum
    -Rebooted Storage (Waited until it came back online)
    -Online Quorum Storage (Successful)
    -Bring CSV's out of maintenance mode (Successful & Browsable)
    -Power on all Virtual Machines (Successful)
    This is where the time Skewed and caused headaches. The time for some reason went to 2 days 11hrs in the past on 1 domain controller.
    With this DNS lookups failed to work, Cluster services failed, Cluster Aware Updating Failed, RDP to VM's (and Virtual Hosts) by DNS Name failed (Date time error) 
    There doesn't seem to be anything in the EventLog except for date/time stamp on events being 2 days in the past.
    Now this is why i'm not sure if the issue is cause by fail over clustering, or is an issue with the domain controllers.
    Any advice regarding this or if anyone has seen this behaviour before any info would be great
    Thanks
    Rob 

    Hi Rob,
    Does both this two DCs on your cluster VM and there have not others DCs? Microsoft recommends that files for virtualized domain controllers be placed on non-CSV
    disks, Non-CSV disks can be brought online without authentication. Because non-CSV disks can be brought online more easily.
    For virtual machines that are configured as domain controllers, it is recommended that you disable time synchronization between the host system and guest operating
    system acting as a domain controller. This enables your guest domain controller to synchronize time from the domain hierarchy, please confirm your PDC time is always correct.
    The related KB:
    Running Domain Controllers in Hyper-V
    https://technet.microsoft.com/en-us/library/d2cae85b-41ac-497f-8cd1-5fbaa6740ffe(v=ws.10)#deployment_considerations_for_virtualized_domain_controllers
    Things to consider when you host Active Directory domain controllers in virtual hosting environments
    http://support.microsoft.com/kb/888794?wa=wsignin1.0
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • HT5622 When trying to sign in to Face Time, I continually get Face Time Activation "Could not sign in.  Please check your network connection and try again"  I have reset my Apple ID and my Password and I am successfully logging into Safari.  What am I doi

    When trying to sign in to Face Time, I continually get "Face time Activation"  "Could not sign in.  Please check your network connection and try again".  I am able to access the internet via Safari, so my network connection seems to be working.  What am I doing wrong, and how can I access Face Time?

    Hey sklingen,
    Thanks for the question. I understand you are experiencing issues signing into FAceTime. The following article may help to resolve your issue:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    You may also want to reset your network settings:
    Settings > General > Reset > Reset Network Settings.
    Note: this will delete any network related settings (saved Wi-Fi passwords, etc), it will not erase any content from your device.
    Thanks,
    Matt M.

  • HT1926 I tried to update this ITunes install 4 times I continue to get ERROR 7 - Windows error 127 HELP

    I tried to update this ITunes install 4 times I continue to get ERROR 7 - Windows error 127 HELP

    First try updating to iTunes 11.1.5.5, using an installer downloaded from the Apple website:
    http://www.apple.com/itunes/download/
    If you still get the errors after that, try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Does SAP PO support time skew?

    Hello Experts,
    While using AXIS adapter, WS-Security header can be configured for actions UsernameToken and Timestamp.
    Timestamp format is like:
    <wsu:Timestamp wsu:Id="TS-889">
         <wsu:Created>2014-06-10T05:38:20.179Z</wsu:Created>
         <wsu:Expires>2014-06-10T06:08:20.179Z</wsu:Expires>
    </wsu:Timestamp>
    I have observed that SOAP requests with "Created" in the future timestamp is accepted as valid request. Why so?
    In case of any difference between the clocks of "Sender" and SAP PO, time skew (if configured) will take care of the variations in the clock. I believe it should be configured at system level and by system admin. Correct?
    Is there any document relating to how time skew is supported by SAP PO?
    Thanks,
    Ankit

    Hi Ankit,
    I'd guess this is related to this thread right? Please check the docs on security settings for the sender agreement.
    Depending on the technology, you are using the process might be different. For PI it should be setting
    Check Time Stamp and specify a validity period as shown on the help page.
    Kind regards,
    Patrick

  • I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITun

    I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITunes is corrupted or is not installed correctly.  Please reinstall Itunes"
    iMac, iOS 6

    HI,
    If your old version of iTunes is still working - then I sugest you stick with that.
    iTunes 11 is a lousy update - It will not retain your playlists, you can't find and delete duplicates... and a whole arry of oyher issues. (have a look around this forum to see how many issues IT11 gives people)
    Just a friendly advise and warning :-)

  • Kerberos Time Skew Too Large

    Hi Everyone,
    Here's a strange one. Mac is bound to an Active Directory and is pointed to a domain controller for a time server. It is in sync with the DC to the second, but every two minutes, the following gets added to the system log :-
    Jul 26 15:04:06 new-wave-films-imac DirectoryService[49]: Active Directory DS Plugin: Kerberos Time Skew Too Large. Check Date/Time!\n
    Anyone got any ideas?
    Thanks.

    Not Kerberos related, but I ran accross other Time related problems...
    Are the Time Zones & Daylight Saving settings the same also?

  • I have repeatedly tried to install flashplayer on Mac 10.5.8 with no success. I have followed the online help document line by line and tried Mike M's suggestions to no avail. I now have no flashplayer and each time it continues to report a failure to lau

    I have repeatedly tried to install flashplayer on Mac 10.5.8 with no success. I have followed the online help document line by line and tried Mike M's suggestions to no avail. I now have no flashplayer and each time it continues to report a failure to launch even when reset. the error report on apple state a breakpoint and unknow required load command whatever that is....HELP!

    Hi Katie,
    Flash Player is no longer supported on OS X 10.5.8.  If you try to install one of the latest versions, it'll just terminate.  You need Flash Player 10.3.183.90 (released 7/9/2013), which is the last version supported on OS X 10.5.8.  The installer file is in this zip package, http://fpdownload.macromedia.com/pub/flashplayer/installers/archive/fp_10.3.183.90_archive _mac_only.zip.
    If you have an Intel machine, you may want to consider upgrading to 10.9 (free upgrade) so that you can install the latest, most secure, version of Flash Player.
    Maria

  • Packet data timer running continuously?

    Now i have solved my memory card issue can anyone tell me why my Packet Data Timer is continuously running?...have reset the timer and then it still goes on counting?....what is it?

    Hi,
    Try going through this:
    Menu> Settings> Connectivity> Packet Data> Packet data connection> When needed
    Hope this helps

  • Data acquisition time not continuous, but starting over and over again

    Hi,
    My data acquisition time is not continuous but loops over and over
    again.  Could someone please take a look at my vi to see if you
    have any thoughts on how to fix this.  Also, I tried to set up my
    vi so that I could take the mean of the signal at any time I
    choose.  However, at the same instance that the data acquistion
    time "starts over" again, the mean is calculated (before I trigger it to take the mean)
    I have attached my vi and my output file as a text file so that what
    I'm trying to say will (hopefully) make a bit more sense. 
    Thanks for your help in advance!
    Sherri
    Attachments:
    Datalog1 71805.vi ‏1252 KB

    Hi,
    Thanks for responding to my question. Attached is the vi with added
    comments as to what I think I am doing.  By DAQ time, I mean the
    first column of data that is in the data file that I attached
    previously.  I am only simulating a signal (at the beginning) so
    that I can program in my office.  I do, however, have the same
    problem as stated above when I change the simulate signal to DAQmx
    using my instrument.
    I hope this clearer.  If not, I'll try again. 
    Thanks so much!
    Sherri
    Attachments:
    Datalog1 71805 83.vi ‏1228 KB

  • Podcast Time shows "Continuous"

    I am using iTunes 11. In the "Podcast" menu under List view, I am seeing "Continuous" as the podcast time if that podcast doesn't have an episode. I'm not sure how to explain this but look at the photo and it should be explainatory. In the past, if there wasn't an episode, that box would be blank. Any solutions?

    i have the same problem, but only with one podcast.
    there are other podcasts with no episodes that are blank in the time column.
    no idea what's going on or why that podcast would be different

  • Itunes will only play one song at a time, not continuously through library

    I recently had to reload all of my song files onto an external hard drive...and now only one song will play at a time from my itunes library,instead of it continuously playing through the entire library. why is this happening? Its driving me nuts.
      Windows XP  

    Are there check marks beside all the songs in the library/playlist? Unchecked songs have to be clicked on individually to play them, checked songs will play one after the other. Hold down the Command key (⌘) and click on the check box beside any song in a list and the check marks will be toggled on or off: iTunes for Mac - Keyboard Shortcuts
    By the way you have posted in Using iTunes for Windows but I'm presuming from your profile that you are using iTunes for Mac. In Windows If you hold down the CRTL key and click beside any song in your list then all the check boxes can be toggled on or off: iTunes - Keyboard Shortcuts for Windows

  • IPad cannot be restored unknown error 1; I tried to update my iPad 1 to new os5 by syncing to new version of iTunes and found a message that my iPad needs to be restored.  I tried several times and continue to get same error code unknown 1; how to fix?

    When trying to sync my ipad to latest version of itunes, it appears the ipad identity was lost and a message in itunes says to restore the ipad.  However, multiple attempts to do this continue to provide the "This ipad cannot be restored. Unknown error 1"  I have tried resetting my ipad which just brings back the screen to connect it to itunes.  I have updated all software on my computer and restarted.  No luck!.  Please help!!

    Thank goodness for this thread! 
    I installed iOS5 last night and was having the same problems described above with my iPad 1 32 GB + 3G.  Unknown Error (1) and was unable to restore. 
    I took my ipad to the local Apple Store today and was told by the genius that it was a hardware issue, and because the warranty had expired, there was nothing the Store could do.  He suggested that I try calling AppleCare.  Then I asked to speak with a manager.  He apologized again and said there was just nothing the Store could do.  I was close to leaving, when I asked a second time if it would be possible to see a Manager. 
    After asking a second time, he called a manager.  After explaining my issue to her, she immediately authorized him to give me a new iPad !   Anyone with this problem should definitely go to the store and be polite but adamant.  You should get a new iPad.

  • In house prod. time for continuous manufacturing

    Hello friends,
    I want to enter in house production time in matarial master for continuous manufacturing process.I am using Base Unit Of Measure "Quintal".It is not possible to calculate In house production time. So how can I define it?
    Thanks!!

    Hi,
    In-house production time is lot size independent it use to schedule the order with basic date only, but when we do the lead time scheduling or create production order then system take the values from routing as it is lot size dependent.
    It is not possible to calculate In house production time?
    So pls maintain the approx time in material master then schedule the routing ca02extrascheduling--schedule after that click on scheduling result and update material master.
    Then go to CA96 and update the result in to material master and check the time in material master--work scheduling view.
    Hope it will clear your doubt.
    Regards,
    R.Brahmnkar

  • Does Time Machine Continue backing up when I close the lid on my MacBook?

    Probably a dim question but do I need to leave my MacBook with the lid/screen open for back up to continue? My Time Capsule is accessed by wireless. OS 10.6.8
    Thanks

    OK I see this has been answered already.

Maybe you are looking for