10-25-2008 03:05 AM
Hi Andrew,
I think waht I am tryin to do is slightly different to what you have done. Let me explain more. Let;s say I have an array 'A' which has 50 numbers. Number by number I want to check if the values fall between let's say between 0-10, 10-20, 20-30 and so on. If it falls between 0 -10 I want to plot that value in 'RED' color, if the values falls between 10-20 I want to plot that point in "blue" color and so on.
This is impossible for me to figure out.
I hope you understood what I just said 🙂
It would be of great help if you could help me with this.
Regards,
Chathuri
10-27-2008 04:56 AM
Hi Cathuri,
I have attached a new VI. In this VI, there is an array of 6 elements, numbers one to six. The program will then sort out the numbers into separate arrays; one with numbers 5 & 6, the other with 3 & 4. Once this has been done, it will remove padding zeros and plot the data sets on two different plots in the X Y Graph. I haven't added the logic for 1 & 2 since it is the same as the 2 previous pieces of logic. My suggestion to you would be to pass through your x values in a simlar manner to the Y values.
I hope this makes sense, please let me know how you get on.
Thanks,
10-27-2008 09:46 PM
Hey thanks alot for the solution. I think this is just fine. 🙂
10-30-2008 12:01 AM
10-30-2008 08:38 AM
Hi All,
Attached is 8.2 version of the VI.
thanks,