Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69440

Differents between open csv file by mannually and program automatically?

$
0
0

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.


Viewing all articles
Browse latest Browse all 69440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>