LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert graph xy-axis while measuring

dlehdgh20_0-1741686246101.png

dlehdgh20_1-1741686254901.png

In the above graph, the y-axis is calculated by the formula (1stsignal−4thsignal)/(3rdsignal−4thsignal)(1^{st} signal - 4^{th} signal) / (3^{rd} signal - 4^{th} signal), and the x-axis is determined by calculating the energy per pulse as the average output divided by the repetition rate. Then, using the formula F=E/(π×beam divergence2)F = E / (\pi \times \text{beam divergence}^2), the fluence is calculated. However, when measurements are taken through LabVIEW, we obtain a graph like the one above. Is it possible to convert this to the graph below in real-time

 

0 Kudos
Message 1 of 3
(121 Views)

Hi dle,

 


@dlehdgh20 wrote:
Is it possible to convert this to the graph below in real-time

Yes: you "just" need to implement your calculations!

 


@dlehdgh20 wrote:

formula (1stsignal−4thsignal)/(3rdsignal−4thsignal)(1^{st} signal - 4^{th} signal) / (3^{rd} signal - 4^{th} signal),

 

F=E/(π×beam divergence2)F = E / (\pi \times \text{beam divergence}^2),


Providing formulas as plain text with a wild mixture of round brackets, braces, "\times" and "×" doesn't provide the full picture.

Why don't you use a good formula editor to show the formula in typical math formatting?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(104 Views)

You need to be significantly more clear because the two graphs don't share any recognizable data and your formula does not match the axis labels or annotations.

 

Also, the term "real time" typically has a very special meaning and I assume you just mean to display results while data is acquired. (In LabVIEW, real time typically refers to timing precision and LabVIEW RT on a RT hardware/OS).

 

In general you require quite a bit of data until derived parameters can be calculated and displayed.

0 Kudos
Message 3 of 3
(72 Views)