Génération de trames - timing

Bonjour,
Je travail sur une application LabVIEW permettant de générer des trames bien définie. J'utilise une carte d'acquisition numérique PCIe-6536B.
J'ai mis à jour cette application de DAQ Traditionnel vers DAQ mx.
La forme de la trame est exactement celle désirée, mais mon problème est au niveau des timings.
En effet, sans que je sache d'ou celà vient, tous mes timings sont multiplié par 3.
Exemple : Je fixe la durée d'un bit à 208 microsecondes, la durée du bit généré est de 624 microsecondes. Si je fixe 100 microsecondes, il sort avec une durée de 300 microsecondes.
Sachant qu'avant la mise à jour de l'application vers les DAQ mx, les timings fonctionnaient bien, et que lors de la mise à jour, je n'ai rien modifié concernant ce point.
Peut-être avez-vous des solutions ?
Merci

J'ai essayé d'arranger un peu mon VI
Pour moi, étant donné que les seuls changements que j'ai effecctué sont au niveau de l'onglet "emission de la trame" et du sous-VI "emission de la trame", je pense que l'erreur vient d'ici.
Mon ancienne carte avait une fréquence d'horloge maxi de 20MHz, la nouvelle que j'utilise actuellement en a une de 25MHz.
Merci
Pièces jointes :
NOUVEAU VI.vi ‏97 KB
Emission trame VI nouveau (sous-VI).vi ‏16 KB

Similar Messages

  • Timing analysis on HashSet and TreeSet Help

    Need help with this problem. I need to test two implementations of the java.util.Set interface for time efficiency. The implementations are java.util.HashSet and java.util.TreeSet. The code to construct each follows like this:
    import java.util.*;
    ....main()
    Set s = new HashSet();
    // test
    s = new TreeSet();
    // test
    Sample Output: (HashSet versus TreeSet: 1000000 insertions timed every 100 insertions. )
    Test run for HashSet
         Total elapsed time (ms) for HashSet: 12137
         Average time (ms) to insert 100 elements: 1.2137
    Test run for TreeSet
         Total elapsed time (ms) for TreeSet: 14607
         Average time (ms) to insert 100 elements: 1.4607
    CODING DETAILS:
    1. What to insert? Randomly generated integers. Here's a code slice to illustrate:
    Set s = new HashSet();
         Random r = new Random();
         long start = new Date().getTime(),
         mark = start,
         stop = 0;
         for (int i = 0; i < tries; i++) {      // tries is 1,000,000
         s.add(new Integer(r.nextInt()));
         if ((i % segment) == 0) {          // segment is 100
         stop = new Date().getTime();
         long diff = stop - mark;
    2. Need to save the elapsed time per 100 insertions. It can be generated by adding up the 100-insertions times. Like in the above code, the variable diff records the time per 100 insertions, and
    it save the different values of diff.

    Are you adding up the time intervals for every 100 insertions to get the total time it took? The current time provided by the runtime may not be accurate due to some caching done in the OS level. It can be as bad as 50 ms (in windows 98, I think). So adding up such short time intervals can give you inacurate results. Also, you should use System.currentTimeMillis() rathen than new Date().getTime()
    Theoritically, Treeset gives you guranteed O(logN) while HashSet gives you O(1) as long as you have a decent hashing algorithm. Since, you are getting the int from a pseudo-random genetor (and Integer.hashcode() returns the int value it represents), HashSet should perorm better for such large number of data.
    Here is a slightly changed version of your code,
    import java.util.*;
    public class TreeHashPlay {
    public static void main(String[] args) {
    double hs = measure(new HashSet());
    double ts = measure(new TreeSet());
    System.out.println("ration TreeSet/HashSet: "+ ts/hs);
    static double measure(Set set) {
    long end = 0;
    long start;
    final int UP = 1000000;
    Random rand = new Random();
    start = System.currentTimeMillis();
    for(int i = 0; i < UP; i++) {
    set.add(new Integer(rand.nextInt()));
    end = System.currentTimeMillis();
    long duration = end - start;
    System.out.println("impl: "+set.getClass()+" total time: "+ duration+" total item: "+ UP
    +" average time: "+(double)duration/UP);
    return (double)duration/UP;
    }//class ends
    and Here is a sample output:
    impl: class java.util.HashSet total time: 11530 total item: 1000000 average time: 0.01153
    impl: class java.util.TreeSet total time: 18460 total item: 1000000 average time: 0.01846
    ratio TreeSet/HashSet: 1.6010407632263661
    Hope it helps.

  • PWM with Duty Ration on three LED's - driven in sequence

    Hello
    I write an example of fade-out and fade-in for single LED. A hardware clock which is routed to DO is used. The Diode will constantly fade-out and fade–in where steps and times can be adjusted. For single LED this works perfect. An M or X series DAQ is predicted (USB M 6251 or USB X 6351)
    The problem is that in real application (User Interface (UI) with LCD) a three LED’s will be used, which are connected on three lines and only one LED is active at a time (to reduce the cables two LED’s are connected in opposite direction).  PWM frequency will be 1 kHz and each 10 ms next LED is active (cyclic trough LED each 10 ms:  LED1, LED2, LED3, LED1, LED2, ………….    ……). Schematic is attached and is fixed (also some pushbuttons are connected but they are not relevant at the moment).
    Could you give me some hint or similar example how to transform/multiply this functionality (PWM with Duty ration) to three LED’s (which are works in sequence) with hardware clock of 1 kHz. Timing must be precise, since user should not detect any flickering on UI.
    Attachments:
    3x_PWM_cyclic_V1.vi ‏40 KB
    Schematics_3xLED.PNG ‏26 KB

    Dear RomanP,
    I'd recomend using the X series device for this application, since the STC-3 timing chip enables you to use buffered pulse trains. The idea is that you can use a FIFOto store duty cycle information for every single PWM pulse. The device will use one sample to generate one pulse, then continue on to the next one. This allows you to have three counters working at the sae time with the same clock source, but with a different pwm data (one will always do the fade-in, fade-out routine, the other two can generate a 0 duty cycle signal).
    Here's a community example you can start to work with. Let me know if you have something else in mind.
    Kind regards:
    Andrew Valko
    National Instruments Hungary

  • Open and edit animated .gif while preserving frame timing

    CS4 Premium Design Edition, Win XP
    I was disappointed with the removal of Image Ready from CS3 because although some of the functionality was placed into Photoshop 10, there was no way to open and edit an existing animated .gif while preserving the timing of each individual frame. I was told on the PS forum at the time that I really needed to use Fireworks. I resented that, because I was very happy with Image Ready and I didn't want to have to learn a new application just to gain functionality that had been included in previous versions of PS/IM.
    I've now got CS4 Premium Design Edition which of course includs Fireworks... and here's what Help has to say on the subject of imported .gifs.
    "Note: When you import an animated GIF, the state delay setting defaults to 0.07 seconds. If necessary, use the States panel to restore the original timing."
    This is no use to me. What if I don't know the individual frame timings? What if there are 200 frames with varying timings?
    Simple question: which current Adobe product is capable of importing a .gif while retaining the frame timings? If anyone knows, or if I've misunderstood the nature of the Fireworks Help quote above, I'd really appreciate some input here. Thanks :)
    Not so simple question: why was an excellent gif-editing application thrown out to have its functionality partially replaced by a bunch of scripts and half-effective workarounds cooked up by desperate users ("import a gif by using the video import and typing *.* into the filename box..")? It's a fair question I think.
    Mark

    Hi Bob, that's not glib at all, it's a reasonable question.
    I uninstalled it along with everything else when I installed CS3, in the reasonable expectation that whatever replaced IR would be at least equal in functionality.
    Perhaps I should just dig out CS2 and install IM from there, but I have some serious reservations about doing so, because I don't know if/how a partial install of CS2 will impact upon my installation of CS4, and I'm not confident of getting support.
    I am also curious to know if/why Adobe actually removed basic functionality without replicating or replacing it in their other software. I really want to know: which recent, currently supported Adobe product
    should I be using in order to regain this functionality? Or do Adobe no longer produce a geniuinely comprehensive .gif-editing application?
    Mark

  • Animated GIF ignoring frame timing

    I am trying to create simple animated GIFs with a few layers
    of text that simply fade in and fade out in sequence. My initial
    attempt worked perfectly. Most frames use the default 7/100's of a
    second delay as they fade. A few frames were manually set to much
    longer delays so that the text pauses, before fading out to be
    replaced by the next text.
    When I reopened the file, to adjust the background color, and
    then re-saved it, the GIF now plays straight through, ignoring the
    timing of each frame. Nothing I do now can get it to pause on the
    appropriate frames. I've tried cutting the symbols out and pasting
    them into a new file, removing the animation from the symbols and
    reapplying it, etc.
    Any ideas, anyone?
    Thanks in advance.

    None, None.

  • Question on Animated GIF Timing

    I have a weather-type animated GIF, and believe me, it is not
    my choice or
    idea, but anyway I need to get this working.
    Here it is:
    http://www.sendto.org/temp/weather-cvia.gif.
    In this animation, all the frames are set to 100 but the
    timing is not
    smooth. No idea why. When I change frame 2 to 50, the timing
    seems to me
    to be closer to even, but it makes no sense to cut the time
    on frame 2 to
    have all frames display for equal time. Is anyone else seeing
    this?
    The source file is here:
    http://www.sendto.org/temp/weather-cvia.png
    Many thanks,
    Tony

    Hi Anthony:
    Are you testing the playback in a browser? The FW playback -
    at one time
    anyway - was not a reliable method for previewing.
    Have you checked to make sure there are not several frames
    identical to
    frame 2 in the animation? That too would give the impression
    that frame
    2 is staying up longer.
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    Extending Knowledge, Daily
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    news://forums.macromedia.com/macromedia.fireworks
    news://forums.macromedia.com/macromedia.dreamweaver
    Anthony Bollinger wrote:
    > "Linda Rathgeber **Adobe Community Expert - Fireworks**"
    <[email protected]>
    > wrote in message
    news:[email protected]...
    >> The lower the number, the faster and smoother the
    animation. It needs more
    >> frames to make it really smooth.
    >
    > Linda! Thanks for the reply!
    >
    > I sort of get what you are saying . . . but I guess I
    don't understand why
    > the numbers for each frame don't work. I don't have the
    "raw materials" to
    > supply frames in between the existing ones, although I
    might be able to work
    > up something. But let me make sure we are connecting.
    >
    > I think you are saying the animation takes "jumps" --
    that is fine as far as
    > what is needed. The whole problem is those jumps are not
    even, although I
    > have given fireworks identical numbers for each frame.
    We slowed the
    > animation down so that it would not be so annoying (it
    was originally set to
    > somewhere around 10 per frame and I changed it to 50,
    then 100).
    >
    > The whole problem with this animation is that frame 2
    displays for *longer*
    > than the other frames, even though I have told it to
    display just as long in
    > the PNG file. This must be a bug with either the
    exported GIF, the display
    > engine, or FW. Looks like the best way to fix it is to
    change the frame 2
    > value to 50, which is just a hack. I wondered if anyone
    has encountered
    > this before. There is nothing wrong with the PNG file,
    so this has to be a
    > bug.
    >
    > Thanks!
    > Tony
    >
    >

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Microsoft Office can't find your license for this application - multiple copies of Office 2013 x32 failing to start, Software Protection Service timing out

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

  • Request timed out.- Error while opening a item in Blog

    Hi,
       We have a blog in our share point portal which was running properly before few days.
    We get Request Timed out error while opening an item in the blog. The list contains about        
       3500 items
    [HttpException (0x80004005): Request timed out.]
    We were able to create a new item but not able to view the item.
    When we check the server SQLSERVR.EXE takes more than 90% of the CPU Usage.
    Please let me know how to resolve this issue.
    Thanks,
    Vanitha

    Hi,
    According to your description, Please check the RAM allocated to your SQL server. MOSS server needs 2GB RAM
    to preform well. SQL requires 2GB RAM for optimum performance.
    Messages like this are mainly due to lack of RAM Allocation.
    Best Regards
    David Hu

  • TNS-12535 Operation timed out

    Hi
    I am working on IBM AIX, Oracle 10.2.0.4 version.
    Here I got the TNS-12535 error while running a report at particular time. (i.e 8:30 PM to 10:00 PM PST). But aftter this particular time it runs good.
    There is no errors found in alert log file. The below is the error found in the sqlnet.log file.
    Please help me to resolve this...
    Time: 18-FEB-2011 17:05:53
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 78
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1521))
    nt OS err code: 0
    Thanks

    Hi,
    Nothing to investigate at the application side, there is everything to investigate at the network side.
    Check the below points.
    - is there any firewall in play
    - is there any Network Address Translation into play
    - have the correct ports been opened in the firewall
    - is Oracle using random return ports (by default Oracle always uses 2 tcp/ip ports, the first one fixed, and configured in tnsnames.ora, the actual communication takes place on a radom port. If that is a problem at your site you need to fix that)
    - You need to run netstat -r to identify which ports are actually used.
    - Pavan kumar N

  • Timed commands- Align LOs in the front-end (SBX, WBX, CBX)

    Hi,
    I read in this manual http://files.ettus.com/uhd_docs/manual/html/sync.html  that utilizing timed commands can ensure that phase offset between multiple front-end are remained constant after each re-tune. This is an Ettus official documents, I wonder if we can do this for multiple NI USRP 2930 as well or not ?
    since the software of NI is labview and I don't know where should we enter these commands.
    Thank you
    Bahareh

    Hi Bahareh,
    You may have more luck if you add your post to the RF Measurement Devices forums:
    http://forums.ni.com/t5/RF-Measurement-Devices/bd-p/290
    Applications Engineer
    National Instruments

  • CRDB_JavaServer.ini file is missing in linux (for Crystal reports designer in Rational Application developer)

    <p>Hi </p><p>I am trying to design crystal reports in rational application developer on linux.  <br /></p><p>But I cannt find CRDB_JavaServer.ini  on linux. This file is present in Windows </p><p>in c:\program files\crystal decisions\2.5\bin path.But I cannt seem to find this file in linux.</p><p>I am running RAD 6011 ifix001,ifix002 and can see the Crystal Reports JSP Tags drawer in JSP design view.</p><p>But I cannot find "Crystal report" as one of the file types , when i right click on WebProject\WebContent folder</p><p>to create a new Crystal Report in my Web project. </p><p> </p><p>Any help would be much apprecated. </p><p>robin. </p>

    <p>I don&#39;t know much about this and I&#39;m assuming you already did a find or locate command.</p><p>Did you find a CRConfig.xml.  This file had replaced the old CRDB_JavaServer.ini in newer versions.  I&#39;m not sure which one IBM was using for this build.  If you have a support contract with IBM I would suggest talking to them as they handle first line support for this.  It could be that they forgot to include the file by mistake. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • I cannot acess some of my emails. Thunderbird keeps saying "connection to SMTP server (email adress) timed out. What does that mean? What do I do please?

    I purchased 2 new email, adresses a few weeks ago. Both were fine but a few days ago I was stopped sending and stopped receiving emails on the one. The message comes up on my screen "connection to SMTP server (followed by my email adress) timed out. That does not mean a thing to me. What should I do please?

    Thankyou.
    I had been asked by ICANN some days ago to do something but I thought it was a scam so ignored it. Most other users I have spoken to have never heard of ICANN or been asked to 'register' with them or whatever. Anyway, post writing to you I have now 'registered' with them . When I now click on my incoming email adress it just says "failed to connect to server" but why it fails I do not know.

  • My e-mails are not sending. "connection to SMTP server timed out." How do I get this working?

    As of yesterday, I am receiving e-mails fine; however, unable to send. Everytime I try to send an e-mail, I get "Sending of message failed. The message could not be sent because the connection to SMTP server (my mail address) timed out. Try again or contact your network administrator.
    I received help from lunarpages (they host my domain); however, they were unable to resolve the issue. They suggested something is blocking IP, or need to update Thunderbird, or there's a firewall there...
    Help!!!
    My clients are waiting for responses to e-mails!
    Thank you.

    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Every time i try to logg on to my apple iD i get the message that tells me who says: "Your sessieon has timed out. Try again. " How can I fix this?

    I get the message" Your time has timed out" when i try to log on my apple id. Can you please help me?

    I get the message" Your time has timed out" when i try to log on my apple id. Can you please help me?

Maybe you are looking for

  • Email Subject in Subscription Notification - customize wording?

    Hi all, we use EP6 NW04SPS11. Our users have discussions in Collaboration Rooms to which they can subscribe. Then they get an Email containing a link to the discussion. The Problem: in the email the word "subscription" is not really optimal, so we to

  • Best Note Taking Software for Mac?

    I'm a current college student and will soon be going to grad school as well. I Use my laptop all the time to take notes in class. On my pc, I was nuts over Microsoft OneNote 2003. What programs for Mac do all of you students use to take notes with? A

  • How do I get the scroll bar back to the right side of the screen and how do I get the mouse scroll wheel to work again?

    Yesterday the scroll bar on Firefox was moved from the right to the left of the screen and the webpages do not scroll when using the mouse scroll wheel.

  • Recording Music With Rock Band Drum Set

    I can't seem to get a Rock Band Drum set to record with Garage Band. When I first plug it in USB the X lights up for a second, and then quickly fades out. I have heard recording with the Drum set can work, but not for me. Thanks

  • Spool output into script

    Hello, I'm using dbms_metadata.getddl to generate a script to recreate a bunch of indexes for a schema. The SELECT command below works fine but I'm getting the SQL COMMAND and SPOOL OFF output in my spooled file. Is there a way to turn something off