analog sync of input with the onset of the digital output

I'm trying out an analog signal to a file with a specified frequency samples.  I also need a digital output to trigger a measurement at a frequency specified on a separate system.  The frequency is controlled by the loop exits and timed when the iteration number divided by the period is exactly a whole number.

Both outputs work.  The problem is that they are not synchronized.  The analog output amounts to about 0.5 ms faster than the digital signal.  (I checked with an oscilloscope)  They both start in the 1 ms each loop runs for, but I really need them to start at the same instant.  What can I do to synchronize?  Also, if I'm going in the wrong direction complete, please indicate.

I use a card PCI-6723, which I think someone at some point, said not having a material sample clock.  That's why I try to use a timed software loop.

Hi NEA.

You must use the 6723's built-in calendar to accomplish what you want.  As the digital output subsystem is only clocked by the software, an appropriate solution should be to use one of the counters to the pulse output.

The attached code should show how.  You can use the counter to output a pulse all samples of the AO N task.  Material requires the initial delay to have a minimum of 2 ticks, so the meter will be behind the task of the AO by 2 samples in this case.  There are different ways to work around this problem if you need (for example write two samples of 0 first).

Best regards

Tags: NI Hardware

Similar Questions

  • Just bought a new computer. an old crashed. How can I sync my iphone with the new computer?

    just bought a new computer. an old crashed. How can I sync my iphone with the new computer?

    Original title: sync

    Ask the question in the Apple Forums:
    https://discussions.Apple.com/index.jspa

  • Problem with the digital data to write VISA function

    I have a GE's PowerPC that is running on the VxWorks operating system. I have a tornado application where I run my C code to generate a file .o & .out, then I empty image .o files & .out for PowerPC via FTP, now I need to communicate with PowerPC of LabVIEW (via serial communication using VISA vi) using the VxWorks controls. When I enter orders VxWorks in LabVIEW

    That is to say for Eg: 1 > ls --> the contents of a directory list IE .o & .out files. The problem I'm facing here is, when I run the vi, I am able to read the file in the box to read the string but keep files on speeding up juice,

    2 > ld <> --> load a module object in memory. I face the same problem here.

    3 > then I need to type the name of funtion main c program, after which I can give input to the program.

    4 > I need to enter numeric data as inputs to my program. but the write VISA function accepts the only input string and read VISA function gives only out of string... I want to give digital entries and read the digital output.  Any help would be appreciated.

    Hi Luke,.

    You can try with this reliable hyperterminal VI.

    http://lavag.org/files/file/172-hyper-Terminal/

  • Problem with the digital signatures of workers govt

    If I get emails quite frequently NAVAIRSYSCOM workers via my e-mail from work which is the right company, no Government excuseraient. On my last phone an orginal Droid, a few emaisl would tell me there was a problem with the digital signature for e-mails, but I always saw the e-mail itself.

    Since switching to the Maxx HD, I can see no longer the body of emaisl to these people. All I get is a "impossible to decrypt this message." It is not every person govt, but enough that it is very frustrating. Any ideas on how to work around this problem? and I know that the message is not encrypted, I can see fine by Exchange and we are app.

    We have a couple of our team focuses on similar issues. Passing this along.

  • Error - Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection. Cannot read any DVD.

    Original title: unable to play any DVD

    "Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD player and the video card protection decoder. Try to install a driver available for your video card.

    I tried to update all the drivers but the problem persists

    Hi Neil,

    1. have you made any hardware changes or software on the computer before this problem?

    2. what version of windows Media Player do you use?

    You can follow this link & check if the problem persists.

    Windows Media Player Error Message help


    Reference:
    How to troubleshoot issues that occur when you play a DVD in Windows XP?

    Hope the helps of information.
    Please post back and we do know.

  • My laptop is windows 7 and with most of DVD it says that there is a problem with the digital copy. I'm also having trouble changing the region

    the exact message is: "windows media player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection. Try to install a driver available for your video card. When I click close it comes with this another message saying that my DVD system is set to the region one and I need to change it to region 2. I have change for the region, but he said: "Windows Media Player cannot play the DVD because the disc prohibits playback in your region of the world. You must obtain a disc that is intended for your geographic region. ». I don't know what to do.

    There is a chance that the free VLC Media Player
    would be to read your DVD without changing the region code.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    VLC Media Player
    http://www.filehippo.com/download_vlc/
    (works on XP/Vista/7)

  • No sound from the computer with connected generic speakers VISTA SP2. Symbol pregnant shows active with the Digital Audio device.

    I have vista SP2, I connected to generic stereo speakers using the green light at the back of the computer. Vista does not recognize the speakers. The speaker symbol at the bottom right shows "digital (HDMI) 2 high definition output audio device." It shows active. I had this problem before, and VISTA should pick up 'speakers' something to that effect. I have no sound until it captures "speakers". I can't get VISTA to recognize this. It keeps starting with the digital audio device. Don't know what to do, checked all the forums. It should just pick up these simple generic markets good speakers. Before SP2, I lose sound when VISTA is in standby mode. He would then turn off the stereo speaker and replace the digital output device driver... However since SP2 I can't get VISTA to recognize that I have just connected speakers and not a digital output device.

    Yes, when I uninstalled the driver, THEN shut down the computer and then restarted, he picked up the device high definition audio "speakers" good pilot is NOT the

    "digital (HDMI) 2 high definition audio output device that he used to pick up."

    I now have sound!

    I hope that it stores the right driver now as in the past, when VISTA went into sleep mode, it will disable the speakers, and you have to restart every time.

    Thanks for your help.

    You can add instructions to boumediene, the fact that you must RESTART your computer to search for new drivers, once you uninstall.

  • I can't play DVDs in Windows Media Player 12 on Windows 7 Pro and get this error msg: Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection.

    Hello, thanks for reading and helping me.

    I try to play a legitimate, belonging to DVD, but Windows Media Player 12 will not play on my computer Windows 7 Professional.  The DVD worked a few days ago, but all of a sudden, I get the following error message:

    "Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD player and the video card protection decoder. Try to install a driver available for your video card.

    I did a lot of research of these forums and on the ' net.  Here are the suggested steps I tried without success:

    • I tried VLC player.  This works.  However, rather than use this workaround, I wish to find a solution to my problem WMP/WMC.
    • I tried several DVD for years over the last decade.  These DVD works on my laptop, also running Windows 7 Professional and the shark 007 codec.
    • I uninstalled my Shark 007 codec
    • I tried other codecs (K-Lite)
    • I assured that the latest drivers are installed on my video card, XFX ATI Radeon 5850
    • I tried to uninstall Nero 9
    • I tried to use the Windows 7 troubleshooting options:
    • > Reading and burning CD, DVD and Blu - ray (no problem)
    • > Windows Media Player DVD (no problem)
    • > Windows Media Player Settings (detects a problem, wants to restore factory settings, every time, no matter what happens)
    • A system restore to a time when the DVD was working did not resolve the issue
    • The different links in Microsoft, I found in this forum about this problem do not seem to be useful.  There is a link that points to the set-top boxes, but this page just says: "Windows 7 comes with a decoder.
    • I assured the latest driver is available by going to "Device Manager", right click on the drive, then click on "update driver software".
    • I assured that the latest firmware is installed directly from the manufacturer's website.
    • I tried to reset my DRM by renaming the DRM under C:\ProgramData\Microsoft\Windows folder and by going to this Web site to upgrade:http://drmlicense.one.microsoft.com/Indivsite/en/indivit.asp?force=1
    • I've uninstalled and reinstalled Windows Media Player 12 and Windows Media Center via the function "functionality in Windows.

    I would be very grateful if a Microsoft technology could chime.  Thanks for your help!

    MY COMPUTER:
    DVD drive: TSSTcorp CDDVDW SH-S203N ATA Device (Samsung)
    Driver: Microsoft 6.1.7600.16384, dated 06/21/2006
    Graphics card: XFX ATI Radeon 5850 Black
    Motherboard: Gigabyte GA-X58A-UD3R
    Processor: Intel i7-920

    -Intel i7-920, Corsair 6 GB of RAM, ATI Radeon HD 5850, Gigabyte GA-X58A-UD3R, Corsair 800 d case

    Hello

    Try this free program:

    http://www.DVDFab.com/passkey-Lite.htm

    Carlos

  • After you have uninstalled an editor audio wave cushion, my DVD stopped playing with the error: because there is a problem with the digital copy between your DVD drive decoder and video card protection.

    my dvd will not play after you have uninstalled an editor audio wave pad. Is there a way to fix my dvd without reinstalling the program? I received the following message, (Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection. Try to install a driver available for your video card).

    my dvd will not play after you have uninstalled an editor audio wave pad. Is there a way to fix my dvd without reinstalling the program? I received the following message, (Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection. Try to install a driver available for your video card).

    ================================================
    If the uninstallation of software caused the problem... it may be worth trying to
    do a system restore to a time before the software has been uninstalled:

    Windows 7 system restore: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions

  • Hello, I have problems with the digital signature on the software. It displays the error message: 2148073510. Could someone help me?

    Hello, I have problems with the digital signature on the software. It displays the error message: 2148073510. Could someone help me?

    Hello

    I would ask you go through the next thread once and see if that fixes the problem.

    Error 2148073513 when you try to digitally sign Acrobat 11 standard

    Concerning

    Sukrit diallo

  • What is the current max on the digital output of a Terminal BNC - 2110

    Im a using a card of data acquisition of 6221 with a block of connection BNC-2110 connected to it. For the e/s digital terminal block provides an additional 5V input. Unfortunately I don't seem to find any information as to know if this provides additional current to the TTL signal or no training. Is there an internal pilot in the terminal block, or - if I need to connect external relays to the digital output - always connect a current driver in between?

    Thank you

    Wolfgang

    You can replay the 6221 and BN_2110 manual. The + 5V pins are outputs of the DAQ card - they are not entries.

    Yes, you will need external circuits if the external relays require more current than can provide the DAQ card.

  • How to configure the digital output of the pci terjeta 6023E in LabVIEW 8.5?

    Hi, I have a card PCI-6023E and LabVIEW 8.5 and I need is to configure the digital output on the card, but did not.
    My idea is to get a port of digital data on the map and control by a pwm small dc motor.
    I wonder what are the modules with which you can do.

    Hi skudero,

    Probably the web page tracking and the attached example will work.

    PWM in software timing using a digital output line

    Concerning

    Charley - NIB - SR 1368189

  • Binary output to the digital output as 1111 1111 1111 pin

    Hello

    I use DAQ 6009 and I need output such as 1111 1111 1111, at the digital output (12) of data acquisition. Please give an idea or a vi to do

    Thanks in advance...

    Hi DK,.

    Look through the viewfinder of the example for example appropriate screws...

    In general: open/create one task DAQmx, select all lines, exit TRUE for all channels...

  • Out of sync a station with the model of batch process?

    Hello

    My project has 5 test stations are run in parallel. I decide to use the batch process model because I want that they start and stop together. Next to startup and shutdown, I have some part in the need for synchronization of the entire test sequence. But in 5 stations, I want a workstation without flash sync to these steps. I tried to use the commands synchronize with the precondition, but it looks like that other stations are waiting for that one I jump the sync. My other option uses rendervous with number of parallel thread total is - 1. I test it and it works. But I still want to know if I can use batch synchronize step or not because it offers synchronization of start and exit synchronization.

    Thank you!

    NTT says:

    Doug,

    Thanks for your reply.

    I want to have something happening parallel with other threads, but without effect by steps of synchronization batch. I have several workstations parallel to the Assembly line. They are sync due to the pick and place. But I want to have a process is functioning as the station manager who keep track of USE between the train station and other site conditions such as pressure, temperature.

    Thang

    As a general rule, the intent of the TestSockets in the process templates is that they will have a 1 to 1 with DUT match, taking your 5th corresponds to an object to measure? In other y 5 DUT tested at the same time? DUT often need things like logging database or report generation. Your 5th decision-making requires the generation of reports? If not maybe this 5th Jack is really more than one thread of utility and creating a new thread or performance during execution makes sense for her. If your 5th instead making it really fits under test DUT in parallel enitrely separately from others the DUT then maybe you should start up a new run for the socket using the sequential model and just run as your other shots are running with the model of batch processing.

    So, it really depends on what you use this 5th station/thread to find out which method would probably work better.

    Hope this helps,

    -Doug

  • Sync 2 servers with the same time

    I am writing an application that requires a separate server 2 time synchronization.

    Inside, the 2 servers are not on the same network. I am in communication with the server through the SQL Server, using port 1433.

    But so that my request of wroks, I need two servers to be on the same time.

    I've read about NTP, but I think that this can be used for computers on the same network.

    Any ideas if this is possible?

    Thank you!

    Hi Brasciole,

    Welcome to the Microsoft community where you can find all the answers related to Windows.

    The question that you are running in suitable for the forum on the link below:

    http://social.msdn.Microsoft.com/forums/en-us/windowsgeneraldevelopmentissues/threads

    Please report if you encounter a problem with Windows.

Maybe you are looking for