LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instability using ANC daqmx

Sorry, I really can't help with the noise cancellation control algorithm, it's not a field I know about.  Now that we got latency out of the way, there's not much more I can offer.

 

 

-Kevin P

CAUTION! New LabVIEW adopters -- it's too late for me, but you *can* save yourself. The new subscription policy for LabVIEW puts NI's hand in your wallet for the rest of your working life. Are you sure you're *that* dedicated to LabVIEW? (Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).
0 Kudos
Message 21 of 25
(345 Views)

Hi Maxim,

 


@Maxim898 wrote:

Can you help me? My "Error Mic" gets unstable, instead x+y during the time tend to zero.


Unfortunately I also cannot help you with your ANC algorithm.

 

I can only suggest (again):

  • Clean up your VI! This will greatly improve readabilty of your code…
  • Why do you use DeleteFromArray to index an element from an array? Ever heard of a function called IndexArray? (That function also has the benefit to be able to index more than just one element with one node. And it even don't needs the index constants as it automatically starts to index elements from index 0…)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 22 of 25
(337 Views)

Thanks Gerd for your cooperation.

 

What do you mean by: "Clean up your VI"?

 

 

Maxim

0 Kudos
Message 23 of 25
(332 Views)

Hi Maxim,

 


@Maxim898 wrote:

What do you mean by: "Clean up your VI"?


In the LabVIEW help you will find a chapter called "Style guide".

It recommends straight wires, going from left to right…

(That's just a start, there are other things to follow, too.)

 

Example:

The upper DAQmx task reference also should be kept in a shift register. You don't need shift registers for the error wires when you stop the loop on the first error…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 24 of 25
(328 Views)

Thank you for your cooperation but it still doesnt work 😞

0 Kudos
Message 25 of 25
(314 Views)