Strange variation of duration for the generation of pulses

Based on the example vi 'Gen dig Pulse Train-finishes-Dig Start.vi' I created a configuration, as shown in the picture. The rising edge to initiate the impulse is given by a 100 Hz signal by a function generator attached to Ctr1.

How is there is a big gap in time measured to create the signal?

Is this normal?

I tried to synchronize a lamp with a spectrometer and a gap of 20 ms, it's too much.

PS: I use a PCI-6602 with a block of connection BNC-2121


Tags: NI Software

Similar Questions

  • the use of two meters: one for the generation of regenerable impulses, one as a counter

    I'm new on use the counters. I use an NI PCI-6110 multifunction data acquisition card. I want to count a digital input (on the connector of the PFI 2) pulse and also using the entrance to trigger another counter to generate impulses. So I configured the first counter (task 1) to generate digital pulses with PFI2 as a source of relaxation and redeclenchables award; and set up the other counter (task 2) to count the number of edges of the digital signal with.... But after the two tasks began, the first task was an error 50103 (or the possible reasons: NI Platform Services: the specified resource is reserved.) The operation could not be performed as indicated.) The block diagram is attached. Thank you.

    Your Board uses very-old-in-electronic-standards-DAQ - STC a smart meter that requires a little secretly * two * counters work together to make a finite pulse train.  He is not actually secret if you read the right parts to the right documentation, but it's not hard to miss if you are unsure you should look.  It has been a while since I've done a lot with these counters, but I have this nagging thought that they may not support redeclenchables finishes pulse train generation at all.  I would caution you to at least check this.

    In any case, it is the reason for the error.  The finite impulse generation task uses only the counter that you specify, but there was also this one to help.  A couple of new generations of smart meter (NOR-TIO, DAQ-STC2) continues to have this limitation, but the * more * recent it is no longer made.

    X series boards use the chip "NOR-STC3" that give you 4 programmable counters by the user instead of 2 * AND * everyone can generate pulse trains finish without using a help desk.  You may want a pair of them upward with your 6110, assuming that you need simultaneous sampling analog 6110's capabilities.

    -Kevin P

  • Divergence of duration for the mp3 file

    After export to an MP3 to Audition for Mac, I have a discrepancy between the duration of the file that is displayed in the 'file Info', (i.e. what you see when you right click on a file and 'Get Info' icon) and the actual duration of the audio file. The duration of 'get info' will be less. Bigger the file, the more the difference (seven seconds or so on a file of 1 hour). I would have never noticed this or supported except that one of my clients is-compilation automatic files (in pounds) and the content is get truncated. Apparently, the keys the client out of the info 'file' and not the actual properties software. But then, the data should be the same. Advice anyone...?

    Just a wild guess that it might be a difference in the sampling frequency. Audio for CD is recorded at 44.1 kHz. Audio for video is usually recorded at 48 kHz. Once, I made the mistake of audio recording on a recorder that was set to 44.1. When I dropped it in a sequence defined for 48, there is a difference in time between the video and the audio clip. I did the work by trial and error using the extensible rate on the video tool, until she was. I could re - sample audio at 48 kHz, but I thought that I would lose less time to stretching of the rate because the clips were more than an hour each.

    Check if your output of the hearing is set to 44.1. If so, change it to 48.

  • NOR-6289 DAQ latency for the generation of digital signals

    What I want to achieve is less than 1 second latency between the update of several digital waveforms and see these values appear on the digital output pins.  For example if I have 16 digital output channels in my task and I am writing 127 samples for each channel at a rate of 1 every 10 ms sample, then I update the waveforms in Labview that are sent to each channel, I do not see the new values on the pins of the output for about 21 seconds.  FIFO size onboard for the 6289 is 2 047 samples.  At this point, I guess this latency is unconstitutional by the FIFO on board - but I could be wrong.

    If the FIFO on board is shared by all channels in a task, a sample of each waveform is generated to the output every 10 ms, then I would expect latency (2 047 samples/16 channels) * 10 ms/sample = 1.27 seconds.  However, I still see latency of approximately 21 seconds. Is there something fundamental about the FIFO on board I'm misunderstanding? Or is there something going on in the PC buffer which adds this latency?

    I enclose my VI for reference. NOTE: The attached VI only has 2 channels for simplicity again it shows the same latency as the example on channel 16. I had a loop analog acquisition as well to monitor outputs from the digital PIN.

    Thanks in advance.

    The FIFO is not per channel, each line is a little and FIFO stores all of port 0 as a single sample (the lines that are not used in your job are hidden and not updated).  If your sample of 2047 THAT FIFO clocked @ 100 Hz will take roughly 20,47 seconds to build completely.  There is also a FIFO in the software (the size of it is configurable) which stores data before their transfer to the device.  The pilot will always try to keep the complete material if there are data to generate, FIFO which is good to prevent cost overruns but bad for latency.

    If I have LabVIEW 2013, I have not installed on this PC and so I can't watch your VI.  I'll try to give some suggestions anyway...

    One way around this problem is to use non-regeneration (not sure if you're already or not) and to limit the speed at which you write to your task so that the FIFO is never complete (once the data is written to the device, you cannot remove it from the FIFO).  To limit the write speed, try to look at Total "samples per channel has generated" (I think it updates quite frequently on the useful USB devices) from the "current write Position.  Both are DAQmx writing properties.  Only write data to the task when the difference is less than a threshold.

    You might consider the inverse would be output just at a faster pace with duplicate data.  For example, [1, 0, 1, 0] @ 100 Hz = [1, 1, 0, 0, 1, 1, 0, 0] at 200 Hz.

    Best regards

  • Can I synchronize compactDAQ and cards for the generation M Series DAQ waveform continues non-regenerating in RT

    Hello

    I use a M Series DAQ card (6229) multichannel and multipoint make reading and writing of waveforms, all synced to a clock generated on the 6229.  Now I need to extend that to a "remote" (10 m) location and I was planning to use the Ethernet (9188 or 9184) CompactDAQ chassis or maybe 9144 Ethercat slave.  Before I have buy and learn the hard way, I thought I would ask some advice:

    My questions are:

    (1) using the DAQmx can I access the IO on 9184 or transparent 9144 using a multichannel multipoint DAQmx task as I do for the PCI 6299 card?

    (2) are all of these chassis supported if I use RT on the host?

    (3) is the best way to synchronize and trigger the remote system to the host using a digital line between the 6229 plug-in and the chassis from a distance, and if so, how can I connect it to the chassis and set it as a sample clock?

    Any help would be appreciated.

    Hi AnthonV-

    You make perfect sense.  And, I am pleased to report that you can program your analog output task CompactDAQ to use a clock timed by material, like your M Series device.  In fact, it is possible (and perhaps even likely) that the same code of OR-DAQmx you use for M-series can be used directly on CompactDAQ also long that the AO, relaxation and sources of timing and similar channels can be updated to point to your CompactDAQ chassis.

    As I've mentioned before, please note that only the CompactDAQ USB chassis (except the cDAQ-9172) are compatible with the PharLap LabVIEW RT objectives.  I don't know if this will meet your needs for a > extension of 10 m from the host system.

  • How to write data I read frequency bands in excellent using the tools for the generation of reports.

    Hi all

    I wrote the code to read data from the Analyzer of spectrum and also for writing in excel using report generation tools. When I run the program values get read and excellent sheet also opens but I don't see anything written in.

    So if anyone can help me in that I'm very gald. I am attaching the screenshot of my program and also attach file .vi. As I use the drivers you can see some of vi.

    Thanking you,

    Patricia

    @tobid,

    Thank you and sorry long back only I got my error and its job well now... again thanks and sorry that I have not mentioned here...

    Patricia

  • Exe in error for the generation of reports and LV 8.6.1

    I created and installed a labview application in a PC (windows XP) when labview is not installed.  (already included NI_Excel.lvclass)

    I used a generation report (excel) to display the results.

    I am getting following error:

    Error code:-2147352573

    Member not found in NI_Excel.lvclass:

    I use MS office Excel 2007 SP1

    OR LabVIEW Run-Time Engine: 8.6.1.

    Report generation toolkit version: 1.1.3

    Search the website of nor and a 30-day eval copy. For use beyond this period, you will need to purchase a license (unless you have of course)

    compatibility can be found on the following link

    http://digital.NI.com/public.nsf/allkb/C9408B9F08D711E786256F3300701D01

    It may be useful

    TD

  • Preset for the generation of the entity and the subtype of losing

    Can I change the two options in

    Properties Entitiy subtypes->-> generation Entitiy and predefined subtypes

    and the change has some kind of effect. But when I save and reopen the model changes are lost. And during the next genius of strange things happen.

    Is it a bug in my model or a bug in the Modeler?

    It is not a property, it is preset functionality - legacy of the entity

    Philippe

  • Page number of reset in Word RTF model for the generation of PDF Editor BI

    Hello!
    Apex Oracle 10.2.0.4, BEEP 10.1.X 4.0.2

    I was told to transfer this forum topic.

    Bills are created based on the Word RTF with BI Publisher files. Resulting file is a large PDF file, that has a lot of pages.
    Word RTF model is bundled in field BILLS.ID with the page break option. Thus, a BILLS.ID group can have one or several pages (according to the data).

    How to create the model RTF (for generation of PDF BI Publisher) with reset page numbers when changing the value of consolidation.
    Page numbers are at the bottom of the page in the format
    curr_group_page/total_group_pages
    where:
    -curr_group_page is the number of the current page group (defined with the BILLS.ID field),
    -total_group_pages is the total number of pages in a group (defined with the BILLS.ID field).

    I need to reset the numbering at each change of BILLS.ID (Group).
    Example:
    ID = 1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID = 2 (1 pages)
    1/1
    ID = 3 (2 pages)
    1/2, 2/2
    ID = 4 (3 pages)
    1/3, 2/3, 3/3
    etc.

    How to achieve this type of numbering?

    Any help appreciated.

    Kind regards
    Damir Vadas

    P. S.
    Have found something like the number of page in publisher bi but I want to get this file on the mail if possible (to see the real value).

    Hello

    Use

    to reset the numbering of the pages for sections.

    Concerning
    Angelique

  • There is a function of the duration for the silence switch

    Frequently, when I put my iphone in silent mode, I forget and Miss calls and other messages.

    It would be very convenient to have the function to put the line in silence for a specific mode

    period of time, say 30 minutes, 2 hours, indefinitely.

    docmeyer3 wrote:

    Frequently, when I put my iphone in silent mode, I forget and Miss calls and other messages.

    It would be very convenient to have the function to put the line in silence for a specific mode

    period of time, say 30 minutes, 2 hours, indefinitely.

    http://www.Apple.com/feedback/

  • set the duration for the nor 6501 to control relay

    Hi all

    I made great progress thanks to your help. Now, I know how to control the relay using NI 6501.

    Furthermore, I try to put in place a period of time (after two hours) and leave-6501 OR turn on the relay.

    What kind of example I can refer to?

    When pressure data are weak to 1mtorr, then turn on the relay is another control.

    If there are some I can refer to similar examples, it will be useful for me to programming

    Thank you


  • How to create seekbar for the generation of animation in flash, html5 canvas

    Hello

    I've created an animation in html5 canvas option in flash CC. I want to control the animation by using the seek bar (progress bar). Can someone guide me how to create the same.

    Thanks in advance.

    var totalFrame;
    var unitFrame;
    var unitSlide;
    var playMode;
    var sliderInitX = 0;
    var currMovie = this.parent;
    var _this = this;
    var BarMc = this["barMc"];
    
    function setSlider()
    {
      totalFrame = currMovie.timeline.duration;
      unitFrame = (totalFrame / (BarMc.nominalBounds.width));
      unitSlide = (BarMc.nominalBounds.width) / totalFrame;
    
      _this.sliderBtn.x = sliderInitX;
    
      playMode = true;
      setInterval(function(){onEnter();}, 33);
    
      BarMc.addEventListener("click", onClick);
    
    }
    
    function onClick(evt)
    {
      var stageXpos = stage.mouseX-(58);
      _this.sliderBtn.x = stageXpos;
      var movFrame = Math.round((_this.sliderBtn.x - (BarMc.x-(BarMc.nominalBounds.width/2))) * unitFrame);
      if ((movFrame< currMovie.timeline.duration) && playMode && (currMovie.timeline.position != currMovie.timeline.duration)) {
      currMovie.gotoAndPlay(movFrame);
      } else if (movFrame > currMovie.timeline.duration) {
      currMovie.gotoAndStop(currMovie.timeline.duration);
      playMode = false;
      } else {
      currMovie.gotoAndStop(movFrame);
      playMode = false;
      }
    }
    
    setSlider();
    
    function onEnter(){
      if (playMode) {
      _this.sliderBtn.x = BarMc.x + (unitSlide * currMovie.timeline.position) - (BarMc.nominalBounds.width/2);
      if (_this.sliderBtn.x > (BarMc.x + (BarMc.nominalBounds.width))) {
      _this.sliderBtn.x = (BarMc.x + (BarMc.nominalBounds.width));
      }
      }
    }
    

    name = barMc bar

    and the handle = sliderBtn

  • Strange problems when registering for the web and devices.

    Im a user interface designer and spend a lot of time working with illustrator and photohop. When I draw I normally create vector mockps of my work and then export the slices using work plans and save for web and devices. Yesterday Illustrator began to have problems to export files. The files look good on my computer, seen with preview mode of pixel, but when I export they look really bad. Here is an example:

    This is a screenshot of part of a mobile app im working on 100% and 200%

    Screen Shot 2011-09-30 at 8.22.10 AM.png

    Screen Shot 2011-09-30 at 8.22.21 AM.png

    This is the same area when exported using 'save for web and devices' at 100% and 200%:

    Screen Shot 2011-09-30 at 8.21.30 AM.png

    Screen Shot 2011-09-30 at 8.21.10 AM.png

    as you can see there is a dramatic loss of quality. the icons look almost like a low color gif...

    Here's what I've tried:

    I tried to change the settings of the exporter. I used to use png 24 but I tried all the different settings and they all the same thing. the only one who seems to look ok are swf and svg.

    I copied my files on photoshop and exported from there. that works very well, but it's a pain.

    any help would be great.

    Eli

    www.elilang.com

    Here is a screenshot with transparency off the coast of screen and optimized art... still does not.

  • Generation error message PDF: cannot open the file for the generation of a frame (Version 7.2) PDF book

    Hello

    I'm transforming a book in PDF and I get the error message unable to open a file (... < Filename > FM) and the dialog box unavailable fonts also appears. The tricky thing is that I converted the same book in PDF just a couple of days. Now, when I tried to do it again, I'm getting the above mentioned error message. I have tried if you deselect the file > Prefrences > General > remember checkbox missing fonts too. However, it did not help to generate the PDF file. I will be grateful if someone offers a workaround solution for this issue. Thanks in advance.

    Usually, deselection Remember lack of fonts work.

    The missing fonts message when you or FrameMaker opens the file. The solution is to open all the files in the book, or at least those with the "missing" font, clear the message for each file. Now print the book in PDF format, while keeping open files. It usually works because you already erased the messages of missing fonts.

  • Synchronization of the generation of pulses and digital dashboard with a PCI-6229

    Hello

    Your Board of the M series has only 2 meters - that's why you can not perform 3 tasks.  Here's to

    least another idea you might consider.

    Review the task where you want to count the edges of a particular signal increase.  You can probably

    make line in wiring up a digital port 0 and making a DI task based on "change detection".

    You can then simply keep track of how many samples have been taken that will give you the

    as much as the edges with a meter spot.

    -Kevin P

Maybe you are looking for

  • Symbol Commander is installed on the Portege M400?

    I am in the process of upgrading my M200 to a brand new M400. I can't find the symbol Commander on the M400 - does anyone know if there is more understood and if there is no alternative if so. I used the symbol frequently Commander and he would reall

  • 2014 iphone 6 and camera back will not focus

    Back the camera on my iphone 6 more suddenly stopped to focus properly. The front camera is absolutely perfect, but the back can't take a decent picture more. I tried to tap on the screen to force him to focus and also a complete reset, but nothing h

  • Satellite P100-compatible Pentium 4 2.8 GHz is?

    Hello I have a Satellite P100 18 months, with a processor clocked at 1.6 GHz (no dual-core) and want to know if this phone will work with happiness if I get a Pentium 4 2.8 GHz processor or it will damage the motherboard? See you soonWacky

  • My Windows XP start up of page and all applications (such as my e-mail address) are stretched horizontally

    My Windows XP start up of page and all applications (such as my e-mail address) are stretched horizontally.  I tried to go into the properties of my Start Page tab and ' reset '.  After the computer restarts, no changes took place.  What should I do?

  • Slow suddenly G wireless

    My knowledge is very limited and hope someone here can help. With the help of people on this forum, I put my wireless G Router nearly a year ago. Now, all of a sudden last week my speed has slowed to a crawl. It is my desktop and laptop. I first cont