mezga Posted June 19, 2006 Report Share Posted June 19, 2006 Hi all, I am still novice in Labview, but i like it I would like to create a vi which can make the following: I have got a control and one string indicator. if you write 1 into the control than a function will be executed in a sequence and write a string into the indicator, if you write 2 than another function should be executed, if you write 3 than a third function ...and so on if you write a number into the control which has no sequence than an error message should be indicated into the string indicator!! how can i build this thing? I attached my weak idea in a picture (of course it is not work) if you have any idea please share with me! thanks for the help in advance :worship: Quote Link to comment
Jeffrey Habets Posted June 19, 2006 Report Share Posted June 19, 2006 This is basic stuff.. What you need is a case structure. Attach the control to the case selector and add cases for all values you want to catch. See the attached example. Download File:post-906-1150716505.vi Quote Link to comment
mezga Posted June 19, 2006 Author Report Share Posted June 19, 2006 This is basic stuff.. What you need is a case structure.Attach the control to the case selector and add cases for all values you want to catch. See the attached example. thanks a lot! 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.