Loop root, time travel and DAQmx Watchdog

I just ran into the issue where time travel calendar control blocks the execution of my system.  See here to discuss this problem.

I have a data acquisition loop race which uses the DAQmx watchdog and open this browser window is causing my dog die of hunger, which causes the stop of my application.  Curiously, when I opened the drop-down menus, as shown in the above thread Jack, I don't see the same behavior.  It is not really clear to me what the original block, but do not have drop-down menus.

I wonder if anyone has suggestions for workarounds in addition or explanations.

One solution, I did it in the past to solve this problem was to create my own dialog box Date/Time in LabVIEW and hide the native button and add a normal button to the face before that this dialog box was invoked. Given that this makes the dialog a normal VI the problem of root loop is not present with it. There is a VI in resource/dialog/picktime.vi that looks like the dialog box used in the date/time picker, but it isn't since changes to the present VI appear not in the native dialog box. LabVIEW seems to use an internal C implementation of dialogue which is the root cause of the loop of the root being blocked since the message of dialogue Manager is running in the same thread as the loop of the root.

Create a copy of this VI into your own project and adding it through your own browse custom time should solve the problem.

Tags: NI Software

Similar Questions

  • loop 2 times in 15 seconds and on the third leg of the loop at 14 seconds

    Although I posted there is no answer 3 weeks ill try again. I need to work because how flash was killed a few weeks ago, that it's important enough.

    I found code that loops the banner I did 3 times and stops and I need a loop of 3 times and then stop before the last image. Here is the code that I have on the last image

    {if(!sym.) Loop)}

    SYM. Loop = 1;

    }

    SYM. Loop += 1;

    If (sym.loop < = 3) {}

    SYM. Play (0);

    }

    at 15 seconds (the last image in the banner), it works correctly in loop and by stopping on the 3rd loop. but when I try to move this code to 14 seconds and replace sym.play(1000) (0) by sym.play(1000) () and 15 seconds, I sym.play(1000) (0) loop it just forever.

    The reason why I need to play 14 seconds to 15 seconds before it goes to frame 1, it is that I the bland all the black banner before it goes to frame 1 so that it is a transition smoothly instead of a jump abrupt the last frame of the first. and of course I can't have the end of the banner on the 3rd loop in a black frame.

    So what I want, it's for the banner to loop 2 times in 15 seconds and stop the final loop at 14 seconds.

    put this to 14 seconds

    If (sym. Loop == 3) {}

    SYM. Stop();

    }

  • scene in loop 3 times and then stop on some chassis?

    I tried to find the answer to this for a while now. Here's what I've tried so far.

    First image is

    var loop = 0

    then I dropped it on the frame, I want him to stop after 3 loops, but it continues to loop.

    If (loops == 3) {}
    Stop();
    }

    All I want to do is loop three times and stop frame 119 say after the 3 loops.

    Here are the banners, I have about 30 of them, quick help would be greatly appreciated.

    Try to use...

    Framework 1

    var loops: int; It takes by default to 0, but it will redefine not returning

    framework to stop by... no need to avoid the Framework 1

    loops = loops + 1;

    If (loops == 3) {}
    Stop();
    }

  • Time capsule and extreme; Cannot create the roaming network

    Problem: when you try to create a network roaming with time capsule and extreme, the wifi hangs and the network is up and down. Here are my deets:

    TC and extreme as well have the latest firmware of the 7.7.7 are the latest generation of products, purchased in the last 12 months

    TC is connected to Arris SB6183

    ISP is Cox North san diego County

    TC is then connected to the netgear GS105. (upstairs)

    NETGEAR GS105 then connects to GS108 (down in the patch panel in the closet of the master bedroom)

    1 x GS108 port connects to extreme

    I can get the stable network and works correctly as long as I don't have connected and extreme.

    I followed the instructions provided by apple in their "how to set up a roaming network.

    I have hard reset the devices apple repeatedly in my attempt to get things to work

    I started a Wan shortly ago at the connected WiFi and that was stable and work for not more than 30 minutes and then it went offline.

    So here I am now. Unable to get back online and stable with two apple devices connected network.

    System was stable and working well before the upgrade to 7.7.7. I had a wifi connected network not a roaming network at the time.

    Any suggestion would be great and really appreciated.

    Thank you

    After screenshots of the TC and AE installing airport utility.

    I suspect that you simply have something set wrong...

    Main error is to use extend wireless when it is connected by ethernet... This will create a loop and bring down the network.

    The two units must be defined to create a wireless network... both must use the same name (SSID) and the same password, but must be set to different channels.

    It is almost impossible in this case crashing the network since the two are completely independent Wireless Access Points... (WAP).

    The TC must be in router mode... EI must be in the bridge (bridge mode off on the network tab.)

  • at the same time production and measuring the pulse

    Hello everyone,

    I'm generates a pulse for specific time. Now, I want to measure within the same daq card. I've done Vi for him but he has an error. I have USB daq-6343. I enclose my Vi here.

    The problem is I am able to get pulses generated at PIN 6 PFI but reading Vi watch time-out error.

    I plugged the wire between PFI 1 pin and PFI 6 pins on the DAQ card.

    So please suggest me what to do to eliminate this error.

    Thanks & best regards,

    I just looked at your original vi, I had looked only at the most distant (corrected) a previously.  I don't see a good reason to read timeout error you have immediately.  Record of an error timeout on your attempt reading suggests that the code was executed without error so far, including the beginning of the generation of pulses.  That would leave wondering on physical cable connection or possibly some undesirable side effects caused by your cleanup code when you three States a PFI lines.

    The other issue was my suggestion to leave DAQmx Timing.vi outside of the configuration string entirely for cases like this where you only want to build a single pulse.  To be honest, it's a habit & practice I adopted a long time ago.  I thought one of the reasons was that the finished pulse trains required a minimum of 2 samples.  A bit of test code showed me that it isn't true, if my memory tells me there was a time when it * used * to be true.  I don't remember if I have errors or if the task has chosen to generate 2 pulses with just a warning, or something.  I just remember that, while he was working on a module that was supposed to be able to produce any number of pulses from 1 to N, I found that I wasn't actually able to support the case of 1 pulse by asking just 1 sample over sample mode.

    * Anyway *, the other reason to avoid sampling over for a single pulse mode is that in the past, this would consume actually 2 counters on DAQ cards.  Generated the pulse (s) while the other was a help that triggered the first to control the number of generated pulses.  It was unnecessary as you could * also * generate a single pulse leaving the DAQmx Timing.vi out of the config, a method that used only 1 meter.

    X-series cards (like yours) don't consume over 2 programmable counters of the user to generate finite pulse trains, so the lesson I learned a long time ago and was trying to convey is perhaps not so important in your case.  I recommend it even if you know that you will always generate a single pulse, simply because he considered the standard way to generate a single pulse (as seen in examples of navigation).

    -Kevin P

  • How to make the exchange of data between 2 whole loop real-time

    Hello
    I have 2 while loop
    the 1st loop includes data acquisition program
    the 2nd loop includes control program
    --------------------------------------------------------------------------------------------------------------
    My question is how do the exchange of data between 2 whole loop real-time

    --------------------------------------------------------------------------------------------------------------
    I tried with the variable and direct wiring between the 2 local while loop
    It does not work (there is a delay)


  • Difference between DAQ and DAQmx for acquisition of data PCI 6534

    Hello

    I use the PCI DAQ 6534 card for my digital I/o transfer. I am beginner in the labview.

    I want to store the data coming in memory and the reading of the data at the level of the trigger.

    I have seen the examples in the labview. Some have used DAQmx and DAQmx read write that screws and some have used the confg DIO port and all...

    So I want to know the difference between these two. For my application that I use?

    Hey Bo,

    First of all, I would recommend that you discover the NI 6533/6534 for NOR-DAQmx help. You may be able to find some of your answers in this help document. Now for what you try to do in your application, it looks like you are only buying data. If this is the case, with the 6534, the device acquires data in memory shipped as soon as the DAQmx series start task VI, as long as you don't start hardware triggers have in place. If you have a trigger of starting material, then will make the purchase of the aircraft after the DAQmx start task VI and only after you receive this material trigger. If you call not the DAQmx Read VI, then the data will be stored in the memory board for you, as the driver manages this data in the on-board memory storage, until reading DAQmx VI is called, which at that time, data is transferred to the Board of Directors in the memory of the computer. Once you get it in the computer's memory, you can do whatever you want with these data, as this graph or treat. If you look at the sample programs (which have been mentioned on how to find those in a previous post), you can find an example that little shows you how it works. One of the examples that you can check is called reading Dig Port-Ext Clk.VI. In this example, it sets up to read a finite number of samples and then starts the task. If you set a breakpoint on the line of the error after the VI begin, the data will be acquired in the amount of on-board memory. Then when you cancel the break of the VI, data will be extracted from the amount memory embedded in the memory system with the reading VI DAQmx. Again, the pilot takes care to put the data in the memory board for you once you start the task.

    I hope this helps. Please let us know if you have any questions or concerns about this issue. Also, certainly, discover and try to run all the programs related to the 6534 examples so that you can learn how the equipment works and how to use features to do what you want your program to do. Also, be sure to read through the help on the 6534, as well as the help of VI documentation to learn what makes each function. Thank you and have a nice day.

    Kind regards

    DJ L.

  • Subtract the model image of a real-time video and image/video subtracted from output

    Hi all

    I have a case in which I need to acuiqre a video (of circular loop) to a camera (which I am able to do with the vision development module in avi format) and subtract the model standard (for loop) image of him and display the output for each frame subtraction. The subtraction will tell me how much movement there was in the loop in real time. Is it possible to do?

    I donot want to save any image or video, just want to show the subtraction of real time to the user

    Joined the image.not still able to add video

    Hello AnkitG,

    Subtract the IMAQ VI removes one image from another or a constant. You can then view the removal from the user or save the images if necessary. Here a link to the reference IMAQ subtract VI.

  • Using Adobe animate for a banner in loop 3 times

    In the afternoon, all the


    I started using Adobe animate this week. I've created a banner simple online that needs a loop 3 times and then stops. I use a HTML5 canvas as it's supposed to be published on HTML5 like everything these days!


    I added the AS3 code that I used once on a Flash AS3 file, but it does not work. Can someone help me with a simple piece of code that actually works. Maybe I'm not supposed to use AS3 code on a HTML5 canvas - I don't really know what to do! Help, please.


    Thank you

    put this question to the last frame of your

    {if(!this.alreadyExecuted)}

    this.alreadyExecuted = true;

    this.loopNum = 1;

    } else {}

    this.loopNum ++;

    {if(this.loopNum==3)}

    This.Stop ();

    }

    }

  • How can I make animation loop 3 times then stop?

    I'm new on board, and the need for a banner ad to loop 3 times then stops. Help, please.

    Thank you

    Chris

    Add the code at the end of the animation in the timeline as a trigger below:

    SYM.i = sym.i? (sym.i - 1): 2;

    If (sym.i > 0) {}

    SYM. Play (0); 0 means the animation starting point

    }

    HTH,

    Vivekuma

  • I have a macbook pro 2010 and already have updated twice.  Should I move a third time?  I was in the apple store some time ago and they told me not to upgrade a third time.  Can I update or not and why?

    I have a macbook pro 2010 and already have updated twice.  Should I move a third time?  I was in the apple store some time ago and I was told that I should not upgrade again.  Can I update or not and why?

    Upgrade what to what? We don't know what you're asking. Writing an effective communities of Apple Support question.

  • setting up time capsule and express wired after disconnection of the airport

    I have a 2 TB Time Capsule and three 3 wired express airport throughout my house.  I know that when I added first the cable express, that I had to call apple to change some settings.  Now I can't service because they are more than a year and after a recent quick breakdown (two or three) power is the airport expresses link is more and a bunch of my settings seem to have changed on the Time Capsule.  Any help would be greatly appreciated.  Thank you

    If you think there are setting changes, then it would be better to start over.

    • First of all, you want to make a 'factory' reset on all of your base stations. This will return them to their "out-of-the-box" configuration Once finished, leave them turned off.
    • Then, we put up the Time Capsule (TC). Since it has been reset, it will broadcast a Wi - Fi unsecured network with a network name of something like: Apple network NNNNNN.
    • Use AirPort Utility on your iPhone, Mac or PC to configure the TC as a stand-alone wireless router. In other words, configure it to provide a secure WiFi network.
    • Once the TC has been configured, verify that the clients on your network can access the Internet with it.
    • If he succeeds, proceed to the next step. If this is not the case, stop and post back with your results.
    • We will now configure all of your base stations for a roaming network.
    • Power-up one of the three stations based AirPort Express.
    • Once again, you will need to use AirPort Utility to continue. The utility must now find the Express, and if all goes well, it will offer to the Express allows to extend the TC using Ethernet. It's what you want and just go through the steps automated window 'Installation '. And then on actually.
    • Do the same for the other two express base stations.
  • Time travel has stopped working after the upgrade to watch OS 3

    Hi all
    Since I upgraded to 3 watch OS stopped working time travel feature - by turning the digital Crown now does nothing.  The digital Crown works fine on the other screens, for example the notifications, but not on the dial of the watch itself.  I did a cycle power, but to no avail. Does anyone have information?

    Thank you
    Ray

    Come on, show on your iPhone in the app, then check the clock settings. There is an option to turn on or off; travel in time after the update to watch OS 3, it has been disabled by default for me.

  • How can implement you not with Tim Capsule and AirPort their simulation on the iMac?

    Hello

    How can implement you not with Time Capsule and AirPort their simulation on the iMac?

    I don't know what you're asking.

    AirPort Extreme is a wireless router.

    A Time Capsule airport is an AirPort Extreme with a built-in hard drive for data storage.

    An iMac is a Mac computer.

    An iMac is not a wireless router, so he is unable to perform the functions of a wireless router.

  • I just recently upgraded to OS El Capitan.  Now, none of my movies to quicktime does not work.  I have the old version of Quick time 7 and it does not work either.  They do not convert.  Help?

    I just recently upgraded to OS El Capitan.  Now, none of my movies to quicktime does not work.  I have the old version of Quick time 7 and it does not work either.  They do not convert.  Help?

    VLC will play them?

    http://www.videolan.org/

Maybe you are looking for