LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scale intensity graph xy axes

Hi Labview gurus!

 

I have a question to you about how to build intensity graphs. I have some data from the scanning process (beam scanner). Actually I have some 2D intensity array. Each point correspond to some xy point. All I need is to build this intensity graph. I looked here for the similar problems, but I didnt find any solution to my problem ; I tried to change the axes of xy; to change the offset and delta but it didnt solve the problem; simply I dont see anything but I should see something. ; for example the point 0.5 0.5 corresponding point -0.10376.

 

Thank you very much.

 

 

0 Kudos
Message 1 of 8
(10,720 Views)

Hi dimani4!

 

 

I just found some information that I think will help you define how to use the intensity graph, there is a KB here that describes how to convert from 2D data to an intensity graph, and there is also an example that you can follow.

 

I’m confident that this will help you with your task,

 

I look forward to hear back from you.

 

 

steve.bm
AE | NI
0 Kudos
Message 2 of 8
(10,562 Views)
Offset and multiplier describe the linear relation between array index and actual x or y value and that should be the only thing you need to set. For exaample it looks like your x offset is 0.5 and the multiplier -0.25. Please show us your actual code instead of pictures. Make sure to make the current values default before saving so we see some data.
Message 3 of 8
(10,552 Views)

Hi everyone,

In the same thread I would like to ask about the autoscale feature of the intensity graph.

Please find  enclosed a vi. In this vi, when I switch beetwen two data sources to simulate a scanning process the behaviour of the scale in the intensity graph is not the same. In one case the scale always fits to the entire scan region whenever I change the "minimum" and "stepsize" fields while in the other case it is not.

Anyone can tell me why?

Thank you in advance,

Palm

0 Kudos
Message 4 of 8
(8,698 Views)

Hi Palm,

 

for me it fits for both data sets, even after changing Min and stepsize.

 

Is there a reason why you needed local variables of both inputs? Replace them by wires!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 8
(8,680 Views)

Hi GerdW,

Thank you for your reply.

I don't know why it works when running in your computer. Here in the attachment are some screenshots which shows the problem.

- For the Dataset1 (boolean control = false), the scanning data fits well to the actual scanning region.

- For the Dataset2 (boolean control = true), the first and second execution gives different results (shown in picture "Dataset2_First_execution" and "Dataset2_Second_execution", respectively).

Please explain me why it you find the solution.

Thank you,

Best regards,

Palm

P.S I'm using LabVIEW 2013.

0 Kudos
Message 6 of 8
(8,668 Views)

Hi palm-ensc!

 

After reading through the posts, I think I might have found a couple of articles that could help you out!

 

First is an article about how to customize graphs in LabVIEW.  The second article describes how to programmatically change the axes in LabVIEW.

 

http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/customizing_graphs_and_charts/

http://digital.ni.com/public.nsf/allkb/D327366ABA5D337486256ECC00665DDB?OpenDocument

 

I hope this helps!

 

Casey L.

Applications Engineer

0 Kudos
Message 7 of 8
(8,625 Views)

From the context help for the intensity graph: "The array indices are the X values and Y values for a given Z."

 

The customizing you can do on Intensity graphs is very limited. You may need to  place sliders next to the axes to get fractional values to display.  It can be a significant amount of work.

 

Lynn

0 Kudos
Message 8 of 8
(8,619 Views)