prober Posted December 9, 2008 Report Share Posted December 9, 2008 hi all, i want to write a tiny program which tells if the number the user entered is negative or positive or zero and also if its positive or negative. so easy to do positive-negative part, i just used the select VI. But i cant use the same VI to make the program determine if the number is positive or negative or zero because there are 3 cases. you are right i tried case structure but i have no idea where and how to enter conditions in case structure, like "if the number is greater than zero then execute"...anyway i know u dont understand nothing let me just upload what i did...i use Labview 8.5 by the way Quote Link to comment
JiMM Posted December 9, 2008 Report Share Posted December 9, 2008 Hi prober. I only have LV 8, but here is one way to do what you want. I am sure someone else will have a better way. Quote Link to comment
BobHamburger Posted December 9, 2008 Report Share Posted December 9, 2008 There's a primitive that does exactly what the poster is looking for... 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.