I have been working with VS 2010 for several month and I am still not very able in using it. I am writing a software that should control the set-up of an experiment by means of a DAQ USB 6251. I have a problem with the pulse train generator that I use as a trigger clock for managing two acquisition tasks that have to work simultaneously.
As it should generate a finite number of samples I suppose that triggertask.isdone should change from false to true after the last pulse has been generated, but this doesn't happen. I need this function to start again the program once the first acquisition is complete.