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

Tags: NI Hardware

Similar Questions

  • Error to delete using the Delete Trigger

    Hi people:

    I tried to use the following trigger. She inserts updates, okay, okay, but gives mutating table error when I try to delete the BALES_HARVESTED table...

    The trigger fires when an insert, update, or delete occurs.

    Table, the trigger is set at: BALES_HARVESTED

    Array that receives the entrance of the trigger (insert, update, delete): BALES_STORAGE

    The Code in the trigger that I use is:

    CREATE OR REPLACE TRIGGER FARM. HARVEST_DATA_TRG

    AFTER YOU DELETE, INSERT OR UPDATE

    WE FARM. BALES_HARVESTED

    REFERENCING NEW AS new OLD IN the old

    FOR EACH LINE

    BEGIN

    -your code here

    -(Relaxation model 'Default' could not be loaded.

    IF THE INSERTION

    INSERT into BALES_STORAGE (BALES_RECEIVED_GAINED, HARVESTING, CUTTING, STACKYARD, DATE_MOVED, HARVEST_ID, BALE_YEAR) values(:new.) BALES_RECEIVED,: new. CULTURE: new. CUTTING: new. STACKYARD,: new. DATE_RECEIVED,: new. HARVEST_ID,: new. BALE_YEAR);

    ELSIF UPDATE THEN

    UPDATE BALES_STORAGE

    SET BALES_RECEIVED_GAINED =: new. BALES_RECEIVED,

    CULTURE =: new. HARVEST,

    CUP =: new. CUT,

    STACKYARD =: new. STACKYARD,

    DATE_MOVED =: new. DATE_RECEIVED,

    HARVEST_ID =: new. HARVEST_ID,

    BALE_YEAR =: new. BALE_YEAR

    WHERE BALES_STORAGE.harvest_id =: old.harvest_id;

    ELSIF DELETION THEN

    REMOVE FROM BALES_STORAGE

    WHERE harvest_id =: old.harvest_id;

    END IF;

    END;

    /

    Matthewdelete_error.JPG

    Trigger for update to include all code...

    Is it possible to have a relationship of foreign key between two tables?

    Tables of mutation is not exclusively on the realization of DML on the same table that the trigger is, she also impact tables linked by a foreign key.

    You can consider a trigger made to postpone the operation until after statement.

    Google for "sample table mutation relaxation composed" and you'll find lots of examples

    HTH

    Connor

  • Lot of audio and video synchronization using the timecode

    I'm having an impossible time finding what I thought it was a very basic feature.

    I have two cameras and a set of audio, all synchronized SMPTE timecode container.

    How can I synchronize their all this?

    Here is the audio, here's the video. Synchronize them to me using the timecode. Pretty simple right?

    The function "merge clips" only allows me to synchronize a video clip at a time to an audio clip. At this rate, it will take me hours to select each file individually. Is he seriously not a function of batch processing?

    Not that I know of.  It is at the same time.

  • To synchronize using the dbms_lock

    Hi all

    We have a requirement that we need to make sure there is only one instance of the stored procedure call to a given input value (which is a JOB_ID), and I intend to use it as the name of the lock. I'm evaluating to see if we can achieve this by using the dbms_lock instead of going to a table with a row-level lock on it.

    Could you please let me know if the amount of the fine to make use of dbms_lock to achieve? Are there limitations to use?

    DBMS_LOCK is specially designed for the application of block level (aka the protection of resources or serialization).

    So yes, it does what it is supposed to do - when user code use it CORRECTLY. And this is where the crisis is - like serialization (as for parallel processing using DBMS_PARALLEL_EXECUTE) requires sane and logical grounds.

  • The commands ordered in the Structure by using the event trigger

    I wrote a few weeks ago, asking for help running of programs using .NET. (Finally understood, thanks) I'm ready to move on. My goal is to control the software Filmetrics by LV in the attached vi .NET Setup works, and now I just have a problem with the controls. To start a measurement of the film, Filmetrics takes a series of Spectra of the sample, reference and background, so I would do the same thing in LV I think that using a structure of the event in a sequence, that's what I'd do, but other ideas are welcome. I want buttons only to be triggered in order and disabled when it is not their turn. From now on, when I click 'Acquire basic' façade freezes. Also attached is a version very simple what I think, and it freezes as well. Any help would be great!

    No, do not use a sequence and several structures of the event!

    Here is a possible alternative (simple draft).

  • BlackBerry Smartphones unable to synchronize using the Desktop Manager - 8310

    I synchronize my organizing data from outlook.  Lately, I've noticed that some of the data that I add on the device are not sync to outlook and vice versa.

    I checked options on Desktop Manager and opted for two-way synchronization.

    For example,.

    I have added a contact device called 'device' and added a contact in outlook called "outlook"

    Desktop Manager prompted me to add data that I accepted, but once I'm out, I can't see not 'outlook' on my device don't see I "peripheral" on outlook

    Help, please

    Hi and welcome to the forums.

    I delete the intellisync folder and reset the options in the Synchronization Wizard.

    Thank you

    Bifocals

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB11703&sliceId=1&docTy...

  • Audio synchronization using the smartphone h.264 codec

    I recorded images on my smartphone iPhone 6 (HD, 1920 x 1080). The audio is perfectly aligned when I see on quicktime, but once imported in Adobe, it's off in a few seconds. I used a .mov, h.264 codec. I've tried several things made for re-entry and nothing has worked.

    > problem with variable bit rate (VBR) encoding

    The problem is at Variable rate

    Some people find that video of Apple (iphone, etc.) will not be easily edit because it uses a variable rate

    -A possible solution in the message #22 http://forums.adobe.com/thread/934466

    - or convert to constant rate with https://handbrake.fr/ opensource transcoder/converter

  • IMAQ Grab Acquire.vi error when you use an external trigger on a card NI PCIe-1433 (sync problem?)

    According to my recent post on getting up and running with the NI PCIe-1433 camera link card, I ran into a bit of a snag.

    When you use the internal trigger on the camera, everything works 100%. I can view all the data from the camera in MAX as well as in the labview project. However, whenever I have set the mode switch is where things start to fall apart.

    What I have confirmed:

    -Camera is switching between inside and outside triggering.

    -NI PCIe-1433 camera link card is set up properly. While in external mode, I can trigger the camera by using a function generator and check the wire to the MAX. Everything works fine.

    When the unit is in external mode, the function Acquire.vi enter IMAQ - my mistake VI. The error is:

    Code :-1074397150

    The possible reasons for a timeout.

    Now, I have it set up so that a mistake here will not end the LabVIEW file. Sometimes, data of interest makes however (about every 10 seconds-ish). So what seems to be the case, it's that this external trigger signal is not in the lineup when the clamp is attempted. Is it possible to synchronize these? May reference the trigger signal external sort in my LabVIEW project so that the clamp is performed only when that trigger impulses?

    So I solved my problem. He was in time. The external trigger that I used for the device was simply too slow. I was initially using a trigger from 2 Hz to be able to view the values changing on LabVIEW probes. But it was enough to get enough data to move above the camera cable to assemble a picture and kept it in time. Travel up to 9 kHz solved the problem. No adjustment to the camera settings or LabVIEW code was necessary.

  • Lost my domain name and cannot use the old e-mail address to pass to the new email address,... help

    my email address was on a domain that has been taken over by another person / company.
    As a result, my email does not work and I can't receive emails about this address any longer. All emails do not reach the cross. How can I change my email address on my account in Mozilla?
    Should I create a new account to Mozilla, and if so I lose all the data on my existing account?

    Specifically, "representing Mozilla?

    As a general rule, your email address is used as your username for most, if not all of the subdomains of the Mozilla, so you'll need to create a new account for each subdomain that you are registered with who uses this old email address.

    Now, if you are referring to an account of Firefox used for the synchronization service, untie all your devices that use Sync and create a new account in Firefox. Then "link" all of your devices to this new account, Firefox, using synchronization of the configuration on each device. You should not lose your data because when you reconnect to the synchronization using the new Firefox account, your data will be synchronized your different devices on the server synchronization across again.

    What is Firefox accounts?

  • BlackBerry Smartphones changing "synchronize using" for contacts

    I used to use BES, but now I'm on BIS.

    I want to synchronize my contacts with Google Apps / Gmail, but all my existing contacts say "synchronize using the: Desktop", while the new contacts I create say "using synchronization: [email protected]". "

    How can I move my contacts from Gmail?

    Thank you

    Weird. I thought I posted a follow-up. I wanted to move the contacts you want to synchronize with my Gmail / Google Apps account here, that's how I got it working:

    Download the free "ABC Amber Blackberry Editor" (not to be confused with ABC Amber Blackberry Converter, I paid $19.95 for which it did not help) among Free Download ABC Amber BlackBerry Editor, edit contacts in IPD files.

    Create a backup of your contacts via Blackberry Desktop Manager.

    Create a new backup (via the backup and restore-> advanced) only on the "Address Book - All" database, and save this as a separate file, IPD.

    Clear (empty) both the 'address book' and the 'address book' all databases.

    ABC Amber Blackberry Converter, open the second IPD file and save it as an IPD file another (in hindsight, I wonder if this step is not necessary).

    Use the Fund Manager to restore from that IPD file. All contacts are now under the BIS address.

    The strange thing is though (nothing to do with my previous question), if I edit a Contact in Google Apps / GMAIL, address, city, State and zip all move in the field "address" in my BB contacts application (all on one line). I can change it back to normal (i.e. address, city, State and zip in their individual fields) on my BB, but the next time I have edit the contact in Google Apps, it goes back on a single line.

    (I BIS contact SYNC, don't use BES).

  • The lines where him deleted using the databases from backup triggers

    Hi all

    1) CREATE TABLE student1

      (

         no    NUMBER,

         name  VARCHAR2(10 byte),

         marks NUMBER

      )


    I inserted the 10 records (1,2,3...10)


    (2) Created student1_history Table create table student1_history in select * from student1.

    (3) removal of Student 1

    When n = 10

    4) CREATE OR replace TRIGGER after_student1

      AFTER DELETE ON student1

      FOR EACH ROW

    START

    INSERT IN student1_history

                    (no,

                     name ,

                     marks )

        VALUES      (:old. no ,

                     :old . name ,

                     :old . brands of );

    END ;


    (5) select * from student1_history

    no row is returned.


    I have 2 tables as indicated above, I deleted a row in the table of Student 1 and I compile the trigger, I want store the deleted row in the Table student1_history


    Can you please help


    Hello

    Have you tried using the delete trigger BEFORE? Please try if you do not have

    Warm greetings,

    Jjun

  • Get the double trigger using CreatePulseChannelTime on a single machine

    I use DAQmx in c# to monitor a TTL (wide 3ms) signal, wait a while and then send a pulse on the line of meter output (wide 1ms). I put it to be redeclenchables so that for each input pulse, I get an output pulse after the waiting period. It works like a charm on a single machine.

    On the other hand, I get two pulse output. If I change the value of my delay, the two impulses are delayed by levels, and their interval is exactly the width of the input pulse. Looks on the scope of the trigger occurs on both fronts and, even if I asked only the Levant.

    As a hack, I extends the duration of the pulse to 3ms output, so that he survived the trigger pulse. This solved the problem, but is not sustainable in the long term because it limits the rate, I can do this operation.

    Everyone knows this behavior, or have clues? My understanding is that the task will not retrigger until he sees another front, and that the falling edge will not retrigger it.

    Oh - we exchanged the PCI-6052E card by a new one, but the problem remains. This problem will NOT occur on a machine we built 6 months ago.

    Here is the code:

    _triggerTask.COChannels.CreatePulseChannelTime (_cameraCounterLine, string. Void, COPulseTimeUnits.Seconds, COPulseIdleState.Low, 0, _delaySecs, triggerLengthSec);

    _triggerTask.triggers.StartTrigger.ConfigureDigitalEdgeTrigger (triggerLine,

    DigitalEdgeStartTriggerEdge.Rising);

    _triggerTask.triggers.StartTrigger.Retriggerable = true;

    generate 1 pulse

    _triggerTask.timing.ConfigureImplicit (SampleQuantityMode.FiniteSamples, 1); _triggerTask.Control (TaskAction.Verify);

    _triggerTask.start ();

    Thank you-

    John Duddy

    We just thought to it - the Heisenberg uncertainty principle applied to the classical mechanics. The problem disappeared when we disconnected the oscilloscope. Without the connected frame, we had to deduce the problem disappeared (not), but I am convinced. It was the same scope, we used the last time, too.

    It's a good lesson - when occur contradictions, check your premises.

  • How will I know if I use the new synchronization?

    Want to know if I need to go through the new process of synchronization of devices not linking the synchronization of the former and the reset to the new synchronization.

    The servers used for the old version of sync have been taken down and you can no longer access the data stored on the server.
    You can use the new synchronization version that uses a Firefox account (https://accounts.firefox.com/).

  • My hard drive died suddenly, and after that I am unable to find my old favorites (used the synchronization of the former). Bookmarks are on your server, can I get back them?

    I have the key to firefox sync (used for synchronization of the former) and everything, but of course it is unnecessary with the new synchronization system. One of my ideas was to connect to my office computer, sync all bookmarks, and then switch to the new sync - but unfortunately being unused for years, it turns out that the monitor was dead, and the graphics card seemed to be roasted (felt like it anyway).

    Any ideas?

    This may not work (Firefox sync isn't a backup system, so this will probably fail), but it's worth a try:

  • Photon counting using the FPGA of the series R. problem generation TTL signals

    Greetings,

    I try to use the R series FPGA to read and count the pulses TTL of a discriminator (count of photons of the Hamamatsu C9744 unit) connected to a PMT (Hamamatsu-H7422P-40). The release of PMT looks fine (signal.png H7422P-40) but the discriminator wasn't able to generate corresponding TTL 5V pulse. There was some scattered and random spikes, but nothing significant. Instead, the only stable the PMT signal is a single + 5V pulse no matter how, I adjusted the PMT (C9744 output.png) control voltage. The PMT and the discriminator is connected by an ordinary BNC cable 50 ohms.

    I am really confused because it was supposed to be a really simple installation. Anyone have a similar question or have similar Instrumentation (but no problem) configuration? Comments/suggestions are greatly appreciated.

    Thank you very much in advance!

    Hi Kelli,

    Thanks for your help. Sorry it took so long to get back to you.

    I actually found the question. The discrimination of the Hamamatsu unit level is set too high that all signals got filtered. After adjustment of the threshold of manuallyt, I was able to get the camera TTL pulses. And 7842R worked correctly for count impulses. Everything works fine now. Thanks again for the input.

Maybe you are looking for