How to convert U32 value obtained from color control of front panel to float(SGL) for use with IMAQ Draw ?.

I am trying to get user color inputs from front panel and use it in IMAQ Draw. I need to draw an oval of a certain color in a background of another color. Both these color values are user input. The problem is IMAQ Draw requires SGL color value and the color controls of front panel give U32. I have tried conversion VI's which hasn't worked. HELP !!!

Jake,
I think the color control can be wired directly to the input, but I am not positive. I don't know of any color conversions that would help.
Make sure your image is a color image. You can't draw colors on a grayscale image.
You might want to consider using overlays, which appear on top of the image but are not part of the image.
Bruce
Bruce Ammons
Ammons Engineering

Similar Messages

  • How to convert text values acceses from jsp page into an xml file?

    /* this is the jsp page which i want to convert it into an xml file
    please help me , i thank in advance*/
    <html>
    <head>
    <title> xml test</title>
    </head>
    <body>
    <form action="testxml2.jsp" method = post>
    <ul>
    <li>
    <ul>NAME:
    <br>
    <li>First Name:<INPUT NAME="firstName" TYPE=text SIZE=20><br>
    <li>Middle Name:<INPUT NAME="middlename" TYPE=text SIZE=20><br>
    <li>Last Name:<INPUT NAME="lastname" TYPE=text SIZE=20><br>
    <li>t Name:<INPUT NAME="tname" TYPE=text SIZE=20><br>
    </ul>
    <br>
    <ul>Role:</b><p><input type="radio" name="role" value="buyer">Buyer<p>
              <input type="radio" name="role" value="seller">Seller<p>
              <input type="radio" name="role" value="thirdparty">Third Party<p>
    </ul>
    <ul>
    Qualification:<br>
    <li>Highest Degree:<INPUT NAME="degree" TYPE=text SIZE=20><br>
    <li>Percentage: <INPUT NAME="percentage" TYPE=text SIZE=20><br>
    </ul>
    <ul> Adress:
    <li> streetName:<INPUT NAME="street" TYPE=text SIZE=20><br>
    <li>cityName:<INPUT NAME="city" TYPE=text SIZE=20><br>
    <li>StateName:<INPUT NAME="state" TYPE=text SIZE=20><br>
    </ul>
    </ul>
    <b>
    <INPUT TYPE=SUBMIT VALUE="ENTER" >
    </body>
    </html>

    hi there,
    In the MCV there is a part about struts, this is a descent way to do this.
    how to do it:
    create an actionform containing all the properties of the page.
    then when you submit your form use an method in the actionforms (that you have written) that makes sets your data in a xml file.
    this works very quickely and i use it in production...
    you can choose if you want the xml to generaded hard coded or via a parser.
    greetings

  • How do I remove extra profiles from color mangement in Print Module?

    How do I remove extra profiles from color mangement in Print Module?

    If you're talking about the "short list" then click on other and then uncheck the ones that you don't want displayed. If you're talking about the long list, then you will have to browse to the folder containing the profiles and then delete them manually.

  • Can u tell me how to convert int value in to string

    hi to all, can u tell me how to convert int value in to string.

    hi to all, can u tell me how to convert int value in
    to string.Even this way:
    int number = 155;
    String mystring = ""+155;
    [\code]                                                                                                                                                                                                                                                                                               

  • How to convert localization strings returned from RIDC calls?

    I'm using the RIDC API to extract some data from UCM, but I'm running into issues where some values returned from service calls are the actual localization strings ("wwDocTypeDesc_Application" for example), not their translated values.
    Is there a service or method I can use to translate the strings? Something that evaluates IdocScript perhaps?

    Hey Mike,
    Please refer the following link.
    http://www.corecontentonly.com/index.php/2008/09/16/executing-idocscript-from-java-page-merger/
    looks like customization is the way forward from here. Just create a custom service, call your default ucm service from withing and before you pass on results fetch the required variable and send back.
    I know this is something that should have been taken care be them.
    cheers,
    swapnil

  • How do you transfer the content from an iPhone to a PC? I have to use a PC for a while and don't know how to put my stuff on to there from my phone

    How do you transfer the content from an iPhone to a PC? I have to use a PC for a while and don't know how to put my stuff on to there from my phone

    If you're talking about music and movies an i-device was not designed for unique storage of media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing music and movies is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred from a device to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software.  See this document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    Hi 
    CAC is System.ConsolidatorCondition condition detection module used to consolidate the monitoring i.e. you can generate an alert on multiple occurrence of issues instituted of generating single alert for issue.
    refer below link for more information
    http://msdn.microsoft.com/en-us/library/ee809324.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/20301.how-to-add-consolidation-for-url-monitoring-in-scom-20072012.aspx
    Regards
    sridhar v

  • How long should does it take from  the time you turn it on till you can use it

    how long should does it take from  the time you turn it on till you can use it...is 35 seconds normal

    kevinfromrome wrote:
    how long should does it take from  the time you turn it on till you can use it...is 35 seconds normal
    Yes.

  • How do I export a video from After Effects CC to an iPhone? I'm using a PC.

    How do I export a video from After Effects CC to an iPhone? I'm using a PC.

    Short answer, there is no simple "export to iPhone", but if you just want to have a movie that you can watch on you iPhone, just send yourself an attachment via email (other than .avi) and save it to your phone.
    You can also use dropbox as an option.
    With an app, you could mount your iPhone as an external drive. (check out iExplorer)
    Also: check AME for h264 variations before you send it to yourself.  There are presets for iPhone compression.

  • Can PowerPC applications be converted for use with Lion OSX? If so, how?

    Can PowerPC applications be converted for use with Lion OSX? Ifso, how?

    Three workarounds:
    1.  If your Mac supports it, partition your internal hard drive or use an external drive and install Snow Leopard.  Then you can "dual-boot" into Snow Leopard when you want to run your PowerPC applications.
    2.  Upgrade and/or find alternative replacements for your PPC software that run without Rosetta.
    3.  Install Snow Leopard (with Rosetta) into Parallels 7 in Lion:
                             [click on images to enlarge]
    Or in Mountain Lion:
    Full Snow Leopard installation instructions into Parallels 7 are here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • How can i put my songs from my iphone to itunes on my laptop without replacing it with the content of the music on my laptop?

    how can i put my songs from my iphone to itunes on my laptop without replacing it with the content of the music on my laptop?

    It has always been very basic to always maintain a backup copy of your computer.
    Have you failed to do this?
    If so, not good, then you may be able to purchase third party software to extract the music from your iphone.  This is not supported by Apple.

  • Hi, how to transform a video file from Mark 5D iii into MVI_2500-Apple ProRes 422 for Progressive material.mov

    Hi, how to transform a video file from Mark 5D iii into MVI_2500-Apple ProRes 422 for Progressive material.mov ?
    Is it the best way to work with videos in Final Cut Pro?
    Thank you!
    Anastasia

    Is your 5D media progressive from the camera? Simply use the optimize option when you import into FCP.

  • Why all the domain values disappeared from ESB control after chinese map?

    hi,
    when I creating a domain value in chinese in the ESB control and confirm it, After I restart the
    soa service, all the domain values that I created before and the one in chinese disappeared.
    Although the domain values in english desappeared, in the code they are still can be used.
    But the domain values in chinese can not be used.
    All the maps(both english and chinese ) are in DVM Repository.
    Can you help me ??? Why all the domain values disappeared from ESB control ?? thanks
    wanglinli

    two collegues of mine ran into a similiar problem. Their ESB console seemed empty as well.Until one of them let the console open for about 10 minutes and the services/system re-appeared.
    Indicating that when the services do not show up could also be caused by a serious performance glitch or the services are calling external systems which time out.
    Another option is to wait for a few minutes and see if your services etc show up again.
    I don't know where this performance degradation is coming from though. The only thing I noticed is that the ORAESB schema ( advanced install ) is installing al of its objects in the USERS tablespace and that most ( almost all ) tables do not have any indexes / pk / fk's on them.
    Maybe one or two indexes could speed up the ESB repository considerably.
    Dave, In the upcoming 10.1.3.3 release is the repository in any way altered? Default tablespace? PK/FK and/or extra indices on certain tables/columns?

  • HT4873 How i can recover deleted files from icloud,,I had a backup copy on iCloud for whatsapp application and I lost it,,I need bring it back what I have to do

    How i can recover deleted files from icloud,,I had a backup copy on iCloud for whatsapp application and I lost it,,I need bring it back what I have to do

    You can't download pictures from iCloud by logging into icloud.com.  If you deleted pictures from camera roll AND photo stream, the only possibility is preforming a restore from an iCloud backup, assuming the backup has the pictures in it.  (Many users have been unable to restore and get back their pictures.)
    If the restore doesn't have all the pictures, then they are gone.
    In the future, use photo stream to sync photos from an iPhone to a computer, then copy the photos on the computer from the photo stream album into a permanent album.  Photo stream pics stay there only for 30 days, and only up to 1000 photos are stored.  Don't use photo stream as a storage medium, it's only for copying photos from one device to another.  Always copy (either via USB cable or photo stream) to a computer and then move to an album.

Maybe you are looking for