07-02-2019 10:36 PM
Dear all,
can you give me some advice, thank you.
I am try a program, define or creat 5 different imaq, use to dispay 5 pictures result, in the process, i input different contents to every image variable, but the 5 image variable display same picture content.
my program chart:
i use a sub vi to define or creat 5 different imaqs to image variable, use the main vi to call this define sub vi and transfer read picture to main vi...
thannk you for your support.
Eric
07-02-2019 11:26 PM - edited 07-02-2019 11:31 PM
My guess is that you are grabbing 5 images but putting them in the same IMAQ reference.
But that is only a guess since I can't see your VI that shows how you actually programmed it.
Attach your VI to your post next time and you might be able to get more specific help.
07-02-2019 11:51 PM - edited 07-02-2019 11:51 PM
Whatever RavensFan says that's correct and it might have same IMAQ memory reference for all.
Create different Image buffer name for each Image and this page may help you https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019M8YSAU&l=en-IN
07-04-2019 09:33 PM
We can guess which of several dozen "mistakes" you made in your code, or you can post your code (be sure to post the actual .VI file, not a partial picture of the Block Diagram) and we can not only help you find what is wrong, but explain what you need to do (so that you learn how IMAQdx works). Your choice -- post your code and get a quick and appropriate answer, or put up with our guesses ...
Bob Schor
07-05-2019 02:59 AM
thank you for your support.
and i use your advice to try it, creat imaq and define different name, use this way can avoid this issue.
I get and understand this information, it is that labvire program creat image and define different name like as setup a different buffer size for every different image.
thank you.