LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Driving PC display as a 'lamp' at frequency approaching display frame rate.

I am writing application to drive PC display as a �lamp�, switching it off and on. The trick is I need to do it on 10msec time scale approaching display frame rate. Basically LabVIEW has to set display frame by frame. Display color should be set by RGB. I tried changing colors of front panel and found it too slow. Any help is greatly appreciated.
0 Kudos
Message 1 of 4
(3,141 Views)
Hello yes,

Changing the color of the front panel involves a lot of overhead, and will be very slow, as you are seeing. Using a picture control will be a lot faster, but I am afraid that you will see a lot of flicker. I�ve attached a sample program to test how fast this can happen.

LabVIEW is not set up to efficiently control images on the screen directly. You may have to look into your specific video card driver properties. Perhaps you can manipulate it directly using a driver dll.

If none of these suggestions help, or if I�m not correctly understanding your issue, please reply with comments or answers to the discussion above and any additional information that may help, and I�ll be happy to look further into it.

Have a nice day!

Robert
Mortensen
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,141 Views)

Robert, I have written a similar application and find as with yours that a 1 inch wide white band brielfy appears as the images are loaded. The images are simply black backgrounds with white wireframe faces.  

 

My TFT is set to 75 Hz, but the band appears even when the images are changing at a few Hz. I appreciate this is approximate because LabVIEW is doing things behind the scenes, but I would expect the images to load clearly!

 

Any ideas?

 

Thanks

Graham

0 Kudos
Message 3 of 4
(2,852 Views)

I don't have any particular answers to your question, but when a thread is 5 years old it is a really good idea to start a new thread. The original coorespondents are unlikely to notice the question, may have moved on to new fields, Robert last having posted in 2007.

 

 

Message Edited by LV_Pro on 04-01-2009 10:23 AM
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 4
(2,840 Views)