miab2234 Posted November 10, 2008 Report Share Posted November 10, 2008 Hallo guys, I just started to do labview programming and i have a problem to design an programm,which gives max. and min. value betwenn 0 and 1 but in the programm there should be no arrays. It should be with the Shiftregister. Waiting for the reply Ashfu Quote Link to comment
Dan DeFriese Posted November 10, 2008 Report Share Posted November 10, 2008 I'm not sure what your trying to do. Does this help? Quote Link to comment
miab2234 Posted November 11, 2008 Author Report Share Posted November 11, 2008 QUOTE (Dan DeFriese @ Nov 10 2008, 01:25 AM) I'm not sure what your trying to do. Does this help? Hallo Dan, Thanks a lot . It was verynice from you and so fast.It was 90% Similar what i wanted . I completed it. I uploaded the changed one again in my thread and now the programm has to show how many numbers are between 1. 0and 0.1 2. 0.1 and 0.9 3. 0.9 and 1 I think its not so difficult for u . The file is downside. Check it out Waiting for reply best regrads, Ashfu Quote Link to comment
Dan DeFriese Posted November 11, 2008 Report Share Posted November 11, 2008 QUOTE (miab2234 @ Nov 10 2008, 01:49 AM) Hallo Dan,Thanks a lot . It was verynice from you and so fast.It was 90% Similar what i wanted . I completed it. I uploaded the changed one again in my thread and now the programm has to show how many numbers are between 1. 0and 0.1 2. 0.1 and 0.9 3. 0.9 and 1 I think its not so difficult for u . The file is downside. Check it out Waiting for reply best regrads, Ashfu I'd start by playing with the In Range and Coerce function and incrementing a set of integers within shift registers. Repost your work if you get stuck. Quote Link to comment
TobyD Posted November 11, 2008 Report Share Posted November 11, 2008 QUOTE (miab2234 @ Nov 9 2008, 11:49 PM) Thanks a lot . It was verynice from you and so fast.It was 90% Similar what i wanted . I completed it. You might want to double check your shift register initialization values. There is a potential bug the way it is coded now. Quote Link to comment
Dan DeFriese Posted November 11, 2008 Report Share Posted November 11, 2008 QUOTE (TobyD @ Nov 10 2008, 11:12 AM) You might want to double check your shift register initialization values. There is a potential bug the way it is coded now. Ahhh yes, a likely erroneous assumption from the first post... Ashfu, do you see what TobyD is referring to? Quote Link to comment
miab2234 Posted November 13, 2008 Author Report Share Posted November 13, 2008 QUOTE (Dan DeFriese @ Nov 10 2008, 07:28 PM) Ahhh yes, a likely erroneous assumption from the first post... Ashfu, do you see what TobyD is referring to? No i am not .Can u post the upload the correction.So i can compare it again Quote Link to comment
Dan DeFriese Posted November 13, 2008 Report Share Posted November 13, 2008 QUOTE (miab2234 @ Nov 12 2008, 10:47 AM) No i am not .Can u post the upload the correction.So i can compare it again I believe Toby was refering to the fact that, for a given number set, the min and max may not always be less than or greater than 0.5. Quote Link to comment
TobyD Posted November 13, 2008 Report Share Posted November 13, 2008 QUOTE (Dan DeFriese @ Nov 12 2008, 10:13 AM) I believe Toby was refering to the fact that, for a given number set, the min and max may not always be less than or greater than 0.5. That's correct, but I wasn't going to give away the answer. Sometimes programming requires a little logical thought analysis and I haven't seen any of that yet from the original poster. My clue told exactly where to look - it should not have been too difficult to figure out. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.