LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable windows task scheduler

Hiya

Is it possible to disable the Windows task scheduler using Labview (v6). I'm running a DAQ program and I don't want it to be slowed down by Windows Critical Update etc. However I would like to re-enable the scheduler as the VI finishes, because it runs the backup.

Many Thanks

Joolz
0 Kudos
Message 1 of 5
(3,044 Views)
I do not believe that you will find a way to shut down the Windows scheduler. It is central to the OS itself. You might want to investigate ways to optimize your DAQ routine. Look into DAQ occurrences, and find creative ways to pace your loops. Use enough of a buffer so that a momentary lag won't kill your process. If that doesn't help, it may be time for LabVIEW RT.

Daniel L. Press
PrimeTest Corp.
0 Kudos
Message 2 of 5
(3,044 Views)
I don't know how to do it, but I'd guess it's possible.
This link has some tantalizing hints. Search for Task Scheduling.
http://www.microsoft.com/msj/1297/nt5dll2.aspx
This link has more code, but it's not very easy to follow.
http://codeguru.earthweb.com/system/AC_NTSrv.shtml
Good luck!
0 Kudos
Message 3 of 5
(3,044 Views)
A workaround may be to increase the priority of LabVIEW in Windows. Here is an example program that does this:
http://digital.ni.com/public.nsf/websearch/154489314A440D6486256BDD00607A2A?OpenDocument
0 Kudos
Message 4 of 5
(3,044 Views)
Very belated thank you for your replies - priorities changed and this project got put on hold - I don't like forgetting to say thanks but it slipped my mind this time.

Have I managed it then? Well no, but it is obviously possible because some installers do it (including Windows Update, I think). If I ever pick up the project again, I'll let you know how I get on.

Cheers

Joolz
0 Kudos
Message 5 of 5
(3,044 Views)