03-23-2007 10:56 PM
03-24-2007 12:10 AM
HI fchen the enums don’t allow changing the string while in runtime, but you can use Text Rings and menu rings for this, you can change the value and the string while in execution
If you want to stick with enums you can use the disable items property node here is an example.
Best Regards
03-24-2007 12:50 AM
Thanks, BeCeGa.
I will test it and report here.
Fan
03-25-2007 09:19 PM
Hi,
I am not able to open your example
because I have only Labview 8.0.
Could you save your sample to version 8.0?
thanks,
Fan
03-25-2007 11:07 PM
How can I transfer the information in property node, for example, which items are diabled,
from one Menu Ring control to another one control?
1. Now I am using Menu ring in 9X9 to represent each numbers in Sudoku.
And I can disable desired items using property node of each menu ring control.
2. To check if there are repeated number in row or column, the 9X9 numbers
are converted to a 2D array,each row or column in 1D array.
3. I want to diable items of elements in the array because it is easier
to index each number. THen I want to copy the numbers in the array
with some items diabled back to menu ring controls.
My questions are:
1. The element in the array is no longer menu ring type. How can I disable its items?
2. I tried to pick out a element and wire it to a menu ring indicator.
I diabled some items of the indicator. How can I transfer the diable information
back to the original menu ring control?
Thanks,
Fan
03-26-2007 07:58 AM
Hi Fan,
Can U attach Ur VI saved for 7.1, or atleast can U post a screenshot of the FP to get a clear picture of what other controls re U using ?
03-26-2007 10:43 AM
OK. Here attached is my program.
The purpose is to simulate the Suduko game
and provide suggesting while users are playing the game.
After each choice the user made, the program
assumes this choice is correct and changes the
candidate numbers ( a few numbers for choice) in other
positions ( to avoid repeating number in each row/column/3X3 area).
Thanks,
Fan
03-26-2007 11:05 PM
03-27-2007 11:23 AM
Yes. Forgot the Sub-VI.
Here it is.
03-28-2007 06:25 PM