LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mutiply the original signal by 100 to increase the scale

hello, 

Please I need help

this is my code and i want to multiply the signal by 100 or by 1000 to increase the signal, How could i multiply it?! 

Thank You 

0 Kudos
Message 1 of 4
(2,383 Views)

times 100.png


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 2 of 4
(2,372 Views)

You can also use the Waveform Scale and Offset.vi from the Analog Waveform VIs and Functions palette, depending on where you want to apply the scaling.

 

Ben64

0 Kudos
Message 3 of 4
(2,359 Views)

Hi Imano,

 

you can also use Offset and Multiplier in Graph Properties in Scales tab. But be aware of a fact that this settings are not visible and cause problems. Multiply VI is polymorphic so you can wire there even array of values on one input and single value and it will apply operation on whole array. I would like also to inform you that you do not need to use Convert from Dynamic Data VI, use Get Waveform Components. Also, for connecting to the RMS VI, use just array, not waveform converted from it. The coertion dots you can see (red dots on the inputs) means memory allocation and increase amount of memory that your application needs to run. Also at the beginning, you can apply Array Size VI on whole 2D array read from file, it will return array with size in each dimension (now you convert the whole signal from 2D array to dynamic data, then to waveform and then use just array of values from waveform).

 

Best regards,

Martin

0 Kudos
Message 4 of 4
(2,324 Views)