NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Selp
Posts: 7
0 Kudos

Changing ROI color in IMAQ Object Count

[ Edited ]

I would like to change the bounding red box that is defaulted in "IMAQ Object Count" VI. To a Green in color.

As I am doing a pass or fail inspection, red usually denotes faulty or not good as supposed to green were it could help to a more visual representation of pass or fail.

 

Thanks a lot

 

Active Participant
Andrey_Dmitriev
Posts: 1,461

Re: Changing ROI color in IMAQ Object Count

This color defined in Overlay Results (Blob).vi which is called from IMAQ Count Object - this is color box named "Center Color" and red is "hard coded".

You can just change this color and make this new color value as default, the save SubVI. But its not a good idea to change VI in vi.lib. Better way - make your own copy of IMAQ Count Object and Overlay Results and change these SubVIs as you want.

 

Andrey.

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page