01-06-2011 01:08 PM - edited 01-06-2011 01:09 PM
My select function is always returning the enum wired to false despite the input being true. Can anyone see why this may be happening? Possibly corrupt? I am doing this on a cRIO not the PC but it's a fairly simple thing to do.
01-06-2011 01:17 PM
Is enum a type def? If not you could have different versions of enum. I've done it before and things got a bit confusing. ![]()
Two tunnels exactly on top of each other?
01-06-2011 01:21 PM
Are you sure that the case you are showing is the one executing?
01-06-2011 01:25 PM - edited 01-06-2011 01:25 PM
self = idiot -> true. I was in the correct case but the case was stuck in a timeout so it never exited, thus never switched the final boolean to true.
01-06-2011 02:02 PM
Well next time try using the Expect function inside of the select. ![]()
Don't feel bad. I once had to post a sample VI because I could not get a control to operate, only to have Dennis tell it was disabled. (that is a double-duh).
But while we are the subject of following the wrong track...
In LV 2010 RT there is a bug that prevents probes from updating which can (well it did) lead me into la-la-land trying figure out why the case never ran.
So if you are debugging 2010 RT and a probe is not updating and you wonder if the code is being executed, don't trust the probe, create an indicator.
Ben