Showing results for 
Search instead for 
Did you mean: 

How to display spectral lines in color band

Hi Shane, just wonder if you are home yet.  I was trying the picture control for the past few days but didn't get anything positive.Smiley Sad  I apologize if you bother your vacation.

0 Kudos
Message 11 of 21

No, no problem.  I've been home since but I'm very busy at the moment.  I'll try to get something posted soon.  Sorry for the delay.



0 Kudos
Message 12 of 21

Hello Jack and Shane,


Do you mind sharing your code, or the idea of doing it?  I am working on something very similar, but not spectral line related.


Thanks in advance!

0 Kudos
Message 13 of 21

Could you post your example vi here? I also need to solve this problem.

0 Kudos
Message 14 of 21

I try to make a example, see attached.

0 Kudos
Message 15 of 21

Wow, 5 years ago I promised to deliver example code.   I don't have it on my current computer, I'd have to try to dig it up at home, it was written in LV for Macintosh version 8.2.1.


I'll have a look and see if I can find anything useful, I promise.  It'll only take me 3 years to respond this time..... Smiley Wink

0 Kudos
Message 16 of 21

@ronke wrote:

I try to make a example, see attached.

There is nothing attached.

LabVIEW Champion. It all comes together in GCentral GCentral
0 Kudos
Message 17 of 21

@altenbach wrote:

@ronke wrote:

I try to make a example, see attached.

There is nothing attached.

Maybe he tried to make an example and failed? Smiley Frustrated

0 Kudos
Message 18 of 21




0 Kudos
Message 19 of 21

As far as I know, to create a color spectrum you need to create triplets of R-G-B values. Here's a simple example to create a PSEUDO color spectrum:





If you want to create a real color spectrum the R:G:B Triplets should look like this instead:





So, ronke what does your code behind the screenshot you posted look like?




0 Kudos
Message 20 of 21