LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two Discrete Kalman filters in one While Loop

Hi!

 

Is there any way to use two Kalman filters in one While Loop? When I use just one, no matter which one, everything works.

 

Thanks in advance!!

0 Kudos
Message 1 of 4
(2,664 Views)

Depends how you're trying to use them.  Care to share some code so we can understand your problem?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,657 Views)

There are two separate Kalman filters, they don't depend on each other. There is nothing special in the code and I don't have it right now, just two Kalman filters which refuse to work at the same time.

0 Kudos
Message 3 of 4
(2,653 Views)

If the Kalman filters are using the same VIs, try setting the subVIs to Reentrant (VI Properties in the Execution tab).  By default, reentrancy is turned off for a new VI and therefore a single copy of every VI uses the same memory space and can only be ran by one thread at a time.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,638 Views)