04-07-2000 03:44 AM
10-09-2002 09:39 AM
01-22-2007 01:42 AM
01-22-2007 02:05 AM - edited 01-22-2007 02:05 AM
Message Edited by Support on 01-24-2007 11:40 AM
01-22-2007 04:23 AM
01-22-2007 12:52 PM - edited 01-22-2007 12:52 PM
Hi Thomas,
If you replace the Cluster in Example.VI with on of your own, it should work. But, here's another LLB with a Wrapper which takes a Variant input - so you can wire anything to it! ![]()
Please keep in mind that this code is very new and I expect will need some more work! ![]()
Cheers.
Message Edited by Support on 01-24-2007 11:39 AM
02-06-2007 08:52 PM
06-11-2007 04:06 AM
06-11-2007 05:01 AM
A ring's value is only the number. The strings are only used for the display part, so once you put the ring into the cluster, you don't have any real way of extracting the strings.
The strings can be extracted from the control itself by creating a property node (right click on the control or the terminal and select Create>>Property Node) and selecting the Strings[] property, but you can't use that in the OpenG code, because it only accepts the numeric value of the ring.
If you want another option, the easiest option is probably to use a combo box (in the string palette) which is similar to the ring, but has a datatype of string.
06-11-2007 08:11 AM