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

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 21 of 25
(505 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
(497 Views)

Thanks Gerd for your cooperation.

 

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

 

 

Maxim

0 Kudos
Message 23 of 25
(492 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
(488 Views)

Thank you for your cooperation but it still doesnt work 😞

0 Kudos
Message 25 of 25
(474 Views)