04-08-2010 07:26 AM
Help. I've had a mind blank.
I want to get an array of values out of a FOR loop from the iteration count terminal, each must be associated with an enum. (just the 1 enum).
I want to only select certain values for my output e.g for quick build purposes all even / all odd.
I'm building an array using Shift registers, but try as I might, I can't seem to convert the [I] to an enum. all I get is a U32.
I've tried converting the I32 to U32 with the node from the conversion palette and then type casting the result to the enum, but it doesn't work for me.
Any ideas?
James
(working in 8.6)
04-08-2010 07:30 AM
Is your enum already type def'ed?
Felix
04-08-2010 07:32 AM
04-08-2010 07:36 AM
04-08-2010 07:40 AM
04-08-2010 08:36 AM
04-08-2010 08:40 AM
04-08-2010 09:12 AM - edited 04-08-2010 09:13 AM
And what is the point of this??
04-08-2010 09:59 AM
smercurio_fc wrote:And what is the point of this??
Message Edited by smercurio_fc on 04-08-2010 09:13 AM
It was Late. I was Tired. I feel Stooopid.
- Especially now I can't seem to get an array of Strict type def Enums coming out of a Sub VI to turn into a colon delimited string. (and there is now Icon for bursting into tears.)
Where is the weekend???
04-08-2010 10:06 AM
James W wrote:- Especially now I can't seem to get an array of Strict type def Enums coming out of a Sub VI to turn into a colon delimited string.
(and there is now Icon for bursting into tears.)
Array to for loop, enum to Format into string, add ';' before string if loop-I > 0. 😉
/Y