Hi
Right now I have about five analog inputs. For two of them, I am collecting multiple samples so that I can measure the frequencies of the waveforms, so I set up a task to do that. For the other 3, I want just want to sample the signal once every second and periodically get a double from each signal. Right now, this is set up as a separate task.
So I have a few questions. They are sort of related.
1) Is there a way to combine all these readings into one task? I can't find a way to perform different types of 'Read' for a bunch of analog inputs in the same task.
2) If I have to keep the tasks separate, is there a way to synchronize the readings so that I can get readings from all five inputs at the same time. Right now I perform one task, then move on to the next task, and I keep doing that periodically to collect data. I'd like to read everything at the same time if I could.
Thanks for the help.