02-26-2013 02:33 PM
Hi everybody,
I implemented a vi (attached) which is possible to change some DAQ properties. But some problems are happening.
Thank very much for any help/suggestion.
Andrea
02-26-2013 03:29 PM
I'm sorry but I don't think there is very much in that VI that is correct. Your first major problem is using the run continuous button. That should never be used except in special debug circumstances. That is the reason your loop does not start. Second major problem I see is with the case statement. In order to change the rate, you should first stop the task. It would probably work better if the false case had the DAQmx Read. Don't use multiple instances of the task name. Use a single wire. I would put the task name outside the loop.
02-26-2013 04:43 PM
Hi Dennis!!!
Sorry, really the question about stop was terrible, simply went unnoticed.
About the Start Task, in your oppinion it is necessary? DAQmx MAX works like a DAQ Assistant? I put the Stop Task before set new configuration but the error continues.
What do you think, use multiple instances of the task name could be a problem? I use multiple instances only to avoid multiples lines.
My last question is, when I tried configure the device but the DAQmx is ignoring. I am using a property node DAQmx Channel and write the new sequency: Devx/ai0,Devx/ai1,Devx/ai2,Devx/ai3. Please, could you give me a hint?
Thank you very much.
Andrea
02-26-2013 06:53 PM