Jump to content
labviewnoob

Shortening my VI

Recommended Posts

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 by labviewnoob

Share this post


Link to post
Share on other sites

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.

post-1058-12478002146_thumb.jpg

  • Like 2

Share this post


Link to post
Share on other sites

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.

post-1058-12478002146_thumb.jpg

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?

Share this post


Link to post
Share on other sites

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?

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.


×
×
  • Create New...

Important Information

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