LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Image display palette while running

I can see the palette type in property of image display reference...but i cant find any method to set it.
(The problem is that, in Labview right click on image open a menu with palette selection visible. But in EXE apllication there is no extended menu. so i want to change the paltte through control button)
 
Tnx for help
HaD
0 Kudos
Message 1 of 6
(3,760 Views)
Hi HaD,

I have no idea what you mean...
Sorry but could you post an image of the property you have.

And what is the 'Image display palette'

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 6
(3,750 Views)
I mean where you choose the image display control pallete type (Grayscale, Binary,Gradient,Temperature,UserDefined)
0 Kudos
Message 3 of 6
(3,746 Views)
Sorry I also don't understand. Are you talking about a standard LabVIEW feature or do you possibly have the vision toolkit or similar?
0 Kudos
Message 4 of 6
(3,741 Views)
I have Labview 8 and IMAQ Vision 8
 
I think that the Image Display control belong to the IMAQ Vision.
Now, after you add the image display control on the front panel, if u rightclick, ull c the option to select Palette type. And i want to do this selection programatically with labview.
0 Kudos
Message 5 of 6
(3,743 Views)

Hello HaD,

The image control is installed with either the Vision Development Module or the NI-IMAQ driver, and is not a standard component found in LabVIEW.  If you have questions about the image display control or vision functions it would be better to post in the Machine Vision forum:

http://forums.ni.com/ni/board?board.id=200

In regards to your question, this menu is not available as a runtime property, and therefore the user of program will not be able to set it directly through the control.  Instead, you will need to allow the user to set it programmatically in LabVIEW by use of a property node. 

To create this property node, right-click on the image display icon on your program's block diagram, and select:

Create » Property Node » Palette » Palette Type.

You will then be able to change the value of this property by right-clicking on the property node icon and selecting "Change All To Write".  To create a control on the front panel that the user change at runtime, right-click on the “Palette Type” input, select:

Create » Control

If you have any questions about the application architecture required to implement this design, please continue to post in the LabVIEW forum.

 

I hope this helps.

 

 

 

Best regards,

 

Jasper

Message 6 of 6
(3,695 Views)