LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing image parameters while displaying on second monitor

Hi,
 
I am trying to display an image I generate on a secondary monitor. The image is a 1280x760 and so is the monitor so it is very important that nothing other than the image is being displayed on the monitor. I read TonP's forum on this that was helpful (http://forums.ni.com/ni/board/message?board.id=170&thread.id=256925&view=by_date_ascending&page=1) but I am also hoping to be able to change parameters that create the image from my main monitor while the image is displayed on the secondary screen.
 
I have tried doing this a few different ways but the only times I successfully change the image parameters the labview header/tool/window bar pops back up. I need to find a way to keep only the image displayed after I change the image (and preferably nothing in between changes). Ideally, I will have one program running on my main monitor to control the image on the secondary monitor. I should mention that I won't be able to see the second monitor so I need to know it is properly framed and does not have risk of moving.  I will post my current block diagram below, it shows (at the top) the parameters going into my program that produces an image to be displayed on the secondary monitor. Below that is how I had been displaying the image using a front panel property node, though that way doesnt allow for parameter changes...
 
Thank you for you help,
-KR
 
LV 8.2.1 Full
 
 
0 Kudos
Message 1 of 10
(5,738 Views)

Hi K.Rock,

you use one pc with two monitors, right? What about using two vi´s, one shows the image and the other is to change the parameters?

Mike

Message 2 of 10
(5,719 Views)

Hi Mike, thanks for your response,

To answer your questions, yes I use one PC with two monitors. The second monitor I will be using is actually a hologram decive that I will not be able to see but for now I have a small monitor in its place just to verify what is being displayed. It is my goal to display the parameter controls on the monitor I can see and then send only the image to be displayed on the secondary. Could you elaborate on your solution looking at the code I have provided you?.... 

I have tried using two VIs, one controls the image parameters, the other displays the front panel in the top left of the other monitor- showing only the image (see my code in above post). Trouble is that I cant seem to change the parameters without having the labview window pop back up around the image (the window with labview menus and controls). I need to find a way to leave the display program running, freezing the image on the second monitor in place yet allowing me to make changes to the image. Maybe I am not making my problem clear? I seem to be able to do all the pieces needed individually but I can't get it to run all at once smoothly...

Also, every now and again I check the image in the top left corner of the second monitor and I can see the frame/border around it as you would see on the front panel. I need to find a way to eliminate that as the image itself is as large as my display device so I have no room for a border etc. This will also interfere with my laser... Is there a way to display only the image data without having to display the front panel and then hide everything but the image- as I have been doing?  

It would be ideal if I could run one VI where the front panel displays my parameters to change while the image displays on the second monitor. Is this possible? or using two VIs can I essentially accomplish this? I have all the programming done I really just need to find the right way of running/incorporating them together.

Thank you for your help,

Kevin



Message Edited by K.Rock on 08-06-2008 09:35 AM
0 Kudos
Message 3 of 10
(5,704 Views)
Hi Kevin,
if you have two vi´s, then use the "Open vi reference" function to start both vi´s. They run independently then and you can use the reference from one to control the other one. Use the invoke nodes to change control values or send the changes with a queue. See some shipped architecture to find the one you need.
Hide the title bar to make the window unmoveable.
 
Hope it helps.
Mike


Message Edited by MikeS81 on 08-06-2008 04:38 PM
0 Kudos
Message 4 of 10
(5,699 Views)
Hi Mike,
 
Thanks for your timely response,
 
I tried your recommendation and I still couldn't control the parameters. Below is what I got out of what you told me, I should add that I am somewhat new to labview and have never used any of these invoke or property nodes before so please bear with me:
 
 
Almost there,
Kevin
0 Kudos
Message 5 of 10
(5,683 Views)
Sorry I meant to attach my VI before to make it easier for you incase you want to just edit it, here it is
-KR


Message Edited by K.Rock on 08-06-2008 10:59 AM
0 Kudos
Message 6 of 10
(5,676 Views)
Hi All,
 
I just feel obligated to answer my own post and let you know I figured this problem out. The right combination was to first open the VI that produces the images and run it continuously. Then I can run the display program using the invoke nodes to change parameters of the image it displays. With out the original program running this was not possible. I also added a feature to preview what the new image looks on the primary display. My code is in the link below. I hope this helps someone in the future looking to display + control only the image on a secondary display. 
 
Thanks again Mike,
 
KR
0 Kudos
Message 7 of 10
(5,650 Views)

I don't know if repling to this old topic is ok, but i got same problem, but need some additional help.

This helped me a lot but i'm not sure about 1 thing:

 

I'm doing 3D spacial projector and need to project images on moving mirror. I want to have image-only on my 2nd monitor (no additional bars, etc.) which will be a projector. I generate images in 2 ways, because I need both (so I got 2 different VIs with different image creation process):

1) I load 3 images from disk with Path Control and display them in time intervals.

2) I generate circle or  square with Draw functions from LabView.

 

This topic is really helpful, but it doesn't elaborate on method of image creation. I would like to know if this "image creation VI" got some front panel or there is only this picture on front pannel. I don't know how to reproduce this myself. If oryginal poster is still here or someone knows how to do this.

 

I'm using LV 2011

0 Kudos
Message 8 of 10
(5,131 Views)

I did some work since last post, and still got some minor issues. I recreated block diagram shown in the K Rock's last post which in in my picture-generating VI. In the second VI (which is picture-displaying) i just have while loop with picture control as input, picture indicator as output and input stop button. 2nd VI keeps displaying on second monitor, but i don't know how to adjust picture indicator to be displayed in the center of the screen. I'm still searching through the forums, thou.

0 Kudos
Message 9 of 10
(5,105 Views)

Hi Chudy,

 

Thank you for posting on the forums! I noticed you haven't received any replies to your question, and I wanted to suggest that you may want to create a new thread, since it seems that this one is old. There are many LabVIEW enthusiasts who monitor the new threads to see if they can lend a hand, but they don't tend to look at old threads very much. 

 

Just a tip!

 

Regards,

Nathan S.
Applications Engineer
National Instruments
0 Kudos
Message 10 of 10
(5,096 Views)