10-22-2006 09:04 AM
10-23-2006 09:16 AM
01-15-2014 04:44 PM
Hi,
I know this is a very old post but I was working on a 4th year project where we have a very similar problem. We have a graph where we have x-axis as pixels (0-512) and y-axis is power intensity. The question is how can I directly map pixels into wavelength? Is there any way, I can do that.
Any help is appreciated!
Thank You
Shivank Gupta
01-15-2014 05:21 PM
Did you try what Dr. Gray suggested? As has been pointed out, you need to do some kind of calibration with a known spectrum.
Lynn
01-15-2014 05:44 PM
Yes I tried his way but did not had any success with that as of now. We are trying a simple approach if we can, so is there any way we can directly multiply a constant with x-axis directly so that it is converted?
Regards
01-15-2014 06:12 PM
Are you just trying to change the scale of the X-axis? You can use property nodes: X Scale: Offset and Multiplier. If you want something else, please give a more detailed description. Post what you have tried and explain what it does not do that you want it to do.
Lynn
01-15-2014 08:55 PM
01-16-2014 11:59 AM
i actually have pixels on my x axis, and want to change it to wavelength. I know the formula for this conversion but dont actually know how to use it in labview. i need an array of values of x axis after conversion too but all it gives me after using the multiplier function is the maximum value converted from pixels to wavelength rather than showing me all the converted values. The formula is attached below.
Thanks
01-16-2014 12:44 PM
Attach your VI so we can see how you are doing it now. Then we can tell you how to fix it.
01-16-2014 06:59 PM
I have attached my VI below. the problem that we are having now is we should get 512 according values of wavelength, but what the VI does is picks the highest value of them all. How can we correct that?