file replaces the control

I want to save the data of a CQI process data in a file.  I want to check if file exists, and if so, ask user to overwrite or no first and if not crush, get a new file specification.  Attached code fragment is supposed to do these things, but does not completely work.  The basic idea is to wait in the small loop on the right side of the diagram until the receipt of a signal to "stop pending".  The VI works correctly if the file does not exist.  If the file exists, VI correctly asks the user to replace or not, and it continues properly if the user says "Overwrite".  But if the user specifies another file, even one that does not exist, the program does not continue as it should.  Instead, he keeps asking the user for a new file name, because it fails to recognize that a new name has been specified.  How to fix?  Is there an easier way to do this?  Thank you.

As I said in the other thread of message, the right hand while loop does nothing.  It will be run once, or forever.  So eliminate.

In the rest of code move the while loop outside the structure of the case.  Use a shift register for the new file name in the next iteration of the loop to check again if it exists.

Tags: NI Software

Similar Questions

  • SQL * Loader - can I specify the log file in the control file

    SQL * Loader - can I specify the log file in the control file? If so how

    Yes,

    Try sqlldr "echo $command_line_par".

    Note: ' back quotes

    Kind regards

  • If I replace the control with another why DAQmx create channel once complain a false claim?

    I tried to replace the frequency by another control in the example found here complete PWM:

    http://www.NI.com/white-paper/2991/en

    However, I get the following error message:

    Possible reasons:

    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: CO. Pulse.Freq
    Required value: 0.000000
    Valid values begin with: 22.300000e - 309
    Valid values ending with: 20.0e6

    Channel name: Dev1/ctr0

    Task name: _unnamedTask<10>

    My wiring diagram looks like this:

    If I cancel my change (i.e. I have remove the frequency control knob and turn it over to the control of the example, it works perfectly.)  I get the waveform is displayed in the oscilloscope.

    My goal is to simply use a frequency and duty cycle control knob.  How can I achieve this?

    There are two things to do.

    What I think you did now changes the scale of the handle.

    You will also need to change the values that are allowed to enter. You will do on the data entry tab in the dialog button properti.

    Uncheck the 'use default', the Minimum value limits and Maximum identical to your balance.

    Value "Response to value out of range" Coerce to both Minimum and Maximum.

    I hope this helps.
    Let me know if you have more problems.

  • Display the contents of a text file in the control of the chain without changing the format

    Hi all

    I need your help!

    Planning the content of the text report file in labview control chain of the GI.

    When I read the text file and update the chain control, alignment of text was not appropriate.

    but when I open the same text file in Notepad, alignment looks good.

    How to solve this problem of text alignment?

    Gramy

    You experience the same problem before.

    Just use a .net textbox control to display text, instead of the string of LabVIEW.

    There is NO need to re - format the string.

  • How to write data from the INI file for the control of the ring

    Hai,

    I need to write the data read from the INI file to a control of the RING. Doing this operation using variants I get the error.

    I will be happy if someone help me. I have attached the file special INI and VI.


  • ' C:\WINDOWS\SYSTEM32\RUNDLL32. EXE'getting this message when trying to open files and the control panel.

    This is the message I get when trying to open a file or trying to access the control panel

    Hi NANCYPERRY,

    See the article after some troubleshooting:

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

    I hope this helps!

  • Deleted data file update the control file?

    Hello!

    I deleted a file from data in a tablespace. It was done on purpose because I have no more need. Unfortunately
    I have not updated the database control file, now I get an error message:

    ORA-01157: impossible to identify or to lock the 202 data file - see DBWR trace file
    ORA-01110: data file 202: "D:\ORACLE\PRODUCT\10.2.0\ORADATA\MINOTAUR\TMP_01.DBF."

    How update the control file to get rid of this error?

    I use Windows and exit DB 10.2.0.2.

    Thank you very much for your help!

    Christian

    I think that I made a mistake of reading here.
    Looks like you have deleted a TMP file.

    You then have to join v$ tablespace with v$ tempfile in the statement.

    It's a 10 G (or higher) database?

    Try to drop the tablespace that belongs to this data file, otherwise recreate the controlfile (needs database is offline)

    HTH
    FJFranken

  • Flashing batch file returns the control too fast

    Hi I have a frustrating problem with a simple batch file that I am running on a W2003 server. For simplicity, it did something like this:

    copy a b
    call runprog.exe
    If errorlevel 0 goto done
    echo "error".
    output
    : fact
    echo 'ok '.

    This has been working for a long time, suddenly and only on 1 times out of 10, while it just started running runprog.exe, control is returned in the batch file and it goes to the error condition. On the other 9 times of 10, she does not return control until runprog.exe has finished (as expected).
    I reloaded runprog and tried a new copy of c:\windows\system32\cmd.exe. I also tried runprog.exe without the call - the same results.

    My conclusion is that something underlying in windows is damaged and he needs fixing with SFC or a recharge, but grateful for any ideas who would not so much here

    Thank you very much

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

    http://TechNet.Microsoft.com/en-us/WindowsServer/bb512919.aspx

    Hope this information is useful.

  • How to create a binding of the program file in the control panel of binding together?

    I get this message when I open a FLV file this file does not have a program with her association to perform this action. Create an association in the set Associations control panel

    It has to do with media decoder.

    Really, the best way is to install VLC media player.

    It's free.
    He plays almost all files formats.
    It is used and recommended Robert.

    Here is the download link:

    http://www.videolan.org/VLC/

  • Create Association to a file in the control panel of the Associations St

    I use Windows Vista 6.0 and installed Office 2010 Beta and need to open an Excel file and it's what makes "this file is a program associated with it for performing this action, create an association in the Set Associations control panel. Where the set Associations control panel?

    How to set file Associations:

    http://articles.TechRepublic.com.com/5100-10878_11-6172036.html

    How do I... Change file extension associations in Windows Vista?

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Excel:

     

    http://answers.Microsoft.com/en-us/Office/default.aspx

    Office at the above link forums

    http://answers.Microsoft.com/en-us/Office/ee861099.aspx

    Forums help Excel at the link above

    They will help you with your questions Excel when repost you in the Office Forums above.

    See you soon.

    Mick Murphy - Microsoft partner

  • I get emails with format PPS. I can't open them with any of the programs that I have after changing many programs in the files in the control panel.

    My Media Center or Media Player or Notepad or any other open the attached .pps

    Ray3376,

    Thank you for visiting the Microsoft answers community.

    You can try to use Microsoft Office Powerpoint. If you don't have the program, you can download Powerpoint Viewer for free here.

    I hope that helps!

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Make a new file using the "Save as".

    Bit of feedback to the staff HERE...

    We use LabVIEW 8.6. and, at least in this implementation, trying to make a new VI using the command save as product a menu of choices, including none make sense to me. Sorry, but I can't say which of them will produce only makes a new file with a changed name to be refined. Trial and error product folders, but not files, replaces the original file (why would I do that, I chose save as no record) and about each result other than what I was trying to accomplish.

    May you fix this in a future release, but for 8.6, I feel that I must take a class just to save the new file.

    you're not alone...

    Have you tried "open extra copy?  This is probably what you want.  It will not copy the original and will keep the open source.

  • Urgent... a file in the system registry is corrupt... Windows will not start

    Hello

    It's George who has just encountered a problem with my Sony Vaio laptop last night. My priority is to find the superior application test which is located in the desktop of the computer.

    The computer has had problems with a google redirect virus which all the analysis programs antivirus could not detect, and last night, the computer stops after a power failure and was not able to start the windows program.

    The computer will start, but he's going to ask me directly with a message to choose three operating systems which is the Recovery Console, "not to select this [active debugger], and Windows xp home edition.

    Nothing in the menu advanced options of windows would work even safe mode. I was fooling around in the recovery mode, and I have reason to believe that the system registry is corrupted for windows.

    I have trie offered to the http://support.microsoft.com/default.aspx?scid=kb;en-us;30754 method

    How do I recover from a corrupted registry that prevents Windows XP startup

    This article was previously published under Q307545

    , but I don't have a windows boot cd, so I couldn't continue.

    I'm looking for more help from the world wide web.

    My superior applications are due within a week and help would be greatly appreciated.

    Thank you for your time

    sincerely

    George

    If you want to, you can also do another type of bootable CD, and usually, you will be able to simply copy your important files on a USB key, and then on another system.

    Here's an idea:

    Do you have a Hiren BootCD you can download here:

    http://www.hirensbootcd.org/download.html

    On the left, click on download, scroll down, choose the most recent version the download link is a little hard to see and they sometimes change the location of the download link, then you might have to look around her.  Today, it is at the bottom of the page, above the drop for older versions and looks like this:

    Hirens.BootCD.13.0.zip

    Beware of the other links on the page to other types of downloads for other types of CD - be sure that eventually you will download the latest version which is now a file called:

    Hirens.BootCD.13.0.zip

    The ZIP file is large, so the download will take probably some time to complete.  Then unzip the download to extract the Hirens.BootCD.ISO file that will be used to create your new bootable CD.

    Create a bootable CD. ISO file is not the same as simply copying the. File ISO onto a blank CD.  You must use software that includes how to burn a. ISO to a CD to create a bootable CD.

    File ZIP the Hiren is the file BurnToCD.cmd that you can double-click to launch it.  The BurnToCD.cmd will use the file BurnCDCC.exe to burn the. ISO file onto a blank CD using your existing CD burner.  You can also use your own burning software as long as your software is able to create a bootable CD. ISO file.  More modern burning programs can create a bootable CD. ISO image.  Create a CD from an ISO image bootable is not the same as just the file on a CD burning.

    If you need a simple and CD burning, this is a free software popular software:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your new bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.

    These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When starting on the Hiren's CD, you will see a menu of options.  Choose Mini XP.  It will appear while Windows is loading and you will be presented with a desktop computer that has the look and feel of the interface of Windows Explorer, you are already accustomed to using.

    Using the Mini XP, you can access Internet, maneuvering around your system, search for files, copy files, replace the files and run the scans for malware, edit the text files (like the c:\boot.ini) etc.

    There are dozens of free and useful tools included in the CD that can be used to repair your system or copy your important personal files on another device (like a USB device or an external drive) in the case where you just give up and decide to reinstall your XP (I hope that you will not make this decision).

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

  • I accidentally opened a file with media player, and now all my files on the desktop and on the start menu have a .lnk position cannot get rid of it

    I was looking for windows, came across a file I does not recognize. I opened it with media player. Well he opened all of my icons/files desk and my Start menu with an exstention .lnk files. I am desperate to solve this problem before my husband gets home! I tried to do a system restore on the 15th, but he says the restore fails because he couldn't find not to a lack of time. file

    Hello

    Thanks for posting the request in the Microsoft community forums!
    I understand that the desktop icon change extension .lnk. Do not worry about the advice given will help you solve the problem.

    Method 1:

    Try to change the association of files from the control panel.

    Go to the following location to change the associated file.

    Start \Control Panel\All Control Panel Items\Default Programs\Set Associations

    You can access the link below and follow the instructions on how to change which programs Windows uses by default: http://windows.microsoft.com/en-us/windows7/Change-which-programs-Windows-uses-by-default

    Method 2:
    If the steps above fail then you can try the suggestions section of the knowledge base and check.
    When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program
    http://support.Microsoft.com/kb/950505

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article:
    http://support.Microsoft.com/kb/322756

    If you have any other questions about windows, write to us, at any time.

  • Replace the audio with and synchronizing with separate record

    Hello

    I read everything I can find, including many websites, the help file and a book, but can not find this response with instructions step by step using first Elements 9.

    I have the trial version and will purchase once I have understand that. I just need to make Youtube videos with a separately recorded audio file replaces the audio that is already on the video. in other words, I have a separate audio file to Mp3 of the same audio performance with an audio recorder and I want to replace the original video with the other Mp3 audio.

    What are the steps to ensure that the new audio is in sync with the audio already on video, from the original recordings and working through to the finished product?

    Thank you.

    I'm not Steve, but will offer my thoughts:

    • Most of the PrE users use Audio from their cameras, and less use separate devices, although I see more and more that.
    • Most of the PrE users do not 'clips', but again once, I see more and more of this in this forum.
    • It is probably impossible that an author can cover all the possible uses of a program, as before, even if they made a version three volumes. There are simply too many possibilities. Maybe Steve should consider making a companion book to his great tips & tricks, along the lines of "really advanced uses for PrE?
    • If any covered Steve implement, we wouldn't have much to do in the forum...

    I'm glad you don't have Steve's PrE book. If you decide to go with the pre as your NLE program, in light of what you do, I would add also, her book tips & tricks that you will most likely receive the gems inside.

    Good luck and happy editing.

    Hunt

Maybe you are looking for

  • How do I switch back to the previous user interface style

    Is it possible to restore the v31 pre user interface style? Why the user interface has been changed in the first place? The user interface was the area with the least amount of questions, especially when it comes to style and colors. I'd rather see M

  • I erased my Bootcamp Partition. Now what?

    Hi all While messing around with my old drive erasure Time Machine, I managed to delete my my SSD Bootcamp partition. I came to terms with the fact that the data is missing. I keep nothing mission critical on windows (so that it is saved). The proble

  • Cannot use my bluetotth

    My generic Bluetooth adapter shows a yellow symbol next to it, what do I do?

  • Capricious power button

    Hi all. I recently started having problems turning on/off my XPS8700. Basically, it seems that the power button on the case is capricious. By pressing the button normally does not produce any results, but I found that if I kind of tap or press the ke

  • HP 550 153na: video screen

    Can I use my old video of screen on my computer it hs taken the old (and you show one in the connection for this model guide) or do I have to buy a new screen with HDMI