labviewnoob Posted July 17, 2009 Report Share Posted July 17, 2009 (edited) I have this vi which compare my input & will light up my LED when the input is true. For example, if the input is 1A, the LED for 1A will light up. IS there a shorter or neater way to do this vi? NWM 1A (SubVI)1.vi Edited July 17, 2009 by labviewnoob Quote Link to comment
Kurt Friday Posted July 17, 2009 Report Share Posted July 17, 2009 IS there a shorter or neater way to do this vi? NWM 1A (SubVI)1.vi Sure, the following code will do what you want. As I understand if 1A or 2A exist in a comma separated string then light up 1A or 2A if exists. 2 Quote Link to comment
labviewnoob Posted July 17, 2009 Author Report Share Posted July 17, 2009 Sure, the following code will do what you want. As I understand if 1A or 2A exist in a comma separated string then light up 1A or 2A if exists. Thanks alot. ur attachment reduce my programming time. is there any limit to the number of input i can use as i might have more than 100 input? Quote Link to comment
Kurt Friday Posted July 17, 2009 Report Share Posted July 17, 2009 Thanks alot. ur attachment reduce my programming time. is there any limit to the number of input i can use as i might have more than 100 input? Do you mean that you may have more than 100 LED indicators working from the 1 input string? Quote Link to comment
labviewnoob Posted July 17, 2009 Author Report Share Posted July 17, 2009 (edited) yes. i am required to have more than 100 led indicator to compare the string input. Edited July 17, 2009 by labviewnoob Quote Link to comment
Kurt Friday Posted July 17, 2009 Report Share Posted July 17, 2009 yes. i am required to have more than 100 led indicator to compare the string input. Try this 1 Quote Link to comment
labviewnoob Posted July 18, 2009 Author Report Share Posted July 18, 2009 Try this Thanks alot. my groupmate will try the vi when we go to school. 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.