LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO SEE AN IMAGE SPLITTED IN 2

Solved!
Go to solution
THIS VI IS SUPPOSED TO HAVE A VIDEO INPUT THEN CONVERT IT INTO AN ARRAY TO THEN DIVIDED THIS IMAGE IN 2. THE FIRST HALF IS SUPPOSED TO SHOW THE RIGHT SIDE AND THE OTHER HALF THE LEFT SIDE OF THE VIDEO. HOWEVER I HAVE A PROBLEM DISPLAYING BOTH AT THE SAME TIME. IF I CONNECT ONE AT THE TIME IT WILL WORK BUT IF I CONNECT THOSE 2 TO THE SOURCE IMAGE AT THE SAME TIME, I WILL ONLY SEE ONE SIDE EITHER RIGHT OR LEFT SIDE. CAN ANYONE  OFFER A HAND? PLEASE.
0 Kudos
Message 1 of 14
(3,841 Views)
Solution
Accepted by topic author NEVCH

Check your CAPS LOCK key.  It seems you have something wedged under it causing it to stick on.

 

In order to work with two copies of your original image, you are going to have to use the IMAQ Copy VI.

Message 2 of 14
(3,838 Views)
I tried to do what you suggested but I didn't work, I still get the same result as before. I don't know what else to do.
0 Kudos
Message 3 of 14
(3,810 Views)
Then post your latest VI.
0 Kudos
Message 4 of 14
(3,806 Views)
While diaplaying you will need to define invidual buffers (IMG DST) by connecting imaq create with different names. I am not able to view your vi as i am still stuck with 8.0. So if you can then post it for 8.0/post a screenshot.
0 Kudos
Message 5 of 14
(3,801 Views)
As you can see from my vi, I am pretty new doing this. I actually have 2 weeks and half trying to learn solo. Hopefully you can see where I am making the mistake that probably is very silly. Thanks in advance.
0 Kudos
Message 6 of 14
(3,796 Views)
Here is a picture. This vi is actually inside a for loop, but that is the most important part. 
0 Kudos
Message 7 of 14
(3,795 Views)
You have connecte a img control directly to image dst in img copy. It should be a reference of an image. Wire a proper bufferred (imaq create) reference.
0 Kudos
Message 8 of 14
(3,791 Views)

Hi NEVCH,

 

apart from your IMAQ problem:

There is a ArrayMinMax function that will do what your two big double nested for loops at the right do Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 14
(3,782 Views)

In one of my many attempts, I wired an IMAQ create to the Img Dst of the IMAQ while wiring the input of the IMAQ create to my image output that is labeled as Image 300x300 in my vi. It didn't work either. I still get to see only one side of the picture in both image outputs.

0 Kudos
Message 10 of 14
(3,768 Views)