I am not getting the required waveform in LabVIEW. I designed a model in MATLAB and recreated the same in LabVIEW. I am not getting the result in LabVIEW. I have attached the pic of the simulink model in MATLAB and the result obtained for the same. But I am finding some difficulty in getting the same result for the same model in LabVIEW. I have attached the VI. Please help me regarding this.
Solved! Go to Solution.
But I am finding some difficulty in getting the same result for the same model in LabVIEW.
The resulting waveform looks very similar to the one shown in Screenshot24.
So what is your "difficulty"?
The Amplitude of the waveform is not matching in both cases. The first feedback which is a multiplication of 0 and 4.885364 is giving some problem i think. Please suggest the any modification.
you should cleanup and simplify the block diagram:
Are you sure all those constants are correctly typed in and wired?
I have Entered Constants correctly. But When i use only one exponential loop i wont get the result at all. I have attached Both MATLAB and LabVIEW results.
your older VI still runs, even after moving most (?) constant operations out of the loop:
Your new VI looks different, so I guess your formulas are wrong now…
I actually need the result from new VI i have sent. I checked the formulas and constants. only the multiplication with 0 and 4.88564 is giving problem ( I HAVE MENTIONED IN the same in the attached VI). further multiplication like 2 and 4.88564 are working fine. it is actually a increment from 0 to 2.
0x4.88564(which is not working) 1x4.88564(which is working)
2x4.88564(which is working)
Hope you got my point.
only the multiplication with 0 and 4.88564 is giving problem
Why do you think so?
I always get the expected result of zero for this (Rube-Goldberg) operation!
I have attached an image.
Here the red circle loop is not giving result (0x4.88564)
where as the green circle will give the result. (1x4.88564) followed by (2x4.88564)
That is why i sent new VI with only one loop multiplication of 0 and 4.88564
the result should not be 0 for 0x4.88564 case. The result required should be same as the MATLAB result as i have attached the pic of the same.