LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

User defined Function Generator ( normalize the data points )

Solved!
Go to solution

Hi all ,

 

 

niFgen_ConfigureStandardWaveform (vi, Channel, NIFGEN_VAL_WFM_USER, Amplitude, 0, Frequency, 0);
niFgen_DefineUserStandardWaveform (vi,"0",16384,&functionArr);

 

 

in the last function functionArr needs to be set with values between -1 to 1.

 

Is there any function the normalize automatically ?

 

lets say I have a linear line from -3 to +4 and that's my function how can I normalize it ?

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 2
(2,833 Views)
Solution
Accepted by topic author Kobi_K

You can use Scale1D function from the Advanced Analisys Library.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,832 Views)