ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open LabView application grammatically

Hi Everyone,

I am trying to get my LabView application to run at grammatically at certain time via LabView. Is there any way/ utility that opens labView .exe and runs it automatically at certain time? 

I know how to do it by adding the .exe to Windows schedules, but I am looking if there's a way to it via labView.

 

Thanks

 

 

0 Kudos
Message 1 of 5
(2,187 Views)

Hi jbagadi,

 


@LV2020 wrote:

Is there any way/ utility that opens labView .exe and runs it automatically at certain time? 

I know how to do it by adding the .exe to Windows schedules, but I am looking if there's a way to it via labView.


When you want to do that using a LabVIEW routine: Write a VI, which waits for a certain timestamp. Then use SystemExec to call your other "LabVIEW made exe"…

 

Why don't you use the Windows-scheduler for that purpose? It's made just for such requirements! (And some others, too.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,173 Views)

@LV2020 wrote:

Hi Everyone,

I am trying to get my LabView application to run at grammatically at certain time via LabView. Is there any way/ utility that opens labView .exe and runs it automatically at certain time? 

I know how to do it by adding the .exe to Windows schedules, but I am looking if there's a way to it via labView.

 

Thanks

 

 


This is fascinating.  I had never thought of using grammar to open files (is that a Jedi trick?).

.  

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 5
(2,137 Views)

@LV2020 wrote:

Hi Everyone,

I am trying to get my LabView application to run at grammatically at certain time via LabView. Is there any way/ utility that opens labView .exe and runs it automatically at certain time? 

I know how to do it by adding the .exe to Windows schedules, but I am looking if there's a way to it via labView.


You can use LV to run System Exec and program the scheduler.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 5
(2,129 Views)

@LV2020 wrote:

I am trying to get my LabView application to run at grammatically


If you want to be grammatically correct, you should also spell it LabVIEW. 😄 (note the lettercase).

Message 5 of 5
(2,112 Views)