01-10-2020 09:19 AM
Must be Friday afternoon...
To come back the title of your question, I'd say: no, a typecast cannot create an error.
All values of 4 bytes will cast to a double. The doubles might not make sense, but the cast will always succeed and therefor cannot return an error.
01-10-2020 11:10 AM
wiebe@CARYA wrote:To come back the title of your question, I'd say: no, a typecast cannot create an error.
Yes, as we all can see, typecast only has one output, there is no "error out". This also means that you can literally feed it anything at run time and the GIGO rule applies.
(*The LabVIEW compiler has some protection and creates a broken wire with some combinations of inputs. e.g. you cannot cast 2D arrays, of course. Flatten/unflatten is more versatile)