LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph: how to insert a log in scale.multiplier

Hello,
 
I would like to insert a scale multiplier in my waveform graph property node. The scale is a voltage, and I would like to do this operation:
new_scale_value = 10 * log ( old_scale_in_voltage).
This operation may create a new Y-scale in the waveform graph.
 
I tried a lot, but I cannot do this operation. Is exist a solution.
Thanks.
 
BD.
~ La programmeuse compile le C. ~
http://www.pmeonline.fr.st
http://www.nihon-fr.com
http://www.cinemasie.com
http://ippai.free.fr
0 Kudos
Message 1 of 5
(3,527 Views)
hi bdarroux,
 
apply u r formula to property node value of graph &  connect result to value of graph property in a event case,
here is a vi which will probabally solve u r problem
Message 2 of 5
(3,520 Views)

Thanks, your solution is great, but, I have an other problem: my operation, sometimes, is not done, and the amplitude scale appears. This problem occurs 1 time / 5. What's wrong with my code?

 

BD.

~ La programmeuse compile le C. ~
http://www.pmeonline.fr.st
http://www.nihon-fr.com
http://www.cinemasie.com
http://ippai.free.fr
0 Kudos
Message 3 of 5
(3,513 Views)

hi,

can u post u r code, so that i can look at & get u solution

Regards

ak  

Message 4 of 5
(3,495 Views)

Sorry, I solve by myself the problem, it was just a long loop which brakes the program... 😉

THanks for your help.

 

BD.

~ La programmeuse compile le C. ~
http://www.pmeonline.fr.st
http://www.nihon-fr.com
http://www.cinemasie.com
http://ippai.free.fr
0 Kudos
Message 5 of 5
(3,491 Views)