LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Superposing graph to display Bessel function

Hi ! 

I am currently working on a set up where the data works along Bessels functions.

One of the transformations I appy to the data are like attached. It displays the data as one of the Bessels function, depending of the Nb of mod period/px you can see on the left.

What I would like to do is make this number vary between 1 and 20, and display on the same graph the 20 Bessels representations.


I tried to use the For Loops and the "build array" at the end to put all the results in one graph, and I did not achieve to do something properly.

Do you have any ideas ??

thank you !

0 Kudos
Message 1 of 7
(3,174 Views)

All you have to do is run your 2D array into the loop with auto indexing (as it is now). Inside the loop perform the analysis operation, but simply wire the scalar result out of the loop (again with autoindexing) and you will have your array of results. All the other logic is unnecessary.

 

Note that the way your code is written you are analyzing each row as it comes through. If you are intending to analyze columns youu need to transpose the 2D array before entering the loop.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 7
(3,156 Views)

I am going to be really honnest, I do not understand what you mean 😕

I know it sounds noobish but I just started Labview 2 weeks ago ... I have trouble connecting things together and manage the Dimensions of array
I attached the VI, could you light my lantern a litle further ? 😕

Thank you

0 Kudos
Message 3 of 7
(3,152 Views)

Can t I use the Decrement PtByPt function ?

0 Kudos
Message 4 of 7
(3,136 Views)

I can't get to this until this evening. In the mean time go through the online tutorials -- especially the ones dealing with FOR loops and auto-indexing.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 7
(3,131 Views)

OOps, double post

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 7
(3,131 Views)

Hi !

I think I solved the loop issue.

Now I have my 20 graphs which displays on the one graph.

But I cant get to represent all of them on the same graph, one moves to let the other one appear as fast as possible.

To make them all appear, I used a technic I used once already and which did work. I t was "build array".

But here it seems it does not work that way 😕

0 Kudos
Message 7 of 7
(3,110 Views)