05-08-2010 06:26 AM
I have attacheted my program below.
I keep geting the error Error -200479 and i don't know why.
Thank you
05-08-2010 06:27 AM
05-08-2010 06:26 PM
Your VI makes no sense. You have created a single analog in task and then start it twice and have two separate DAQmx Reads. Why? Use a single Start Task and a single DAQmx Read. You will obviously need a multiple sample read for the frequency. I have no idea what your other code is supposed to do for the same channe with a single sample read. What exactly are you trying to accomplish with that Delay Values function? You are only getting a single value from the DAQmx yet there are all those arrays being generated.
05-09-2010 01:00 PM
I solved the problem.Thank you.
About the program:
-I use the delay part to detect the passings trough zero from the negative side to the pozitive side
-I opened two tasks because I need to measure the frequency and I could not use the first task because I needed the Sample Clock block