12-02-2015 10:22 AM
Hello,
I am working an application that classifies keyboard note frequencies (via myDAQ assistant etxtract single tone) and the frequency is fed into the nxt case structues to control the robot depending on the frequency values.
The frequency is being read correctly, but the NXT robot is not reposnding and only turning on to the defualt case.
I cannot figure out why the case structure is ignoring the frequency inputs. attached are screenshots of the block diagram, and the .vi.
Thanks
evan
12-03-2015 10:37 AM
Have you tried turning on highlight execution to follow the data through the wires? It could be that the input to your case structure isn't what you're expecting, or that the frequency is what you expect but is not a valid input for the NXT robot. I would check what range of values are valid for frequency inputs for the robot.
The following resource provides information on highlight execution and other tools in LabVIEW.
Debugging Tools in LabVIEW