Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ParticleFilter4 parameter error while program running

Solved!
Go to solution

    I use CVI and VDM8.6, I had installed the VDM8.6 patch package, and there is no error while  program compile, but when run the program, there is error occured, the error message is as attached image showed;

    also I had another question: should I place ParticleFilter() before ParticleCount() or after ParticleCount?

 

Thanks in advance,

 

Particlefilter_runerror.JPG

0 Kudos
Message 1 of 3
(3,021 Views)
Solution
Accepted by topic author samliu321

The line above the marked line in your screenshot just defines a pointer - but no memory for the data structure.  That's why you get an access violation.

0 Kudos
Message 2 of 3
(3,016 Views)

Dear Guenter,

    Problem solved, Thank you very much!

    I made mistake on  the input  pointe parameter, when the pointer is used as output parameter then it no need to assign memory.

 

Sam Liu

0 Kudos
Message 3 of 3
(3,012 Views)