05-21-2010 08:00 AM
The 2d compass plot might be a good forerrunner to doing an ultrasonic phased array plot, if we could color code the values along the lines of the 2d compass plot. Here is 2d compass plot example with a number of lines drawn at different angles:
Here is a schematic of how an ultrasonic phased array plot is formed:
Any thoughts on other ways to do this using exisiting LabVIEW plot technology? I am thinking I should add this in as a suggestion for future upgrade of the polar plot?
Sincerely,
Don
05-21-2010 08:44 AM
05-21-2010 09:05 AM
The polar plot was actually the first thing I was looking for but just upgraded from 8.5 to 2009 and did not see it on the graph palette, so I thought it had been deleted (the active X surface graph for LabVIEW 64-bit is not available).
Did not see polar plot on the main graph palette
I should have done a search for it - it is located on the classic palette in LabVIEW 2009 32 and 64-bit.
I will look into this as my first choice and post any results.
Thanks,
Don
05-21-2010 09:12 AM
05-21-2010 09:21 AM - edited 05-21-2010 09:24 AM
If we look at the polar plot demo example included with LabVIEW, I think it may be possible to do what I want. I envision a number of 'polar plot.vi' fxs could be strung together with just the color representing the magnitude along a phase line changing. This is the approach I will consider, and post when I have a result. If anyone has any other possibilities using other graph containers as opposed to the picture control, please feel free to chime in.
05-21-2010 09:34 AM
Hi Don,
THe CW 3d graph let me change the plot color based on the W vector.
Have you concidered the 3d plot viewed from above?
Ben
05-21-2010 09:49 AM
I am pretty sure I am going to have to stay away from that graph type since it is not available in 64-bit LabVIEW 2009. Some of the ActiveX components are not supported by 64-bit systems.
Regarding the use of the picture control, we should be able to convert the picture to an intensity graph using the following strategy. That is critical for my application.
Don
05-21-2010 10:03 AM
With breaking out the code I will have to settle for some links I have collected.
Tag Cloud for "LabVIEW_Picture".
If you chase those down one of them eventually points toNorm's post here where he has revers engineered the Picture Control.
Still without looking... Don't you just have to slice one of the color planes and reshape it to toss the padding?
Ben
05-21-2010 10:17 AM
BTW: Norm Kirshner now works for NI so you could give them a call and ask for him if you think he can help.
Ben
05-21-2010 01:30 PM - edited 05-21-2010 01:38 PM
Well here is what I tried so far and I don't think it is going to work. I think the polar plot.vi wants to see only one plot and one color. That means this approach will not work. This piece of code is only to plot one line at 45 deg, with each point along the line color-coded to scale with its magnitude. And actually, what I have done here is not really what I want to do but it illustrates the idea of trying to plot multiple points using the polar plot.v. The points really need to be plotted along the 45 deg line one at a time according to their magnitude. That is not what I did here.
As far as converting to intensity graph from picture control, yes you could take the approach of grabbing one of the 8-bit color planes if we did start with the 24-bit depth.
Thanks,
Don