LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get feed back signal in LabVIEW

Solved!
Go to solution

Dear friends,

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. 

Thank You 

 

0 Kudos
Message 1 of 22
(249 Views)

Hi prasad,

 

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"?

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 2 of 22
(228 Views)

Dear Sir,

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. 

0 Kudos
Message 3 of 22
(219 Views)

Hi prasad,

 

you should cleanup and simplify the block diagram:

check.png

Are you sure all those constants are correctly typed in and wired?

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 4 of 22
(206 Views)

Yes Sir,

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. 

0 Kudos
Message 5 of 22
(155 Views)

Hi prasad,

 

your older VI still runs, even after moving most (?) constant operations out of the loop:

check.png

 

Your new VI looks different, so I guess your formulas are wrong now…

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 6 of 22
(140 Views)

Dear sir,

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. 

0 Kudos
Message 7 of 22
(125 Views)

Hi prasad,

 

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!

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 8 of 22
(120 Views)

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 

Thank You 

0 Kudos
Message 9 of 22
(117 Views)

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. 

0 Kudos
Message 10 of 22
(112 Views)