LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Launch labview.exe with task scheduler

Hi all,

I created a labview application which, among its functions, launches an excel macro.

The application is launched every day via the task scheduler which has been configured with the "Run whether user is logged on or not" option.

On opening the task manager, both the labview and excel application appear in the background processes, but the macro is not executed.

By changing the Task scheduler option to "Run only when user is logged on", the macro works.

 

Thanks in advance for the help

0 Kudos
Message 1 of 4
(765 Views)

I believe not being able to run an Excel macro when logged out to be an Excel issue related to security.

 

I don't know if there is a solution, but I would scan some of the Excel help forums for answers.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 4
(742 Views)

Claudiot

You may check this option. "Run with highest privileges".

please set this as ANSWER or KUDO this post, if it help you.


0 Kudos
Message 3 of 4
(708 Views)

the option "Run with highest privileges" is flagged
I tried to change the excel security but it didn't work

0 Kudos
Message 4 of 4
(692 Views)