LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 8 when trying to run a project.

Solved!
Go to solution

No, they are saving it directly to the C:/ drive and then converted it into a excel file in excel. Unfortunately, the computer won't allow me to attach the raw data saved to the C:/ drive.

0 Kudos
Message 11 of 22
(2,698 Views)

You did not attach the subVIs, but your program only appends (writes!) to a tab delimited spreadsheet file, never reads anything.

 

So how does the user entering values into excel mesh with that?

 

What else happened before it stopped working. Did you e.g. upgrade the OS? Newer versions are more restrictive in allowing writing to system areas. Why do you possibly write to files in user.lib? That's not a place for data!!! 

 

0 Kudos
Message 12 of 22
(2,697 Views)

Are the attached my subVIs?

The raw data collected from the conductivity probe is automatically saved to the C:\ drive on the computer. The students will then convert the raw data on the C:\ drive to an excel file where they can analyze their data.

Download All
0 Kudos
Message 13 of 22
(2,693 Views)

Does it work if you run LabVIEW as administrator? (See also)

0 Kudos
Message 14 of 22
(2,690 Views)

Nothing else happens when the error message is given. We have installed Windows 7 on a new computer so the project is still running on the older OS.

On the Windows 7, my data acquisition board from MCC is reading in InstaCal and is being recognized by the code.

When I installed the LabVIEW 2017 software and installed our VIs, the user.lib was the path that was given to store these in. I tried storing them in another location but the LabVIEW would not read the projects. All of our other experiments that use LabVIEW from running our data acquisition boards are stored in this location.

0 Kudos
Message 15 of 22
(2,688 Views)

No, it does not run when I'm the administrator and I have full permissions on this computer.

0 Kudos
Message 16 of 22
(2,687 Views)

Sorry that should be LabVIEW 2014.

0 Kudos
Message 17 of 22
(2,684 Views)

Either you do not have permission to write to the C: drive or the file that is there is NOT a csv file but rather an Excel file.

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 18 of 22
(2,679 Views)
Solution
Accepted by KSedore

@KSedore wrote:

No, it does not run when I'm the administrator and I have full permissions on this computer.


That still does not give LabVIEW these permissions. With LabVIEW closed, you need to right-click the LabVIEW icon and select "run as administrator" did you try that?

 

 

0 Kudos
Message 19 of 22
(2,677 Views)

@KSedore wrote:

No, they are saving it directly to the C:/ drive and then converted it into a excel file in excel. Unfortunately, the computer won't allow me to attach the raw data saved to the C:/ drive.


Nobody should ever be writing to the root folder of a drive. Is that what you are doing?

0 Kudos
Message 20 of 22
(2,667 Views)