08-16-2006 06:11 AM
08-16-2006 06:21 AM
Hello Alloush!
In this case you can ask only few samples continuosnly.
But yes, you must initialise with that.
Regards
08-22-2006 05:48 AM
Hi Alloush,
Thanks for posting on the NI forums!
As Carmo has noted you will most likely need to include the setup of your DAQ task in a 'setup' or 'initialise' state seperate to your 'run' state. As to the exact ins and outs of what you need to do to implement this will depend on what functionality/behaviour you would like to get out of your application.
By my understanding you are looking to present your users a choice between continuous acquisition, i.e. acquire until they hit a stop button; and a finite acquisition with an option to abort the process, i.e. acquires data and will cease only when a certain number of datapoints have been acquired or when an 'abort' button is pressed. Is this correct? If I have mis-read your description then please let me know.
Thanks,
Rob