ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem in feedback loop

Hi i have problem in the feed back loop inside while loop.i have attached the demo program .in that example u need to give two string such as string 1= 1,3,5,7 and string2=2,4,6,8 if u run the program and enter this value and click ok button  the output string will be 12345678 .it is fine.if u continue with out stoping and change the value seperated by coomma in two string .the value of 3 string does not change this is because of feed back loop it retains the value in last iteration.is there any way to eleminate the value
0 Kudos
Message 1 of 13
(3,994 Views)

Hi parthipan,

 

I hope your well.

 

I have done some code for you. I used the search string for token vi.

 

Kind Regards,

Message Edited by Hillman on 09-22-2008 12:30 PM
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 2 of 13
(3,978 Views)
Hi i cant open the vi that u have posted since u have developed in labview 8.6.i have labview 8.5 can u change to 8.5 version and send me back.Thank you
0 Kudos
Message 3 of 13
(3,971 Views)

Hi,

 

Sorry about that.

 

Let me know what you think.

 

Kind Regards

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 4 of 13
(3,969 Views)
Hi i have implemented my code which contain many feedback loop.i have this problem with my code since i cannot post my code i made demo version(which work similar).you are trying to say if we use shift register instead of feedback loop we can get rid of this problem .or any other idea.Thanks a lot ya
0 Kudos
Message 5 of 13
(3,966 Views)

Hi,

 

Thanks for the post.

 

Well, as always with labview/programming, there are so many ways to do things.

 

I personally, never seem to use feedback loops. But the way i coded it seem to work. 

 

Kind Regards, 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 6 of 13
(3,964 Views)
Hi i did not satisfied ya.i need to know why the feed back loop is not re initialising.is there any way to re initialise or itt is a bug in labview.i need to know answer for this only ya
0 Kudos
Message 7 of 13
(3,961 Views)

Hi,

 

shift registors and feedback nodes are very similar.

 

In your code I think the issue is the node isnt 'reset' to an empty string between button presses, its just remembering the last full combined string.

 

I would suggest looking at the example finder for my help on feedback nodes.

 

Kind Regards,

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 8 of 13
(3,953 Views)
what is the example finder i dont get u make it cleasr is there any link to this
0 Kudos
Message 9 of 13
(3,941 Views)

Hi,

 

Sorry.

 

Go to Help>>Find Examples>>Search Tab>>feedback Node in keywords>>Feedback Node - Build Array.vi.

 

This shows how to correctly re-initialise a feedback node.

 

Kind Regards,

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 10 of 13
(3,939 Views)