How do we keep the program running continuously

LabVIEW gurus,

I have what I think it's a simple enough question. I have a PXI-5152 system which I use to acquire data. I have attached my sample of coding. (Which, incidentally, is not a lot of coding, it's just express screws)

I would like to have a method to stop this program while it is executing without waiting for the timeout. The reason why I would make is that in my application, I use a laser to induce sound waves that are picked up by an ultrasonic transducer which is connected to the PXI-5152 system and I collect signals both at unknown time intervals. Essentially, I am pulse manually laser, but I do not know the exact times I will be exciting she so I don't know how much time or how short of stating the time-out without) sometime before I'm done or b) time half an hour or more after I am done.

I would like to be able to set the timeout to infiniti (or - 1), but have a button when I press on it stops the process.

Thank you for your help,

I can't find a "timeout" in your code, so I'm not really sure what you're talking about. I have NO-scope, I can't see the explicit configuration.

Here's a simple way to switch between (for example 100 ms) finishes and the infinite time-out, so run or take a break from the loop. Modify if needed.

Tags: NI Software

Similar Questions

  • I had to reinstall my old copy of CS2 after reinstallinng Windows 7. Now it won't let me activate the product, because the activation server is unavailable. How can I get the program running again?

    I had to reinstall my old copy of CS2 after reinstallinng Windows 7. Now it won't let me activate the product, because the activation server is unavailable. How can I get the program running again?

    See the link below:

    Error: "Activation Server is not available. CS2, Acrobat 7, pass a hearing 3

    You need to download CS 2 installation link above and make sure you use the serial number mentioned on the Web site only.

  • How can I leave the program runs longer than the duration of sleep?

    I have a desktop Pavilion Elite HPE - 110 t (win7) .  Turn off display & sleep have the default value (10 & 20 minutes).  According to the instructions that I read (somewhere in the paper documentation) when I got to the computer a few months ago, I do not turn off it during the night.  I think included grounds for diagnostics to run (by default grid) & I "think" I've seen (the next day) scans messages, updates, etc. have been executed.  I however turn off my modem to prevent the activity internet auto (anyway) during the night.

    This configuration has been satisfactory until this morning, when I tried to leave an app running I knew would require more than one hour to complete.  I had other non-computer tasks to do & did not sit the computer baby to keep him awake.  In fact, I thought that 'activity' (including the activities of memory without keyboard activity) he would keep awake.

    To my surprise when I got home 3 hours later, treatment stopped about 45 minutes after the start.  This was determined by the timestamps of the output files.  Normal processing resumed after that I have he awakened from his sleep.

    Is there a way (outside change go-to-sleep time setting each time) to allow work of long-term programs/application to keep running & to go to sleep after the treatment is finished? Am I wrong to think that 'auto diagnostic' are running when the computer & I sleep at night?

    Thank you

    The process will continue even after the monitor goes to sleep.

    I first noticed this problem when you make copies of images hard drive hard drive.

  • I get an error message Firefox is already running. I rebooted and redownloaded the program and continue to receive the same message

    Question
    I get an error message Firefox is already running. I rebooted and redownloaded the program and continue to receive the same message

    See:

  • Hello, I have creative cloud (programms photoshop, bridge, and lightroom on a HP Pavilion pc and UN laptop.) The laptop does not work more (broken) and I ' would like to install all programs on another laptop. How can I uninstall the programs of the

    Hello, I have creative cloud (programms photoshop, bridge, and lightroom on a HP Pavilion pc and UN laptop.) The laptop does not work more (broken) and I ' would like to install all programs on another laptop. How do I uninstall the programs of the broken laptop and not running before installing on a new? Sincere friendships Fabian

    Hello

    If you have access to the machine, turn off Adobe CC applications by the signature of the application.

    Please see connect and disconnect to activate Cloud Creative applications

    Kind regards

    Sheena

  • How do I reinstall the program

    I currently buy the creative cloud. I already downloaded the Adobe application successfully handler. I already have photoshop and after effects downloaded without any problem. For a reason that I am trying to download adobe flash professional, he says I already downloaded but can't find anywhere on my computer. I'm looking around in my files. How can I access the program. How can I uninstall and reinstall it again.

    Run the Creative Suite cleanup tool, reinstall the AAM at all.

    Mylenium

  • The fan runs continuously. Firefox unresponsive, slow.

    The fan runs continuously. Firefox unresponsive, slow. While all slow running. Reboot and it's ok for a few seconds and then back to fan works etc...

    Reset the SMC reset management system (SCM) controller on your Mac - Apple Support

  • I have 2 phones on my ID Apple how can I keep the two devices to receive the same iMessages?

    I have 2 phones on my ID Apple how can I keep the two devices to receive the same iMessages?

    How to use several devices iPhone, iPad or iPod with a computer

    Using more an iDevice on the same computer

    This mainly applies to couples who add another device and don't want their electronic mail, messages, etc. being duplicated on both devices. To start reading: How to use several iPhone, iPad or iPod devices with one computer. You must create a login separate Apple and password for anyone who will use the new iDevice. See Apple - my Apple ID and frequently asked questions about the Apple ID. The easiest way is to do it on the computer using iTunes: iTunes - how to set up an Apple ID iTunes.

    On the computer, create a new user account for the person with the new iDevice. This is the user account always uses this person. He or she will no longer use the other user account. This way the person will have a separate iTunes library. Note When finished, do not 'share' apps under a single Apple ID. Each of you must buy your own applications under your own Apple ID. When you decide to divide like this you will have to buy new applications they want to use.

    First, transfer the new devices to a new account as well as all your data.  Save pictures of flow picture you want to keep for your camera (unless they are already in the camera roll) by opening your Photos app, tap Albums icon at the bottom. Now press the album My Photo Stream; Press Select; tap the photo you want to select. tap the share (box with the face up arrow) in the lower left corner icon; in the film, and then click Save.

    If you synchronize notes with iCloud, you want to keep, you must open each of your notes and email it to yourself. Later, you can copy and paste the text into the new notes created in your new account.

    Tap Settings > iCloud > remove account (removes it only from this device, not iCloud; the person who maintains the current account is not affected) provide the password to disable find my phone and choose to keep on my iDevice when prompted.  Sign in with another Apple ID to create your new account. Choose merge to download your data.

    Once you are on separate accounts, you can each go to icloud.com and remove data from the other person to your account.

    The above was created by the user randers4. Changes were made to improve the readability and the syntax.

  • How do I uninstall the program "Utilities" since the Satellite A210

    How can I uninstall the program "Utilities" since the Satellite A210. In Control Panel I can uninstall the program "Value Package" but not "utilities".

    With the A210 I can't work with the FN keys and on a German Toshiba support website I found this information:
    http://APS2.toshiba-tro.de/KB0/TSB0402UR0000R01DE.htm

    So I'll try this installation sequence:

    -Chipset utility
    -Display driver
    -Toshiba value added package V1.2.40
    -Technical support utility Flash Cards for Satellite L500 (see this thread, why I want to do):
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=46135&TSTART=7
    -V1.0.25.5C Toshiba-Utilities
    and no doubt
    -Installation of V2.00.09 equipment

    I hope that the FN keys will work after this installation sequence.

    John

    Before I explain what to do please can you me why you want to remove this system utilities?

  • How can I keep the dock and menu bar in the window

    How can I keep the dock and menu bar in the window

    First of all, go to System Preferences and select general:

    Under the dark menu and dock option, uncheck "hide and show the menu bar automatically".

    Go back and select Dock Prefs system:

    Make sure that "automatically hide / show the dock" is not checked.

  • How do I close the program via RS232

    Hello

    How can I stop the program after I press OK in guest user info? I use line (RS232) series and this part as an attachment is Subvi, the main program is in while loop. But I don't know how I can stop the program after error = true? Is any block for this?

    It will work better if you do it like this.

    Sorry for the late reply, you cought me at the end of my work day.

  • keep the program, stop the office pop up at the beginning upward

    keep the program, stop the office pop up at the beginning upward. I removed Skype because it came with start-up. I have Hp dock or something that is close to files on my desktop. Same thing with Cannon. I'm tired of "xing"off each time it starts. "

    I moved your post to Windows | Programs where it will receive more targeted attention. I can't determine which version of Microsoft Windows you are using, so I try to make these generic instructions in nature.

    Start by typing the Windows key + r Type or paste in msconfig and click OK in. When the applet opens, you will find all the programs that starts with windows on Startup as well as their location of registry tab or the program folder. Simply uncheck all that you want to remove the review. While you're here, take careful consideration to everything you think you can do without. This area is usually grossly overcrowded with utilities and unused software.

    Changes will not take place until the computer is restarted, for example to uncheck a program won't stop him. It simply prevents starting the next time Windows is started.

    Further examination of all the things that start automatically is probably through a small utility called Autoruns program (Yes, that's plural) from Windows Sysinternals. You can get a copy here:


    Autoruns for Windows

  • How can I keep the updates that I rejected following lists?

    How can I keep the updates that I reject in the following lists of available updates?

    Once you * hide * them - you won't see them even * less * they are re-certificate/changed/updated.  To whom it may * look like * see them again - but you can give the update more than a quick glance - because if she was re-certificate/updated / changed somehow - you might want to install this time.

    --
    Martin Stanley
    MS - MVP
    --
    How to ask Questions the Smart way
    http://www.CatB.org/~ESR/FAQs/smart-questions.html
  • How do you share the program Excel on Windowxp

    How do you share the program Excel on WindowXP?

    Hi jwddjn,

    Thanks for posting in the Microsoft Community. We need additional information about this problem to help you further.

    Are what excel program you referring?

    Visit this link and try the steps mentioned in this article to share files in Windows XP.

    How to use Simple file sharing to share files in Windows XP

    http://support.Microsoft.com/kb/304040

    Hope this information helps. If you have any other questions feel free to respond and we would be happy to help.

  • How can I keep the bar of menus in internet explore 9 open by default?

    How can I keep the bar of menus in internet explore 9 open by default?

    Right-click on an empty spot on the toolbar and check that the Menu bar.

     
     

Maybe you are looking for