02-12-2013 02:13 PM
Hi everybody,
I've been searching for examples to try to understand why a wire I'm using becomes to double type. I thought it was because the number of bits was higher than 64 bits (LabVIEW doesn't process 64 bits with fixed-point). Can someone give an idea of why is this happening? Watch the images below to see what's the wire wich causes conflicts. The constants have the value of 1 because I tried to use the minimum bits number and due the operations have in the end a word lenght higher than 64 bits. If you can lead me to a link where someone could have a similar problem it's ok. Thanks in advance.
Solved! Go to Solution.
02-12-2013 06:40 PM - edited 02-12-2013 06:41 PM
When LabVIEW doesn't know which numeric representation to use, it generally defaults to floating point. This happens in cases like this where shift registers are used and there's a mismatch of fixed-point represenations. You can get around this by configuring the output data type of the multiply nodes. Right-click the multiply node, select "Properties", then select the fixed-point representation you want on the "Output Configuration" tab. This will enforce the data type.
10-23-2013 03:40 PM
The solution for this discussion was to change every VI to Single (SGL) format. Thanks for your answer CMal. I guess I'll choice your answer as the solution because I followed your suggestion. Thanks.