jenny Posted February 16, 2006 Report Share Posted February 16, 2006 hi, i'm a student and new to Labview. i'm facing some problem here. i'm using "Equal" to compare 2 value, so the it return 2D-array of boolean. i need to connect it to a boolean to show both value is equal. so what should i do? anyone has any idea? what should i do to connect "Equal" to boolean (boolean is a LED in Front Plane)?? thank you! Quote Link to comment
orko Posted February 16, 2006 Report Share Posted February 16, 2006 hi, i'm a student and new to Labview. i'm facing some problem here. i'm using "Equal" to compare 2 value, so the it return 2D-array of boolean. i need to connect it to a boolean to show both value is equal. so what should i do? anyone has any idea? what should i do to connect "Equal" to boolean (boolean is a LED in Front Plane)?? thank you! Jenny, It would help if we had a little more information. What are the values you are comparing? Are you using the blue Express "Comparison" VI or the little yellow triangle "=" operator? I'm assuming since you are getting a 2D boolean array out of it that you are comparing two 2-D boolean arrays? Thanks for clarifying, Joe (orko) Quote Link to comment
Louis Manfredi Posted February 16, 2006 Report Share Posted February 16, 2006 Hi Jenny: Welcome to LabView. Not totally sure I understand your question, but if I do, selecting "Compare Agregates" from the right-click pop-up for the equality function might do the trick :question: Hope this helps, Best Regards, Louis Quote Link to comment
jenny Posted February 18, 2006 Author Report Share Posted February 18, 2006 hi. orko. yes, i'm comparing 2D array boolean. i'm using yellow triangle "=". hi, Louis. thanks. i will try. Quote Link to comment
i2dx Posted February 18, 2006 Report Share Posted February 18, 2006 jenny, I don't understand exactly what's the problem is, but i have attatched a vi, which shows some operations on boolean arrays. Please take a look at them and let me know wether they were helpfull or not ... CB Download File:post-885-1140248788.zip Quote Link to comment
orko Posted February 19, 2006 Report Share Posted February 19, 2006 hi. orko. yes, i'm comparing 2D array boolean. i'm using yellow triangle "=". hi, Louis. thanks. i will try. Ah. Well if all you want to do is compare two arrays (any dimension) and get a "yes/no" if they are equal or not is to do as Louis suggested. 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.