08-24-2017 01:12 PM
I'm using LabVIEW 2014 and when I try to run my project I get the following error message:
Error 8 occuered at Open/Create/Replace File in Write Spreadsheet String.vi->Write To Spreadsheet File(DBL).vi->Batch Kinetics.vi
Possible reason(s): LabView: File permission error. You do not have the correct permissions for the file.
When we used this project file on Labview 8.0 and older versions and the Spreadsheet files that you mentioned in the error message have never existed.
Any assistance with this would be greatly appreciated!
Solved! Go to Solution.
08-24-2017 01:19 PM
Are you talking about a "LabVIEW project" or are you using the term generically?
Are you trying to open, create, or replace a file? Where is it located? Is it already open in a different application (e.g. excel, etc.). can you show us some code (batch kinetics.vi)
08-24-2017 01:32 PM
Check your file path. It sound like it is pointing at the wrong place and you do not have permision to write where it is pointing.
Ben
08-24-2017 01:35 PM
I am talking about a LabView project. I am trying to open the file.
It is located in the user.lib in the LabView 2014 folder. It does not open in excel as we have the student manually input the data into excel. We have been using this project for the last 12 years without any issues.
08-24-2017 01:37 PM
I have checked the path and it is located in the correct location. I have full administrator permissions for the software and computer. I've also tried running all the files as "Read-Only" and get the same error message.
08-24-2017 01:44 PM
Have you tried setting the string control to "limit to single line"? (right-click)
Why are you using a string control instead of a path control?
08-24-2017 02:07 PM
I do not know how to do that or what that entails. I did not write the code, it was a former co-worker that had experience in using LabVIEW.
08-24-2017 02:15 PM - edited 08-24-2017 02:17 PM
You simply right-click the string control and select "limit to single line". This ensures that the user cannot accidentally append an invisible return character to the file name.
(A path control would be preferable. You can replace the string by a path control and remove the "string to path" on the diagram.)
08-24-2017 02:19 PM
@KSedore wrote:
I am talking about a LabView project. I am trying to open the file.
It is located in the user.lib in the LabView 2014 folder. It does not open in excel as we have the student manually input the data into excel. We have been using this project for the last 12 years without any issues.
Are they saving it as a CSV file and not a Excel file?
Is the target file there?
Ben
08-24-2017 02:32 PM
Thanks for showing me where to locate the "Limit to Single Line". I tried it and unfortunately I still get the error message when I run it.