Thanks so much for this tip and link, it solved my problem as well. I am so happy. I have tried to fix this problem on my Mac forever and now it is fixed.
I use LabView 8.0 (German version), LabVIEW Toolkit for LEGO MINDSTORMS NXT and nxt_toolkit_1_0_1_patch on Windows Vista. Mass compilation was whithout errors.
If I try to compile some VI's, I get the error message "Unsupported case structure value. Only single value cases and Default, are supported." I think, this problem was solved with nxt_toolkit_1_0_1_patch ???
I found a bug in the Qoutien & Remainder, when using nagatives input.
I have made this workaround to get the same result on the NXT, as it was intendet on the PC.
I think it is a serius bug, and i find i strange that no one have encountered the bug before.
I am using LabVIEW 8.0 with NXT Firmware 1.05.
Are there anybody, who can reproduce this bug?
Is this something NI/LabVIEW will make a patch/update to fix?
Thank you for reporting this issue!
I was able to reproduce the bug. On NXT, the quotient and remainder function returns a different set of values from when running it on PC, if one of the input is negative. We'll fix it in the next release of the NXT toolkit.
If we are only talking about quotient and remainder, the values returned on NXT are not wrong either. But the LV PC "quotient and remainder" returns the floor of "quotient", and calculate the remainder using the floor of the quotient, as indicated by the labels of the indicators. Since the "quotient and remainder" function on NXT inherits the names of the indicators from its PC version, it should be consistent with the PC version.