LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use Access database to Load a Pict Ring

All,

 

Is it possible to load a Pict Ring with a *.png file that I access from a database?

 

I believe there are two taks being described:

 

Task 1 is to get from the database the name of the *.png file

Task 2 is to take that file and use it to populate a Pict Ring.

 

I can load the Pict Ring from the clipboard, but the customer wants to be able to load different images.

 

LabView 2011 RT

 

can it be done?

 

Thanks,

 

Carmine

 

0 Kudos
Message 1 of 2
(2,484 Views)

Hi Carmine,

 

According to the Help file for Picture Rings, you must copy a picture to the clipboard to bring it into a Picture Ring. 

 

LabVIEW 2011 Help: https://www.ni.com/docs/en-US/bundle/labview/page/adding-picture-items-to-ring-controls.html

 

However, I did find this example that programmatically puts a picture on a clipboard. It may be a good starting place for your application.

 

Example: https://forums.ni.com/t5/Example-Code/Export-A-Screenshot-Of-A-Graph-Chart-Front-Panel-To-The/ta-p/3...

 

Good luck on your project!

 

Regards,

 

Alexandra Valiton

 

 

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,454 Views)