LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Express Intensity Graph?

I am using Labview 7.1.  My version doesn't have an express intensity graph.
 
I need to build an intensity graph quickly from consecutive x, y, z coordinates. e.g., (1, 3, 2); (5, 1, 8).
 
I can't use the intensity graph vi because many of my points are too far apart to convert into a 2-D array: e.g., (2, 2020000, 3); (4, 5004500278, 6).
0 Kudos
Message 1 of 5
(3,104 Views)
You just need to map your intensity values to suitable 2D array indices, then set offset and increment of the axis accordingly. It seems your y-values are huge, so you could e.g. set the array indices to y'=y/100000 and set the y increment to 100000.
 
Basically, you would start out with an array of all zeroes, then replace the element at x',y' with the value of z of the current point. Repeat for each subsequent point.
 
 
 
0 Kudos
Message 2 of 5
(3,101 Views)
Thank you, but it is the size of my points (on the y-axis) and the distance between them that is the problem.  Labview will not allow me to create a big enough 2-D array.  I do not want to round off my points either, for math reasons.
0 Kudos
Message 3 of 5
(3,092 Views)
You have to be reasonable!!!
 
The mapping to a 2D array will of course only be for display purposes and there is no reason the be more accurate in "y" than to map to the vertical number of pixels on the screen (probably <1000).
 
Just keep the original data "for math reasons" (whatever that means). and do the desired further computations with it. How accurate is yor data really? If it is from an ADC? How many bits did you originally get?
 
(Similarly, you could also use a picture indicator for the intensity display.)
Message 4 of 5
(3,078 Views)

Your correct.  I don't need to be that accurate.

Truth be told, I should probably start a new discussion and rephrase my question.  Actually, I don't have a set of plots to point (x, y, z).  I have a intensity graph to start with.  And the essence of what I want to do is to rescale the x-axis.

I have a 2-D intensity graph that has 400 indicies on the x scale.  Each of those indicies represents a frequency (2000000 Hz, 2020000 Hz, 2040000 Hz, etc.)  I have the fun job of converting those frequency values to density values.  The conversion formula is d=(f^2)/9.

To set the frequency scale all I had to do is to input a multiplier and an offset.  But now I have that ugly exponent in the equation above to deal with.  The intensity graph vi won't let me input a squaring formula into the multiplier terminal.

I'm trying to take an intensity graph create another intensity graph with the converted x-axis values.  Our scientists don't want the graph to look any different -- they just don't want to have to convert from one value (frequency) to to another (density) in their heads.

0 Kudos
Message 5 of 5
(3,071 Views)