Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

08-13-2019 04:20 AM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Labels:

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

Solved! Go to Solution.

08-13-2019 04:51 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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

GerdW

CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO

Kudos are welcome

08-13-2019 05:07 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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.

08-13-2019 05:41 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi prasad,

you should cleanup and simplify the block diagram:

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

GerdW

CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO

Kudos are welcome

08-13-2019 07:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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.

08-13-2019 08:18 AM - edited 08-13-2019 08:19 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi prasad,

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…

Best regards,

GerdW

CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO

Kudos are welcome

GerdW

CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO

Kudos are welcome

08-13-2019 08:45 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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.

08-13-2019 08:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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!

GerdW

CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO

Kudos are welcome

08-13-2019 08:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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

08-13-2019 08:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator