LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 200479

I have attacheted my program below.

I keep geting the error Error -200479 and i don't know why.

Thank you

0 Kudos
Message 1 of 4
(3,611 Views)
Sorry this is the program
0 Kudos
Message 2 of 4
(3,610 Views)

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.

0 Kudos
Message 3 of 4
(3,585 Views)

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

 

0 Kudos
Message 4 of 4
(3,565 Views)