Jump to content
Sign in to follow this  
RaviPaike

Need Help detecting value change.

Recommended Posts

Hi All,

I am creating a VI which will output 1 when the previous value of a numeric input is different from the current value. I am comparing those two values using the 1 sec delay. But I am having problem only for the First iteration when the Initial value of the input is not equal to 0. because the bydefault the delay block sends 0 value for the first iteration. I tried lot of things but couldn't find way arround it can somebody help me in this.

Thanks in advance

Rave

Download File:post-1447-1110909579.vi

Share this post


Link to post
Share on other sites

[Hi Rave:

Try this:

attachmentid=1011]

also, check out Functions>Advanced>Synchronization>First Call? of use in different, but somewhat similar situations.

Hope this helps.

Best Regards, Louis

post-1144-1110924697.png?width=400

post-1144-1110924903.png?width=400

Share this post


Link to post
Share on other sites

Data Changed is in the OpenG comparison pallette. You do use OpenG, don't you?

post-107-1110925326.gif?width=400

Share this post


Link to post
Share on other sites
Data Changed is in the OpenG comparison pallette. You do use OpenG, don't you?

4230[/snapback]

Hey Thanks Guys. :worship:

Todd,

I was a OpenG user but few days ago due to some problems I have formated my PC so I lost all my data. Now I have downloaded the OpenG again.

Thanks for the Help

Ravi

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.