Randomized Colors are Too Dark. Questions on Color Boxes

Hey all,
I am attempting to change the color of the plots on a mixed signal
graph remotely using the "color box" control which works fine; however, I
am also setting the color boxes to a random color when the program
first starts up which is where my problem lies.
What I currently am doing is that I have a random number generator
pumping out a number after which I multiply the number by 10000000, just
to give me some colors brighter than black, and then I have that wired up to
the color box control I am setting the random color on. The problem with
this is that although it does produce some decent colors some of the
colors produced are quite dark and pretty hard to see on the mixed
signal graph.
I could make the graph background a different color if I have to in
order to see a majority of the colors that come out, but I would much
rather just have the colors come out more on the bright and colorful
side.
So I have two questions for you guys and gals:
1) How do the colors of the colorbox get determined using the unsigned 32 int?
One such example of why I am confused is that the number that I have
going in is 5726420 from the random number generator (+ being
multiplied), but on the colorbox control the RGB value is R:87 G:96
B:212. Why is that?
2) Is there any kind of algorithm out there that someone has done
that can produce values randomly that will give kind of neony colors? or
anything semi-bright for that matter?
Any help is very much appreciated!
Ionized
Solved!
Go to Solution.

Use "RGB to color" from three random U8 (o..255) values to generate a color. (double click it to open the VI to understand the structure of the color data type )
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • HT5557 I highlight and study e pubs in ibooks. Now with the up date the color coding that I've be using are too dark and no way to adjust opaqueness. (SHOULD ADD THIS.) Is the an app to by to add to ibooks????

    I highlight and study e pubs in ibooks. Now with the up date the color highlighters that I've be using are too dark and no way to adjust opaqueness. (YOU SHOULD ADD THIS.) Is the an app to by to add to ibooks???? Or an app to but to have other highlighter colors and be able to use the in ibooks???

    I highlight and study e pubs in ibooks. Now with the up date the color highlighters that I've be using are too dark and no way to adjust opaqueness. (YOU SHOULD ADD THIS.) Is the an app to by to add to ibooks???? Or an app to but to have other highlighter colors and be able to use the in ibooks???

  • Change background color ? - Too dark !

    Is it possible to change the colors of the interface in LR 1.3 ?
    I think the grey are too dark and makes it hard to see.
    I think I can changes it in the "edit - preferences - interface" menu,
    but I can't seems to make the background lighter.
    Can someone help ?

    >Is it possible to change the colors of the interface in LR 1.3 ?
    I think the grey are too dark and makes it hard to see.
    The changes that you can make are only for the background of the photograph that you are working on and how the screen looks in "Lights Out" Mode.
    >I think I can changes it in the "edit - preferences - interface" menu,
    but I can't seems to make the background lighter.
    That is where you change the background colour. You will see the different background "colour" (black, greys, white) in two places:
    If you goto Lights-Out mode (i.e dim or hide the Lightroom panels and menus). Repeatedly press L key to cycle through different Lights-out settings.
    The Background colour setting determines the background shown behind your image. You can see this in Library Loupe View or in Develop module.
    If you are looking to change the colours of the Lightroom interface panels, then you are out-of-luck.

  • Prints are too dark with CS4

    Hi
    I appreciate that this topic has been covered before but I cannot seem to find a resolution.
    My prints are too dark when I print from CS4 with my Epson Stylus Photo 2100 printer(2200 in the USA).
    I am using Windows Vista 32bit service pack 2.
    My monitor has been calibrated correctly (brightness lever is 117cd/m2)
    I am using genuine Epson Inks and paper (Epson premium semi gloss photo paper)
    I have the latest drivers installed.
    My workflow is Adobe RGB (1998)
    I have turned off color management in the printer and selected the correct paper type etc.
    In Photoshop I have selected Photoshop to color manage my prints and selected the correct
    Epson profile for my paper/ink.
    Black point compensation is on, and the rendering intent is relative colorimetric.
    I am sure that somehow my prints are being double profiled but I do
    not know how to prevent it.
    Has any one found a working solution to this problem/
    Any help greatly appreciated.
    Dave

    I also ran Disk Utility to repair permissions. The first time through there were maybe 100 repairs made to the AirPort Utility.app. I don't even use AirPort, so I don't understand that.
    I've re-run it two more times and both times kept getting this message:
    2010-04-20 19:22:17 -0500: Repairing permissions for “iMac HD”
    2010-04-20 19:28:05 -0500: Permissions differ on "usr/share/derby", should be drwxr-xr-x , they are lrwxr-xr-x .
    2010-04-20 19:28:05 -0500: Repaired "usr/share/derby".
    2010-04-20 19:28:24 -0500: Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
    2010-04-20 19:29:08 -0500:
    2010-04-20 19:29:08 -0500: Permissions repair complete
    2010-04-20 19:29:08 -0500:
    2010-04-20 19:29:08 -0500:
    Do I need to do anything else to fix that file?
    Also, all three times I've repaired permissions it's taken over 5 minutes or more to complete. I've never had it take that long.
    Message was edited by: William M.

  • Printed pictures are too dark

    My pictures printed from Iphoto 5 are too dark, I have tried my home printer, kodak, and Fuji. The results are the identical. However, when I import the same pictures in Photoshop CS they print just fine.
    I am now having the Aperture 2.1.1 "trial" and i have the same exact problem with my home printer. In addition, some of the pictures (not all of them)are not sharp, they seem out of focus. I have exported the same pictures to my desktop and printed them with "Graphic Converter". The pictures are much better, but i still get a few which seem to be out of focus. I then took the same desktop images and used Photoshop Elements 6 ( also on trial)to print them. Photoshop is printing the pictures correctly (photoshop elements 6 does not have a printing profile for Mac's and the printing is managed by the printer's HP software). I must be missing a printer setting when using the Apple programs. My Aperture colorsync setting is set to "HP D7300 premium plus".I have a 1.8 Ghz G5, OSX 10.4.11, and an HP D7360 printer. Can anyone give me an idea of what i am doing wrong?

    Hello Donna,
    I use the printer settings:
    roll paper
    premium semigloss photo paper /250)
    color: color
    advanced settings: 1440dpi with no other boxes checked
    I turn off color management
    in LR the Profile I made for this special paper/printer is selected.
    It's the latest 9800 printer driver, downloaded just a few days ago.
    I came across the endless threads on maybe the same subject only some hours ago. (
    Sean McCormack, "Printing Problems in Lightroom" #70, 26 Feb 2007 6:19 pm) Tried the trick with chosing the 9800 as default printer, but it didn't help. The printer settings tell me the profile used is: *systemstandard* (that's german: some sort of default (standard) of the system. Maybe it's the same as the "generic RGB profile" mentioned, but I'm not sure.
    I also print from LR on a G5 to an Epson Stylus Pro 3800 via USB with absolutely no problems.
    Here I want to print from Lightroom on an Intel Duo Core to a networked printer, the 9800.
    I'd LOVE first of all to get a somehow *canonical* statement that printing on a networked printer from Lightroom is possible, Yes or No. (As I said before, it is no problem from PS CS3)
    If the common experience is, that one cannot print from LR to a networked (Epson pro) printer, then I'll surely not go on reading tons of discussions to find the needle in the hay.
    @ Donna: I'd be very grateful for any suggestions!
    @ Andreas: certainly the printer driver on the networked Mac G4 the Epson 9800 is attached to is older than the one on my Intel Mac. Is that what you mean? I'll try to fix that.
    @ dyp: the profile shown in the printer setting is: *systemstandard* (system default, in german). Looked up Color Sync in the library, I find the profiles folder, but nothing to chose any profile as my default. Where do you do that in Color Sync?
    Thank you all a lot for helping!
    Johann

  • Exported black/white pictures are too dark

    Hi,
    My exported black and white pictures are too dark. I checked the pictures and the exif info contains information about the color profile RGB and sRGB (see below), but still the browsers (firefox and safari) ignore this and display the pictures way to dark. Is there a way to fix this? firefox has color management enabled and safari probably too. As for firefox: there are probably users that do not have color management enabled and it should work for them as well.
    Could the problems be due to the reduced 8bit color depth of jpeg?
    Any suggestions are highly welcome.
    Thanks!
    Color Space Data           
    : RGB
    Profile Connection Space   
    : XYZ
    Profile Date Time          
    : 1998:02:09 06:49:00
    Profile File Signature     
    : acsp
    Primary Platform           
    : Microsoft Corporation
    CMM Flags                  
    : Not Embedded, Independent
    Device Manufacturer        
    : IEC
    Device Model               
    : sRGB
    Device Attributes          
    : Reflective, Glossy, Positive, Color
    Rendering Intent           
    : Perceptual
    Connection Space Illuminant
    : 0.9642 1 0.82491
    Profile Creator            
    : HP
    Profile ID                 
    : 0
    Profile Copyright          
    : Copyright (c) 1998 Hewlett-Packard Company
    Profile Description        
    : sRGB IEC61966-2.1
    Media White Point          
    : 0.95045 1 1.08905
    Media Black Point          
    : 0 0 0
    Red Matrix Column          
    : 0.43607 0.22249 0.01392
    Green Matrix Column        
    : 0.38515 0.71687 0.09708
    Blue Matrix Column         
    : 0.14307 0.06061 0.7141
    Device Mfg Desc            
    : IEC http://www.iec.ch
    Device Model Desc          
    : IEC 61966-2.1 Default RGB colour space - sRGB
    Viewing Cond Desc          
    : Reference Viewing Condition in IEC61966-2.1

    Thanks a lot for helping me to track this down. Looking at EXIF information with EXIF tool I get:
    Profile CMM Type           
    : Lino
    Profile Version            
    : 2.1.0
    Profile Class              
    : Display Device Profile
    Color Space Data           
    : RGB
    Profile Connection Space   
    : XYZ
    Profile Date Time          
    : 1998:02:09 06:49:00
    Profile File Signature     
    : acsp
    Primary Platform           
    : Microsoft Corporation
    CMM Flags                  
    : Not Embedded, Independent
    Device Manufacturer        
    : IEC
    Device Model               
    : sRGB
    Device Attributes          
    : Reflective, Glossy, Positive, Color
    Rendering Intent           
    : Perceptual
    Connection Space Illuminant
    : 0.9642 1 0.82491
    Profile Creator            
    : HP
    Profile ID                 
    : 0
    Profile Copyright          
    : Copyright (c) 1998 Hewlett-Packard Company
    Profile Description        
    : sRGB IEC61966-2.1
    Media White Point          
    : 0.95045 1 1.08905
    Media Black Point          
    : 0 0 0
    Red Matrix Column          
    : 0.43607 0.22249 0.01392
    Green Matrix Column        
    : 0.38515 0.71687 0.09708
    Blue Matrix Column         
    : 0.14307 0.06061 0.7141
    Device Mfg Desc            
    : IEC http://www.iec.ch
    Device Model Desc          
    : IEC 61966-2.1 Default RGB colour space - sRGB
    Viewing Cond Desc          
    : Reference Viewing Condition in IEC61966-2.1
    Viewing Cond Illuminant    
    : 19.6445 20.3718 16.8089
    Viewing Cond Surround      
    : 3.92889 4.07439 3.36179
    Viewing Cond Illuminant Type
    : D50
    Luminance                  
    : 76.03647 80 87.12462
    Measurement Observer       
    : CIE 1931
    Measurement Backing        
    : 0 0 0
    Measurement Geometry       
    : Unknown (0)
    Measurement Flare          
    : 0.999%
    Measurement Illuminant     
    : D65
    Technology                 
    : Cathode Ray Tube Display
    Red Tone Reproduction Curve
    : (Binary data 2060 bytes, use -b option to extract)
    Green Tone Reproduction Curve   : (Binary data 2060 bytes, use -b option to extract)
    Blue Tone Reproduction Curve
    : (Binary data 2060 bytes, use -b option to extract)
    XMP Toolkit                
    : Image::ExifTool 9.53
    Doesn't this include the profile? I use Metadata wrangler and creative commons and morgify as plugins, but these shouldn't interfere with the profile, should they? I also experimented with disabling the metadata wrangler (by clicking disable), but this did not have any effect.
    Thanks a lot!
    Stefan

  • Photos are too dark

    Hi!  I finally decided to switch to Apple and purchased an iMac.  I take a lot of photos and occasionally get paid for doing so.  I used Photoshop on my old computer, so of course I purchased the Mac version.  The problem I am having is that all my photos are too dark, too much contrast.  They look 'normal' on my old PC.  Any suggestions?
    thanks in advance
    ~ImZaxMom~

    What color profile do your photos have?  If they have the Adobe RGB color profile that can cause them to be darker than the standard camera RGB, Apple RGB or sRGB IECD61966-1 profiles.  It's even more evident when printing with inkjet printers.
    You can calibrate your display via the System/Displays/Color preference pane or pick a standard color profile for the display that might lighten up what you see in the photos.

  • Photos received on Facebook are too dark on iPad

    Facebook photos on my Mac look fine but are too dark on my iPad.  Can I change any settings on my iPad?

    This can be caused by a problem with the color profile for your display monitor or color profiles embedded in images.<br />
    You can disable color management to test that.<br />
    You can set the pref gfx.color_management.mode to 0 on the about:config page to disable Color Management.<br />
    You need to close and restart Firefox to make the change effective.<br />
    See http://kb.mozillazine.org/gfx.color_management.mode<br />
    See https://developer.mozilla.org/En/ICC_color_correction_in_Firefox

  • Photos received in Facebook are too dark

    Photos posted in albums on Facebook by friends are often too dark to identify the people. However, other people can go on Facebook and view the same album on their computers and they are fine. I use Firefox on a Mac OS X, version 10.4.11.
    It happens frequently, but not with every photo in their album. Some will be OK and others are dark, but it is only on my computer that some are too dark.

    This can be caused by a problem with the color profile for your display monitor or color profiles embedded in images.<br />
    You can disable color management to test that.<br />
    You can set the pref gfx.color_management.mode to 0 on the about:config page to disable Color Management.<br />
    You need to close and restart Firefox to make the change effective.<br />
    See http://kb.mozillazine.org/gfx.color_management.mode<br />
    See https://developer.mozilla.org/En/ICC_color_correction_in_Firefox

  • Videos are too dark to watch on Macbook pro?

    Ever since I got my Macbook pro a year ago, videos are too dark to watch at any setting.

    Hi Paul,
    Sorry for the late answer. I live in Europe, so that's why I was asleep ;-)
    Basically the command tells your computer to unhide everything on your Desktop, so if you don't have a Desktop, something is definitely wrong.
    My guess is that there's something wrong with your account on that computer. You can check that by creating a new account in System Preferences (click on Accounts, click the lock in the bottom-left corner and then click the "+" button just above).
    Then try mounting "some" media and see if it appears on the new user's Desktop. If not, I would highly recommend to reinstall Mac OS X.
    HTH,
    Jasper.

  • Streaming Video, iTunes rentals are too dark.  Help!

    Using a 2013 Macbook Air, pretty much fully loaded.
    I'm noticing that movies purchased on iTunes, as well as Handbrake rips of my own DVDS, and streaming through both Amazon Prime and Netflix, using MS Silverlight and Quicktime... all videos are too dark.  Or rather, the shadows, and blacks are all too dark.  I have worked with display calibration and am convinced that calibration is not the real issue here.  While using my photo editing software, Lightroom 3, there are no such problems.  It is only the video playback.
    Is anyone else having the same issue?  I had a 2012 MB Air which didn't seem to have this problem as badly as this one. 
    Looking for solutions. 
    Thanks!

    I have gone through calibration.  Please note that other applications, such as Lightroom appear as they should.  I also have a spyder, and though I haven't calibrated this monitor, the fact that non-video applications are appearing as they should tells me that the problem is probably with the application running the video playback, or something do to with the video processor.  Also note that the problem occurs with both Amazon streaming, Netflix, and videos ripped with Handbrake, and that it occurs with MS Silverlight, Quicktime and with VLC player. 
    I read some discussion streams from 2012 with the same problem, and calibration was not the issue.  I have tried every built in display profile, manually gone through calibration in "expert" mode, etc... I just don't think this is the real issue.  Nor does it appear to be a hardware issue.  At least not the monitor.  Other applications are working just fine.

  • HT3964 Hello, my isight camer is not working properly, i was using photo booth and suddenly the image was black or too dark and also ichat and facetime are too dark as well, please helpme out i can not find any solution.

    Hello, my isight camer is not working properly, i was using photo booth and suddenly the image was black or too dark and also ichat and facetime are too dark as well, please helpme out i can not find any solution.

    read this and see if it helps: http://support.apple.com/kb/ht2090

  • Photo images are too dark

    Photo images loaded into Safari or Facebook, by me or by others, are too dark and I can't find a way to improve them.

    Thanks Peter & Sid. I appreciate the advice, but it doesn't match our experience over 12 years of designing web applications so I'm having trouble understanding what's different, can I ask for any more advice you might have?
    If we calibrate the monitor using the recommended tools, will Photoshop images look 2-3 f-stops brighter (i.e. as they should look) and will images in all other apps (which look fine now, have always looked fine) look 2-3 f-stops too bright? Or would we be changing JUST the way Photoshop sees the images?
    Through probably a dozen different previous CRT and LCD monitors, we've never calibrated anything. Even on our immediately-previous Samsung 213T monitor, images appear pretty much the same in Photoshop as they do in all other places. That includes published web sites viewed with several popular browsers and viewed on literally hundreds of different systems inside and outside of our office.
    The previous monitor was being used with exactly the same software and hardware as the new one. The only thing that's changed is the monitor.
    Peter asks about brightness or white point luminance. I haven't used any tool to determine that. The monitor is set to 50% brightness, for whatever that's worth, but I can tell you that it is substantially BRIGHTER on white than the previous monitor. The previous Samsung monitor is being run side-by-side with the new one, and it looks quite dull and yellow beside the new one (and we thought it was a great monitor!) The new 30" Samsung has MUCH whiter whites. Does that help even a little?
    Thanks for any further advice.

  • Video playback for Amazon and Netflix are too dark to see. Running OSX 10.10.2

    When playing these streaming videos, the pictures are too dark to see much of anything. YouTube and Facebook videos are nice and bright. I tried "never activate" the plugins, but that made no difference.

    Hi rdocter,
    First please check to make sure your drivers are up to date: [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Also please provide a link where this might be happening.
    Thank you!

  • All fotos with my iphone 3gs are too dark  what can I do?

    all fotos with my iphone are too dark. I can optimize them with picasa form google, but that is boring. Can I somehow adjust  the iphone?

    Check the Audio settings in Captivate.  You may need to increase the gain value.
    Is this a USB microphone?

Maybe you are looking for

  • Enhancement spot in MV45AFZZ.

    Hii All, I got a problem when i am writing enhancement spot in MV45AFZZ. I have added some new fields in 8459 sub-screen at item level in VA01 transaction some of those fields are mandatory for some materials Now if the user goes for a save with out

  • Exporting PCA Reports to Excel

    This question is in regards to the report: PCA Report Profit Center Grp: Plan/Actual/Variance - Tcode S_ALR_87013326. When exporting this report to a spreadsheet I'm getting different results in my development environment vs. my production environmen

  • Assign sales organization data in product in CRM

    Hi Gurus, I need to assign/ delete  the sales organization  in a product which has been downloaded from ECC in CRM. It seems that we cannot change the data in "sales and distribution tab" unless making the SET TYPE editable. Only 3 SET TYPES in the "

  • MessagingException: 501 Syntax: HELO hostname. Very Urgent

    Hi, I am getting an error message : "MessagingException: 501 Syntax: HELO hostname" when trying to send mail using Java Mail API. Can anyone plz help me. It's very urgent. I am using this code. I had using the host name as my mail server name. try   

  • How do I remove duplicate contacts on iPhone and iCloud

    I have duplicate contacts in my icloud account. How do I get rid of them?