external TTL sync

I need to synchronize a sine output to an input ttl (1 kHz).  Basically, I need to turn a ttl input in a sinusoidal output running at the same frequency (or a harmonic sup with adjustable phase) and amplitude.  I have a pci6221 DAQ card and a bnc breakout box, but I have not been able to get a sinusoidal output synchronized to the input ttl value.  Is there a simple way to do this before you have me fed up and break all the electronics?

Thank you

I found a VI that does what I need it to do

FTP://FTP.NI.com/pub/DevZone/EPD/retriggerable_ao_0001.zip

Tags: NI Software

Similar Questions

  • Video/external audio sync problems

    So I recorded the video of playing me the guitar and record audio to a separate computer, to be imported and synced up in post pro. My problem lies in the fact that audio and video are not synchronized rising due to my ability to cut and move the audio into a single framework. I have disabled the function of hanging, but it doesn't seem to help. It's a little less or just past a perfectly synchronised result. Can I trim/move the audio inside of Premiere Pro or what I have to guess and to restore the cut sound by 1/4 of a second by that it is disabled?

    For any question, please ask! I usually work in Cubase where publishing is going so deep as milliseconds and samples, so you can see where it's just a little frustrating... Thanks for any help =)

    Vincent M. Ippolito

    SRS Productions

    In the properties of the program monitor (menu from the top to the bottom right), click on "Show time audio units", this should allow you to edit sample level and milli seconds, you can choose in the settings of the sequence. Even without that, you should be able to get audio through a frame, 1/30 sec.

    Richard Knight

  • OR USB-6211 is used to count climbing on board TTL

    Hello

    I'm new to NOR-DAQ cards, and so before buying whatever it is would like to know if it is possible to use a device, NI USB-6211

    County and bin amounting to edges of a TTL signal.

    What I want to do is to count how many rising edges of a TTL signal I get in a period of 1 ms; a 20 Mhz sampling frequency should be fine.

    I would like to use Matlab to control and read the number of edges that are counted as well as in the meantime write and read digital IO ports from the USB-6211.

    Is it maybe possible to leave the external TTL signal trigger a 6211 counters, an output then periodically (1 ms) and reset the value of the counter?

    Is it possible and if yes, is it a good idea?

    Thanks and regards,

    Manual

    Manual Hi

    In order to generate this signal, I could use a second timer mode continuous pulse Train generation, right?

    -> Right. You can choose between 2 options

    (1) get the signal to another device, for example signal generator or something like that. If you cannot use such a device, you must select the second solution->

    (2) generate the 1ms period square wave with the meter of the USB-6211 seconds

    I don't know a smart way to generate the 1ms period signal without the software side. You need the software to configure the second counter, route the signal to the second counter for the first counter and so on.

    Maybe you can use what is called "panel test" inside the Explorer Measurment & Automation to generate signal. The Measurment & Automation Explorer is a tool provided with the driver for the DAQ cards. The original purpose of this software utility is to configure your hardware, test and so on.

    I don't know if it works, but I imagine that the following solution:

    You use the test panel called inside the Measurment & Automation Explorer to generate the 1ms period signal (see attached screenshot and http://www.ni.com/white-paper/4638/en). You have no additional program to run the test Panel. Box USB-6211, you use a wire to connect the signal output of the meter of second at the entrance to the first counter. After that, you run Control Panel to test the generation of signals for the seconds counter. At the same time, you start your Matlab program and configure only the first counter. You will need to run the Testpanel all the time if you want to run your measurment.

    Not very nice, but maybe the only solution.

    Best regards, Stephan

  • Evanescent synchronization using the TTL trigger

    Hi all

    I work with the NI DAQ (PCIe 6363) set and uses a waveform as outputs analog to control a scanning unit.

    Now I want this output to synchronize with the rising edge of an external TTL signal (the * fire * out of a camera).

    To do this, I used [Cont Gen tension Wfm - Int Clk - analog Start] - model with minor changes (see attachment with a few comments included). In fact, it works, but only if the output signal is long finished when arrives the next TTL climbing aboard. What I want is a rising edge trigger that happens, say, 100 Hz, and a waveform near 10 ms-long that starts with this trigger. So far, I have to operate with a approx. 8 ms wavelength. It seems to me that the loop in Labview (see attachment) software takes the rest of the time. If I increase the wavelength to 9 ms or more, the loop is too slow and little miss the next rising edge trigger.

    Unfortunately, I can't use [continuous sampling] that there is too much instability in the external trigger.

    Is it possible to optimize this problem? For example, is it possible to tell la carte DAQ 'turn off this waveform whenever you receive the trigger"instead of"put on this waveform when you receive the trigger, then shut up? " Or is it possible to run two while loops in parallel that alternately hold the trigger signal and both use the same output channel? There is another, simpler solution?

    Thanks for the pointers,

    Peter

    You must use the property start.retriggerable, something like this:

    Best regards

  • NVIDIA g-sync

    I am looking for a new laptop to be able to work with XAVCS and 4 K images.  Some NVIDIA GTX graphics cards can handle 4K clips and offer intern or extern G-SYNC to better display in 3D games.  Should I have this feature while editing the clips XAVCS or 4 K in first Pro CC?

    You do not have.

  • audio clip WAV plays is not in Final Cut Pro (unless in the timeline)

    I have a few audio dialog recorded externally on syncing with my videos. It is in format wav 24-bit / 48 kHz. The problem is the audio clips will not play participate in event viewer so that I can revisit. To be more precise, when I hit the space bar the cursor moves along the clip, audio level indicators move up and down as if it is being read, but I have no audio output. However, if I drop the audio clip in the timeline panel, press space - it plays perfectly!

    Clues of what happens anyone?

    Thank you.

    10.2.3 FCPX

    Try to convert the audio 16 bit @48 kHz .aiff.

    The audio as it is, very probably turned in the Timeline to conform to the parameters of the project on the fly.

    Al

  • Pause a redeclenchables meter

    Hi everyone, I'm trying to accomplish something that seems simple to me, but I'm having a hard time to implement.

    What I have is two impulses. The first impulse triggers off a signal external TTL at 10 Hz with a 3ms delay, so it also fires at a frequency of 10 Hz. The second impulse triggers off the coast of the first impulse with a delay of 100 microseconds, but I need this impulse to fire at 1 Hz instead of 10. This seems to be a classic example of triggering, but I have a problem with LabVIEW. (Note: the 2nd pulse triggers the first pulse instead of the external trigger for the stability of synchronization.)

    What I need is very similar to the example shown here: http://digital.ni.com/public.nsf/allkb/204538A044431C9B86257377004EB952, as in, I would like to break my fast signal using a small moment of a slow. Except that in my case, my fast meter (10 Hz) is triggered and the slower meter (1 Hz) can be arbitrary, rather than the reverse as in the example.

    I tried to do by using the three counters. One of them is a redeclenchables impulse that controls the 1st impulse (ctr0). Another is the same thing, but used for the 2nd pulse (ctr1). And the third uses just the implicit/ongoing synchronization tool to create a 1 Hz signal (ctr2). I then tried to put in the 'break' property node in ctr1 use the output from ctr2 as source to pause, but it has erased my 2nd pulse.

    I'll upload a VI as soon as possible (maybe it is a negligible error), but this sounds like a correct approach?

    Thank you very much!

    The code snippet below is a starting point to generate your 2 impulses with only 2 counters.  No need for a 3rd counter or type of relaxing break.

    Hypothesis: I treat only the rising/tip of impulses as critical timing functionality, making sure that the edges the timetable you have described.

    Both are just redeclenchables single pulse, one triggers the external signal of 10 Hz with a delay of 3 ms.  The pulse is short enough so that the meter will be easily ready to retrigger 100 milliseconds later.

    The second counter triggers the release of the first with a delay of 100 usec.  This time the pulse is set to be long enough that the pulse will not end, for about a second.  It ends just in time for redeclenchee by the 10th later trigger edge.  If these impulses will be at 1 Hz, with edges of attack delayed by usec 100 to another counter msec and 3.1 of the external pulse source.

    -Kevin P

  • Repeating the trigger with Start.Retriggerable

    I have a DAQ PCI-6259 (M-series card) card I am programming with DAQmx. I would like to know if there is a limit in terms of how close together you can use Extensible triggers. I intend to use a frequency of internal clock to 1us. An asynchronous external TTL signal will be used to trigger a finite sequence of digital output of the 6259. The finished digital sequence is 4 samples of long, so it will take 4us. The edges of the asynchronous trigger will happen on every 100us. I intend to use the property Start.Retriggerable = TRUE trigger so that I can repeat this generation 4 sample every time the external TTL signal is received.

    Is 100us too close together? Is there a limit to how closely together, you can repeat a hardware trigger when using Start.Retriggerable = TRUE?

    Is it possible to know if my card PCI-6259 even supports the property trigger Start.Retriggerable?

    100 US will be very well (time to rearm is the order of a tick or two, 10 timebase s ~ ns).

    However, the M series supports digital output directly redeclenchables not.  Instead, configure a redeclenchables counter finished output to generate impulses 4 to 1 MHz (this example uses two counters embedded M-series).  Use the output of the internal counter as the sample for a task of digital output clock continuous who will repeat your 4 sample sequence.

    Best regards

  • Continious 5V output on BNC-2090 PFI0

    Hi all

    We have two systems OR:

    -BNC-2090 is with a USB-6251 (mass)

    - and a BNC-2090 with one card DAQcard-6024E.

    Both systems work perfectly while that when their trigger externelly on PFI0 channel by an external TTL pulse sending unit.

    Now, instead of use this device, I build a simple push button operated by the + 5V line connectors on the boards.

    While this works perfectly for the BNC-2090 has with USB-6251 it does not work for the BNC-2090 with DAQcard.

    If I hang on the line PFI0 up to an ossiciloscope I notice a continuous 5V output being present. When I connect the device to the outside to

    the PFI0 line so I can see the output to 0V * (that's function as a trigger appropriate with pulses of 5V line). When I change the external device for my push button,

    the output remains 5 V and the action key produces just, um, a small ripple on the output 5V obviously not be identified as a trigger.

    (The BNC-2090 case gave a V output 0 on the line of PFI0 regardless of what I connect to it)

    For several reasons, I prefer to use the BNC-2090 with my DAQCard.

    Ideas on how I can trigger above the PFI0 line with my single button (and why the output is always 5V...)?

    See you soon

    Mark

    Hi Mark,

    The 0 V against 5 V difference is explained here: main differences between E-series, M series and hardware DAQ X series

    The internal resistors on the PFI lines have changed between the E and X series / series M. series E devices have a PULL UP resistor ~ 50 kOhm connected internally to each line of the IFP, while the X / M series have a ~ 50kOhm PULL DOWN resistance.

    Brad

  • synchronization of predator g9 - 592 g

    Hi, I have an acer with 980 M 8 gb 15 predator and I have only the 3d on nvidia Control Panel settings (this laptop he assumed support of synchronization g because it is write on the computer). I try with the drivers from nvidia and acer (with clean install) site. There is no solution to this problem?

    Raska,

    Connect the laptop to a monitor external g-sync?

    If this isn't the case, I'm sorry wishes to inform you that perhaps you misunderstood the specs.

    This laptop is not internal monitor g-sync enabled, it only supports monitor external g-sync via display port.

    EDIT: Add this to your reference (notebookcheck)

  • How can I keep IE and FireFox Favorites in local sync to my PC only, without the use of an external server or import/export?

    FireFox Sync is not an option, because the use of an external server is not allowed.
    Use of third-party modules is not really an option.
    Import/export is inefficient because it is not put them in the same exact place in every browser.

    I am happy to be able to use the same favorites/bookmarks file if it is an option.

    Thank you

    You do not have.

    Sorry, IE and Firefox use different methods of storage Favorites / Bookmarks to data that are not compatible with the other program.

  • I moved my itunes on an external hard drive. How do I now access it with my PC and sync with my ipod?

    I moved my iTunes on an external hard drive because of storage problems. How can I use iTunes and sync with my iPod?

    Move the iTunes database files if you do not already done, launch iTunes with the SHIFT key pressed and select this library.

    (138742)

  • Cannot sync the new songs from IPod after transfer library external HD

    A few days ago, I consolidated my library on my external HD to clear a space on my PC (Surface Pro 3). Then, yesterday, I downloaded a new album and even though my iPod shows on ITunes it has not added the new album.

    Music sync is unchecked, but I don't want to lose what is now on my IPod to Sync music. I tried to do the thing "Choose library", but when I click on the ITunes Media folder on my external hard drive it opens just the folder. It won't let me set it as my library.

    Any suggestions on what to do?

    Sound like you may not be having the media on external rather than the entire library. If so the shift Start iTunes, use the option create and make a new iTunes library called iTunes at the root of the drive, move your media folder in the iTunes folder and then add content to the library. See make a library of portable split for some information on the Organization of the library.

    See also recover your iTunes from your iPod or an iOS device. You may be able to recover ratings and playlists to the device.

    TT2

  • GPS sync and external clock

    Hello everyone,

    my task is to synchronize my PXI system to the time base GPS and after using an atomic clock (10 MHz output signal) as well as external CLK in. after the first synchronization of the GPS. the GPS signal is no longer available, however very important as the base unit of time not significantly drift. For the material there is a PXI chassis with 6682H module for GPS reception and 5622/5603-5653 combination for the acquisition of measurement data available.

    I thought since I'm fairly new to Labview and PXI system, it would be nice if someone could give me some feedback on the solution and help solve the problems that I have.

    The idea would be to have atomic clock connected to all CLK INs the PXI at all times. For GPS sync I would use the "Set time reference niSync' function first set the clock of Council to the GPS. After the free trial (the device is not moved during the GPS synchronization) I would like to stop using the GPS.

    After the external atomic clock. should also be used to calculate the frequency increases and the determination of the relative time. I suppose that if I back the reference to free running time, it would still use the last increments of calculated frequency derived from GPS?

    Is there another solution to address both reference to PPS? Problem is, I only have a 10 MHz signal available.

    Thanks a lot for any help

    Hello.

    When the PXI-6682 tries to synchronize to a source (GPS, 1588, PPS), she is a great fit for its time base, to eliminate the first offset from the source and then made small developed to the clock, the timekeeper, to keep in sync with the source of the conduct.

    In this case, you have an atomic source at 10 MHz that you trust, so you do not want/need small adjustments, you want to only make the initial adjustment of wholesale and then just run based on the clock of 10 MHz supplied.

    Is there a way to make the PXI-6682 to do this.  You will need to configure it to assume that PXI_CLK10 is good and no adjustment is necessary. There is no call to the Sync API OR standard to do this, you need to get the VI that configures the jury to do this in the .llb used to clock discipline (in which the PXI-6682 also doesn't make small adjustments based on his time, but guess PXI_Clk10 is 'good').

    You can get the .llb from here: http://joule.ni.com/nidu/cds/view/p/id/2318/lang/en

    The VI you need is mdevClkDisc.llb\_clkDisc_niSync_advancedAttribute_set_bool.vi

    Together the "attribute of niSync" entry "Clk10 disciplining activated ' and the 'value' of coming true, as shown in the picture as an attachment.  The time reference offset must be<10ns and="" constant. ="" give="" that="" a="" try="" and="" let="" us="" know="" how="" it="">

    Note that once you do this, the PXI-6682 will be able to make adjustments to his timekeeper. It will work exclusively on the 10 supplied MHz reference clock. Therefore, if the clock of 10 MHz in fact derive from GPS, there is nothing that the 6682 can do about it.  If you fall into this situation, one thing you can do is set at a time reference to free running, set the time to something that is off by saying that 60 seconds, and then set the time reference to the GPS.  That should put it back on the rails.

    I hope this helps.

    Alejandro

  • Sync external PXI trigger

    Hello

    I use a PXI-5122 to record an external event triggered.  When I run my setup using an oscilloscope, the relaxation and the answer are aligned (see first attachment, response is the most noisy, curved channel 1).  Transfer when the installer for LabVIEW, the shutter is badly programmed and seems to happen until the trigger is actually received (see second attachment).  The outbreak of the second curve point should be at the beginning of the climb and it should also be at t = 0.  The trigger that I use is triggering external edge Ref-OR-SCOPE (VI included as the third attached).

    I guess this problem is caused by the trigger being a trigger for reference, but I don't see other kinds of relaxation to use and I don't know how to deal with this problem.  Can anyone help?

    Hi Glen,

    Looks like you're right that the problem is that the scope is configured to use a reference trigger.  By default, the reference position is 50%, which means that half of the samples in an extraction will be before the outbreak and half occur after.  The scope accomplishes this by storing data continuously as it is acquired in a circular buffer so that the most recent samples are available when the reference trigger is received.

    In this perspective, the challenge is really very simple – you can specify the reference Position as input to the niScope configure VI of horizontal sync:

    Fair value the reference position 0 (default is 50) and you will receive all of your data after the trigger occurs.  A value of 100 would give you an entire record of samples before firing.

    Best regards

    John

Maybe you are looking for