Can I supress error messages generated by the Directory / File Info VI

I use the Directory / File Info to determine if a file exists.  If the file size returns a zero I create the file and write the header.  This ran fine in LabView Ver 6.1.  In Ver 7.1 It returns a LabView general error message (File Not found).  Everything else works fine except the error message confuses our operators.  Does anybody have a different way to determine if a file exists within LabView that will not generate an error?

agood wrote:
I use the Directory / File Info to determine if a file exists.  If the file size returns a zero I create the file and write the header. 
OK, this is incorrect, because a file can exist and be of size zero at the same time! As mentioned above, you should use the error output. If there is no error, the file exists. If there is an error, the File/folder does not exist.
Message Edited by altenbach on 01-11-2007 12:33 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
fileexists.png ‏3 KB

Similar Messages

  • Error message while uploading the flat file

    Hi Experts,
    I am getting the error message while uploading the flat file.
    Message class: MG
    Number: 147
    The message is: Several descriptions exist for the language JA.
    Please guide me why this error is occuring.
    Regards
    Akshay

    hi,
    how are you uploading the file and where ?
    u can use open dataset  , read dataset or gui_upload
    check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e92637c2cbf357e10000009b38f936/frameset.htm

  • I get an error message saying that the original file could not be located on about half the songs in my library. Not all but half.

    I'm unable to play approx. half the songs in my library. I get an error message saying that the original file could not be located. I am asked if I want to locate the file, I click locate and get  a screen with a list of confusing looking files and nothing seems to solve the problem. As is probably apparent by now I am not particularly computer literate. I don't understand why this problem occurs on only half my library.

    This "original file cannot be found" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • Error message pops up "The following files could not be imported because they could not be read."

    Lightroom has suddenly stopped recognizing files on my camera's sd cards.  An error message pops up "The following files could not be imported because they could not be read."  My iphoto app can download them so why can't Lightroom?

    The answer is here - about a million times over - and it's not a Lightroom problem. It's actually a Mac OS issue. You need to fix the write permissions on the destination folder for the import.

  • How can i supress error message

    hi Al,
    I am getting an error message on screen , i want to supress this and hold data from screen , how can this be done,
    Regards
    Anuj

    Hi,
    you mean you don't want to flash these error messages but wants to hold them ,in this case just try to use FM 'MESSAGE_TEXT_BUILD'
    CALL FUNCTION 'MESSAGE_TEXT_BUILD'
        EXPORTING
          msgid               = sy-msgid
          msgnr               = sy-msgno
          msgv1               = sy-msgv1
        IMPORTING
          message_text_output = g_message.
    where you can also pass the particular message class and message numbers also and in g_message you will get the message text.

  • Error message: Cannot load the rpt file

    Can anyone please help.
    I created a Crystal Report which I deployed into Business One. Tested this report on about 13 machines running Business One and all running well except one machine where it comes up with the following error messages:
    1: Cannot load the rpt file
    2: Object reference not set to an instance of an object
    3: Invalid report file path
    I have tried logging into Business One on that machine as a different user and encountered the same issue. Then logged onto another machine as the user who uses the machine with the error message and her profile works well on another machine.
    This is leaving me with concluding this problem could be down to the machine but cannot figure out how to fix it.
    Does anyone have any ideas to solving this?
    Thanks
    Tony

    Hi Tony,
    On the troubled computer, check in Control Panel whether Crystal Report Runtime is installed. If not, un-install client app and re-install from B1_Shr client's folder. The first thing that it will do is to instal Crystal Report Runtime.
    Source: when I did an upgrade on a client recently this happened. After troubleshooting everything I found that this issue is a hit-and-miss as some PCs had it some don't. I started comparing between working and non-working PC and found this is the only difference I could found.

  • Error message in accessing a PDF file, using AR V.9.2.0

    When I run the following code,  I get the error message as in the attached file.  The PDF file was created using ScanSoft PDF Professional.
    Personally, I am getting rather fed with AR - the last version crashed my Internet Explorer V8 (and V7), but it worked with the following code..
    ==================================================================================
    <html>
    <body>
    <div>
    <object width="800" height="800" data="STTA_Monthly_Stats.pdf#toolbar=1&amp;
    navpanes=0&amp;scrollbar=1&amp;page =1&amp;view=FitH" type="application/pdf" title="Title of this pdf file">
      <p>Your browser does not support embedded PDF files.</p>
    </object>
    </div>
    </body>
    </html>
    ==================================================================================

    Accessing PDF file attached.

  • After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous peopl

    After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous people call and ask why I didn't reply to their texts...and I look, but have not received any new texts. YES, I have restarted phone. I have cleared data as well as cache on all apps. I have downloaded the vzw messaging app, which seems silly, since it happens with several different processes and apps, but all to no avail. I am missing texts from my employer, from my family. This did happen, but rarely, before this "soak test". It is now Kitkat version 19.6.3.obake_verizon.en.US. THIS is when I started having problems...like 50 times a day kind of problems! I have seen hundreds of posts all over the internet over the past 3 days. Does no one know how to fix this??? Shouldn't there be a way to revert phone to a pre-update state? and no, hard reset did NOT work!!!! I have been with verizon for well over 15 years, but I have not upgraded my lines and will not in July either. This is ridiculous. It's not like my games aren't working, it is my messaging and "android os"...my lifeline at work!

    kristinaf333,
    Oh no, I am sorry to hear your messages are not working since the software update. I greatlly appreciate doing all that troubleshooting to try and get the messaging application back in business. I know how much I rely on my messages so I can understand the urgency to get this resolved. Have you had a resolution ticket opened since you started experiencing issues with your messages? Does this happen with all contacts or just some? Please provide additional information to ensure we get to the bottom of this for you.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • So I download photoshop cc (2014) and when I go to open the program, it gives me an error message and shuts the program down. It says," A problem cause the program to stop working correctly. Windows will close the program." Can someone help me please?

    So I download photoshop cc (2014) and when I go to open the program, it gives me an error message and shuts the program down. It says," A problem cause the program to stop working correctly. Windows will close the program." Can someone help me please?

    I've got the same issue and it affects all my adobe software.  You are not alone as I have seen several postings looking for the answer to this help request.

  • I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries)

    I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries).
    Thank you for your help! - I did try looking for all available specs about Keynote on the Apple iTunes website, and found nothing that could help me. HELP!

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

  • I can't seem to open (view) my photos.  I get an error message that says "the file couldn't be opened because you don't have permission to view it. To view or change permission, select the item in the finder and choose File. Get info."

    I can't seem to open (view) my photos.  I get an error message that says "the file couldn't be opened because you don't have permission to view it. To view or change permission, select the item in the finder and choose File. Get info."  I have never had this happen before?  Thanks!

    Try the following:
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - Run Option #1, Repair Permissions.
    OT

  • Cannot get Genius to work - Always get same error message - "Genius results can't be updated right now. The required file cannot be found."  Problem also seems to be affecting iCloud aand Music Match.

    Cannot get Genius to work - Always get same error message - "Genius results can't be updated right now. The required file cannot be found."  Problem also seems to be affecting iCloud aand Music Match. Can anyone help me with this?  What file is missing and from where?

    This is a known problem with Windows 7 Enterprise using certain Group Policy settings. Solution for me was to use another machine running Windows 7 Ultimate.

  • HT1926 I am trying to update my iTunes so I can sync my new iphone 5s and it doesn't recognize the phone, apple support said I need to update my iTunes when I try and do that I get an error message that says " the ITunes update server could not be contact

    I am trying to update my iTunes so I can sync my new iphone 5s and it doesn't recognize the phone, apple support said I need to update my iTunes when I try and do that I get an error message that says " the ITunes update server could not be contacted. Please check your internet connection or try back later.
    My internet works fine and I have tried back dozens of times with same result.

    Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
    Thanks!

  • Where can I download CRX developer edition ? Im geting error message on clicking the Download link

    Where can I download CRX developer edition ? Im geting error message on clicking the Download link.
    Someone pls help me to download CRX.
    Thanks in Advance.

    Hi Jayanth,
    Are you able to down load the develoer version finally?

  • Error message generating Adobe Air output Unable to build a valid certificate chain for the signer

    error message generating Adobe Air Output: Unable to build a valid certificate chain for the signer.

    Are you talking about AIR Help produced by RoboHelp or an AIR application that you are creating?
    If the latter, please see the notice at http://forums.adobe.com/community/robohelp/airhelp
    If you are using RoboHelp, which version?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for

  • ODBC fails with error 126

    I am trying to connect to oracle 11g database via instant client 11.2 odbc driver on windows xp. When I test the connection in the odbc data source administrator, I get the "connection successful" message. When I try connect via Crystal Developer or

  • DAQmx : How to Trigger camera and AOTF

    Dear, I have a camera sCMOS and an AOTF that i want to trigger. I have attached the description of the camera acquisition sequence. I want to sent a digital pulse (only one pulse because I want to acquire one picture only) to the camera via the EXT/S

  • Can I use my AirPort express to create a wireless network in my uni room?

    So, I'm going to university in september and my room has an ethernet port to connect to the internet. If I buy an AirPort express, can I plug it into the ethernet port to create a wirelss network in my room?

  • Can I use iphone 4 in China?

    Here is my problem I want to buy an iphone 4 but I dont know whether I can use in China or not. And about the locked and unlocked, what is that? How can I distinguish between them? Appreciate if someone could help me!

  • CS4 cursor size mismatch problem

    Greetings all, I have an interesting problem in that the actual brush strokes for just about any tool don't match the cursor size shown on screen. For example; if I set my copyright brush to 250 pixels, the cursor for the brush appears to be about 45