For standard Labview data types (I32, string, etc.) I'd like to see another class of item - we have control, indicator, constant, reference - we need 'types'.
The idea is that for Type Cast and other functions that require you wire a primitive datatype regardless of content, it's a pain to have to allocate an instance of a variable just to get type.
I end up creating variables called 'I32 type' etc just to accomplish this, because it is much more correct and clear than wiring some other variable of the correct type that has no real reason to be involved.
Another way to accomplish this would be to have a property of each function that requires a 'type' variable that... "Use output datatype". It's already wired...
And the compiler wouldn't have to allocate space for the variable that is required only to get type information...
In C I can specify a type without allocatiing space, why can't I do that in Labview?
(char *) p;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.