06-24-2015 04:28 AM
Hi,
To keep my code clean and avoid repeated calculations, I want to use some intermediate variables in my formula node code. To create these variables, the only way I know is to create an output variable from the node, which of course ends up unused. Is there any issue/inneficiency created by doing this?
Thanks
Solved! Go to Solution.
06-24-2015 04:41 AM
06-24-2015 04:44 AM
Well i never knew... Thanks Mike!
06-24-2015 04:52 AM
06-24-2015 05:16 AM - edited 06-24-2015 05:24 AM
That's useful to know.
Does it support extended precision? I can't seem to define a float128 which I assume would be the equivalent of EXT. Not sure why it does not support the same data type names as external variable, e.g. I32, DBL etc.
06-24-2015 05:57 AM - edited 06-24-2015 05:59 AM
Hi ToeCutter,
thanks for the LabVIEW help, so we know which datatypes are supported!
In your case: float, float32, float64…
Not sure why it does not support the same data type names
Because it's a (subset of a) C compiler. Most C idioms use different datatype names than LabVIEW…
06-24-2015 06:13 AM
Indeed Gerd... RTFM... sometimes I don't take my own advice.
Lack of an EXT equivalent is a bit of a pain, and also in the interests of simplicity, don't see why 'DBL','EXT' etc types cannot be #defined behind the scenes.