08-08-2007 10:00 AM
08-08-2007 11:30 AM
08-08-2007 11:34 AM
hi there
i can confirm with LV 8.20 XPSP2 that the "path and refnum" case causes error No. 8. for me this seems to be a bug in LV
08-08-2007 11:46 AM
Brain freeze on the refnum, however the other 2 methods don't work on my labview (8.2.1)
08-08-2007 12:51 PM
Double Brain Freeze. I knew I was tired today but... I had generated a quick table using Excel, then saved as a tab delimitied text file. I did NOT CLOSE the Excel File.
Labview was able to Read the file just fine, but was unable to Write to it as the File was still open in Excel.
Time for a nap.
08-09-2007 01:15 AM
08-09-2007 02:38 AM
08-09-2007 02:50 AM
08-09-2007 03:00 AM
08-09-2007 03:35 AM
Hi Gerd
ok, i had an other philosophy in my mind: when i use the read file function and the refnum generated by it i do this because i want to use the refnum after the read function for some other purposes (e.g. for writing some other data to the file). when i don't want other apps to write to my file at the same time i open it explicitly with DENY WRITE mode. it hink the default READ ONLY mode should have been mentioned in the help (because the default mode of the file open function is READ/WRITE)
In READ ONLY mode other applications can still write to the file while it is opened by the read file function, so i can use this constellation (path in, refnum out) only for subsequent read file operations (e.g. to observe what other apps write to the file). because the Set permission function only works with paths i have to reopen the file when i want to write to it, so all in all i agree with your post.