LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scheduled data acquisition

hello
every body
my task is scheduled data acquisition. which is the efficient method to do that,
for example
i want to start the acqusition in the morning 9.pm and finish at 10.30 p.m and save the data in a file and wait for next acquistion it starts at 11.p.m and end at 12.30 p.m . like that i want to do.where the start time and end time i will give in a data file ok.
by continously watching the system clock i can  do but . can u give some efficent method of doing that.
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 1 of 3
(2,825 Views)
Here's an example driven by a cluster with arrays of start and stop times. I only wired the time for expediency so you'd have to add the date to the comparisons as well.





Message Edited by Bill@NGC on 08-23-2007 12:21 AM

0 Kudos
Message 2 of 3
(2,801 Views)
First, a couple of questions.
  1. Are you running on a windows platform
  2. Are you building an EXE?
I am sorry I am late to respond, but I needed to test this before I recommended it.  If the answer to 1 is yes, you can use the windows task scheduler to launch your app and make your acquistion.  If the answer to 2 is NO, then your cmd line switches will need to be a -- instead of whatever you like.  You can read a file, if need be, to determine the length of the acquistion.  The biggest benefit to this approach, is that you can have the system run this task, even if you are not logged in!  Usually IT hates it when you leave domain computers logged in!  And best of all, NO system resources are spent, no background app is running, and consuming whatever resources are required.  Granted, there are not much given the suggested approach, but yet another app (one with a front panel open somewhere) running.  I do not know about you, but I try to minimize the number of processes running at any given time.  I have tested this, and even brought my computer out of hybernation and sleep modes to run the app!  That is fantastic.  I hope this helps.


Paul
0 Kudos
Message 3 of 3
(2,778 Views)