Differents between open csv file by mannually and program automatically?

Dear great master
I haved been consfused by a problem deeply.
Why a csv file if already open can be detected by mannually. can't be detected by program automatically.
I verify this phenomenon by below procedure:
First:
 Execute <simple_ErrCode_modify_by_NI2.vi>  at both computer respectively.then open csv file mannually,thus two programs both can detect the csv file already
open. also can enter case5 and wait case5's loop.
Second:
 Compare with First produre.firstly,execute <simple_ErrCode_modify_open_csv_atloop1.vi> in one computer , Adding while loop  after open/creat/replace file ,thus
 can maintain csv file open all the time.
 secondly,execute <simple_ErrCode_modify_by_NI2.vi> in the other computer.I find that <simple_ErrCode_modify_by_NI2.vi> cann't enter case5.
  Through above,
 I confused that why program can detect csv file already open by mannually.
 cann't detect csv file already open by the other pragram open.
Why have thus two kinds of mechanism in labview .
  Can who great master help me and answer me .
mentioned program attached.
 Thanks earnestly.
Attachments:
ReadWrite_same_csvfile.zip ‏61 KB

If I understand your question, the answer lies in the access programs request when they open files. First, a program can have read-only, write-only or read-write access. Second, they can specify exclusive or nonexclusive access to a file. If a program requests and get exclusive access to a file, no other process can open it for any reason.
Now when you open a file manually, what you are really doing is opening it using the default program specified in Windows. So its a matter of how that program opens files.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Difference between opening pdf in IE and from Acrobat Reader?

    What is the difference between opening a pdf straight from a link in IE and going file open in Acrobat Reader, does one use the settings in IE and one use the settings in Acrobat Reader? I have a problem with some files on a company website which take a very long time to download when you click on them to open from IE but when they are saved to disk and then opened they are fine?
    Using Acrobat Reader 9.0 with windows XP SP2
    PS opening the file from the website works find with Adobe Acrobat 8 but not with 9.....

    Not sure about the exact differences but loading pdf files to view in a browser seems to have a high overhead (as in memory required to load and display the file). For that reason I prefer to view all pdf's in the reader. It's just quicker to load and smoother when scrolling to read.
    Simon

  • What is the difference between Open hub destination and Info spokes

    what is the difference between Open hub destination and Info spokes?
    Please seacrh the forum before posting a thread
    Edited by: Pravender on Aug 16, 2010 11:17 AM

    Hi,
    When a user initiates open hub extraction by creating an InfoSpoke, behind-the-scenes activity involves OO ABAP which is calling classes to determine each of the different components involved in making the open hub extraction possible.  In particular, this enhancement will focus on 2 standard classes: one used to determine file destination name and path and the other to control the user interface of the InfoSpoke which will ultimately allow the user to enter his/her own filename and path.
    The open hub service enables us to distribute data from an SAP BW system into external data marts, analytical applications, and other applications. With this, we can ensure controlled distribution using several systems.
    The central object for the export of data is the InfoSpoke. Using this, we can define the object from which the data comes and into which target it is transferred.
    Regards,

  • Difference between InDesign Defaults file and InDesign SavedData file

    Hi,
    I would like to know (as written in the topic title) the difference between these 2 files. I know that preferences are stored in these files, but I need more accurate informations. I opened each in TextWrangler but, even if I understand some infos, I can't understand the function of each of these 2 files.
    Thanks!

    I can't provide all of the answers to this, but I do know that the open recent list is in SavedData, and all of the doc and print resets are in InDesign Defaults, along with your customized preference settings. Does that help?

  • Difference between open text ECM and SAP DMS?

    Hello All,
    What is the difference between open text ECM and SAP DMS functionality  ??
    Why we use SAP open text extended ECM ?
    please help me to know about additional feature provided by open text ECM apart from SAP DMS??

    Hi,
    normally openText is not a part of SAP Document Management but I hope that the following links could be useful for you:
    Extended ECM version 10 documentation can be ac
    cessed from following locations:
    Extended ECM for SAP Solutions 10.0 Support Package 2:
    https://knowledge.opentext.com/knowledge/cs.dll/Open/34046660
    or
    https://knowledge.opentext.com/knowledge/piroot/_doclists/extsap-basic.e
    es100002.xml
    Older versions of xECM documentation are available from following links:
    Extended ECM for SAP Solutions 10.0.0:
    https://knowledge.opentext.com/knowledge/cs.dll/Open/19614094
    or
    https://knowledge.opentext.com/knowledge/piroot/_doclists/extsap-basic.e
    es100000.xml
    Extended ECM for SAP Solutions 10.0 Support Package 1:
    https://knowledge.opentext.com/knowledge/cs.dll/Open/25691512
    or
    https://knowledge.opentext.com/knowledge/piroot/_doclists/extsap-basic.e
    es100001.xml
    Please ensure you have access to documentation links.
    Best regards,
    Christoph

  • Difference between open quantity and delivery quantity

    Hi all,
    Please anybody explain me the difference between open quantity and delivery quantity My question is both are same in the value or different I need to report these 2 fields based on date.
    open quantity is available in table vbbe
    delivery quantity available in table lips.
    for open quantity i have one select statement.
    for delivery quantity i have another select statement.
    i want to club these 2 fields into a single report.
    please clarify my doubt.
    regards
    chandu

    Hi,
    Open quantity is nothing but the quantity which we have at the DAY starts.
    Delivered quantity means which was delivered on that DAY.
    So Opening qty - Delivered qty = Closing qty for a DAY.
    Again this Closing qty will be the Opening qty for next DAY.
    I think based on POSNR u need to club both the quantity in single report.
    select vbeln posnr matnr omeng mbdat into itab from VBBE where....
    select vbeln posnr matnr lfimg mbdat into itab1 from lips where....
    loop at itab.
    read table itab1 with key....
    move:....to itab2.
    endloop.
    Thanks.
    I hope this will help you.
    Message was edited by: Deepak333 k
    Message was edited by: Deepak333 k

  • Difference between vmx swap file and vswp file

    Hi Guys,
    Just want to know the difference between vmx swap file and vswp file. are these same files or different.
    regards
    VINAY

    The confusion is caused because of the name VMX which we take for granted as the .vmx file which stores the configuration file. First of all the VMX here stands for VM eXecutable and not the same as  the .vmx file in the virtual machine directory .
    when we are running a virtual machine , there comes some basic overheads , ie the processes required to boot the virtual machine , keep it up and running and the agents consume some amount of memory and processing power in addition to the actual load  created by the OS application running on the VM.
    the VM swap file is there to enable the VM's guest OS to consume less physical memory than the configured memory
    the VMX swap file is there to reduce the memory reserved for the VMX process , ie the overhead which we discussed right now .
    ie the VM swap is the internal matter of a VM where as the VMX swap file is the responsibility of our VMkernel
    hope it helps , correct me if I am wrong or confusing

  • Differences between Debug .exe file and Execute .exe file

    We are very confused by the following problem when we are using
    LabWindows/CVI to develop our application:
    Our program is for retrieving data from real time and process the data to
    get the statistic results. If we run the program using "Run >> Debug
    OurProject.exe", it runs very well. However, if we run this same program
    in
    two steps: first using " Build >> Create Debugable Executable" menu, then
    using " Run >> Execute OurProject.exe", it can not run and outputs very
    different results. How come does this happen? What's the difference between
    these two kinds of running a program? Please help!

    it might be that there are some variables not initialized. the development environment automatically initializes all variables. an executable program does not.

  • What Is The Difference Between Save As Self-Contained Movie and Exporting

    What Is The Difference Between Save As Self-Contained Movie and Exporting a Video as a Quicktime File

    Save As places the file inside a .mov container. No re-encoding.
    Your still have the option to save this file as "self-contained" (all the parts travel with the file) or "reference" (small file sized movie that merely "points" to the movie parts).
    A reference movie can't play if the source files can't be found. If they are moved or deleted the reference movie will fail and it can't be re-created.
    Exporting is done to convert one QuickTime format to another. Typically you do this with a high quality source file. Exporting previously compressed files is a bad idea that leads to unpredictable results.
    QuickTime doesn't open WMP formats without third party software help (Flip4Mac is one). You can't convert (export) WMP formats without paying extra fees to upgrade their software.

  • How to automatically open csv files in Excel on imac

    I am migrating back from Google Chrome to firefox and would like to have the browser automatically open csv files to Excel on my mac desktop. The step to have them saved in the download folder and then go in an open it in Excel adds an unnecessary action. In the earlier versions of Firefox on my windows machine this worked as desired. Any help will be appreciated.

    The Yahoo Finance server sends the file with the ''Content-Type: application/octet-stream'' header. This is a generic MIME type that doesn't describe the type of file. Therefore you will always see a download prompt, regardless of your download preferences.
    * [https://developer.mozilla.org/docs/Web/Security/Securing_your_site/Configuring_server_MIME_types What are MIME types? | MDN]
    To get around this issue, install the Force Content-Type add-on.
    * https://addons.mozilla.org/firefox/addon/force-content-type/
    In the Add-ons Manager, Extensions category, click the Options button next to Force Content-Type. Create two rules as follows:
    * URL: '''(.csv)$''' Old Content-Type: '''text/plain''' New Content-Type: '''text/csv'''
    * URL: '''(.csv)$''' Old Content-Type: '''application/octet-stream''' New Content-Type: '''text/csv'''
    You should then be able to select what you want to do with CSV files (i.e. open them directly rather than save), and check the "Do this automatically…" option.
    You're welcome.

  • Differences between various source files in mdm import manager

    Hi,
    Can anyone tell me the differences between the source files(access,xml,xml schema,excel) available in mdm import manager?
    Thanks and regards,
    Rithesh
    Edited by: rithesh_shet on Mar 30, 2010 1:04 PM

    Hi Ritesh,
    MDM Import Manager provides flexibility to Import Data from different types of Sources into MDM.
    You can import data into MDM from below mentioned sources using Import Manager:
    1. From Files (Access, Delimited Text, Excel, Fixed Text, XML and XML Schema)
    2. Directly from Data base source (SQL server and oracle)
    As mentioned by Mandeep, XML Schema is something which you define in MDM console in advance. and then later select the Data source XML file and XML schema from drop down list (it will show all schema defined in console ) to validate XML source file against the XML schema.
    For automated Import, Ports are used. Ports are nothing but a logical point of contact with other systems i.e. other systems or middleware will drop file on the port for authomatic import and MDM import server will scan the port directory and if file is present then will import data automatically from file into MDM using a predefine Import Map. (this map needs to be defined manually in import manager and then assigned to port using console).
    Please check page no 45 of import manager reference guide for more details about various source properties of Import Manager.  (*link for import manager reference guide is already provided on the earlier post)
    Also check, page no 53 to 64 for how to import process. Kindly revert if you have any query.
    Regards,
    Shiv

  • Difference between open storage & Bulk storage PUTAWAY STRATEGY

    Dear all,
    What is main difference between open storage & Bulk storage PUTAWAY STRATEGY ?
    Thanks & Regards,
    Olet Malla

    Hi,
    Open storage is a type of warehouse organization in which you define a single storage bin for a storage section. Normally if it a large area with one (or more) storage sections.
    Materials that occur in large quantities and generally take up a lot of space in storage are often stored in bulk storage. Mainly it is used for Reduced need for physical storage bins, Fast access to the trading units, Clear structuring of the warehouse (into blocks and rows)
    This putaway strategy searches for storage bins in bulk storage.
    Thank you

  • How to open .csv files?

    How can I open .csv files that are sent as attachments.  I get reports sent automatically from an app that only saves them as a .csv and I cannot find a way to open them on my BB.  I've looked at a few add on software options but none of the ones I've found open .csv files.
    Any ideas? 
    Thanks 
    8703e v4.1 and Blackberry Professional Software on the server

    Sorry, but .csv files are not currently a supported format.
    Supported attachment formats for BlackBerry mail and messaging

  • Open CSV files

    I am unable to have  Safari open CSV files in my Excel 2011  (Mac). Safari will download the CSV file and when I try to open it with Excel 2011 I get the message that Excel 2011 can not open the file because the developer is unknown.
    This is very annoying.
    Firefox does allow Excel 2011 to open CSV files, but for various other reasons I would like to stay on with Safari.
    All workarounds are welcome

    ..."because the developer is unknown"
    Could you provide the exact text of the message, please?
    Are you really running OS 10.5.8?
    In the meantime, two things come to mind from your description.
    Maybe Safari has added an extra suffix to the file (beyond so that Excel doesn't recognize the file type.
    Make sure the downloaded file has a .csv only at the end.
    Maybe security is kicking in.  Can you control-click on the file and select "Open"?
    charlie

  • Color differences between these two files?

    Could someone please tell me the color differences between these two files? What are the differences in general of these two files and how do I make a file identical to the blue cancel button?
    I am working with signature pads and the BLUE CANCEL image works, but the other GREEN image does not. Both are 8-bit .bmp files... HELP!

    #1, obviously, would be to connect a mic that doesn't require phantom power.
    And #2 comes with a 6 ft. USB cable, so you may not need a bunch more cables. Maybe just one standard XLR to connect a mic to it.
    Message was edited by: p o'flynn

Maybe you are looking for

  • PI 7.11 - SXI_CACHE Issue - SQL0904 - Resource limit exceeded

    Hi IBM I Gurus, We are having the SXI_CACHE issue in our PI 7.11 SPS04 system. When we try to do the delta cache refresh through SXI_CACHE, it is returning the error SQL 0904 - Resource limit exceeded. When we try to do the full cache refresh, it is

  • I can't install my DAQ in Windows

    I have an AT-MIO-16XE-10. I saw ways to install the AT-MIO-16E-10 in widnwos, bu nothing about the XE. It doesnot appear in the add hardware list along with all the other types of boards. I have installed the newest drivers... Can anyone help me?

  • How many devices can I authorize for an account?

    I have two machines authorized and I want to add a third, it will not let me, why?

  • Regarding a project in abap

    hi, I am a newbie in abap.Could anyone suggest me some projects in abap.I have competed some main topics in it like abap dictionary,abap editor,internal tables.So i a nutshell i have completed the basics of abap. I was wondering, based on my knowledg

  • I do not know my security answers. now my account is locked

    im unable to purchase anything in the app store becouse i do not know my security answers. now my account is locked and i am not recieving emails to change the security questions. This is very irritating that i cannot fix the issue withought posting