08-11-2013 08:46 PM
Hi, guys, i have checked through the forum for the solution for it.
Some saying can connect the error cable to the other, but i found out that my problem is still occurred.
And some saying is the problem of the memory that the src image and the dst image.
But in my case, the problem is that the IMAQ Find Straight Edge does not have the image dst, so i can't use the IMAQ create to create a memory location for it.
Can anyone tells me how to solve for this problem.
And here is the snapshot on the part of my vi that has this problem.
I had tried this by using the flat sequence structure, it do works... but when i connect it into the while loop, the problem has occurred.
08-12-2013 12:02 PM
Could you explain what exactly is your issue.
08-13-2013 03:42 PM
Do not use local variables, if you are unsure how they work.
image wires in labview is references to data, not the data.
when you have wired the local variable with a reference to some data, you have to be absolutely sure that whatever created the data didn't delete it again, as the reference you are using in that case would point to a deleted image instead of the desired data.
to avoid this in the future, don't throw around with references to data that is not under the threads control.