From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Administration rights issue to export data to excel

With my stand alone labview application, moving data from application into excel using report generation toolkit required administration right in windows 8 or Higher version OR in MS Office 2013 or Higher version. Without administrative right it will not log data in excel file. Is there any solution to log data without administrative rights ?

0 Kudos
Message 1 of 17
(3,357 Views)
You can write data to a delimited text file (that excel can open), you can log data to a database.

Or you can just run your executable as administrator.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 17
(3,336 Views)

You shouldn't need admin rights.  Can you give us a little more detail on exactly what you are doing with Excel?  Are you opening an Excel template that gets saved after the data has been added?

0 Kudos
Message 3 of 17
(3,312 Views)

If you're trying to save the Excel file in the c:\program files directory you will need administrative rights. If the case save to a different location.

 

Ben64

0 Kudos
Message 4 of 17
(3,302 Views)

If you show us the code (attach a VI, not a picture of a VI, please), we can probably at least explain why this is happening, and can probably suggest a fix.  You should not need Admin rights to use the RGT nor to write an Excel file (unless you are writing in some "protected" folder).

 

Bob Schor

0 Kudos
Message 5 of 17
(3,297 Views)

In some Windows 8 System with MS office 2013, labview application needs admin right to copy data into excel file. without admin right only excel template was create and no data will copy to excel, but when we open application with admin right it is works fine and copy all data with formating too.

0 Kudos
Message 6 of 17
(3,285 Views)

Actually excel data are formated report so we cannot use delimited text file and End user have problem with admin right issue.

0 Kudos
Message 7 of 17
(3,282 Views)

Actually problem occures before saving the excel, we just create blank template from RGT and copy data with formating.

0 Kudos
Message 8 of 17
(3,280 Views)

This issue is not come with all systems, some specific system has only issue to copy data. others was works fine so I need a solution to give a admin right of application at the time of installation or by any ways that it opens only with admin right.

0 Kudos
Message 9 of 17
(3,278 Views)

Again, without seeing the code that doesn't work for you, it is basically impossible to suggest a fix.  Attach your VI and you stand a much better chance of getting an answer.

 

Bob Schor

0 Kudos
Message 10 of 17
(3,275 Views)