12-13-2011 06:02 AM
Good day all,
I am sorry if I am shifting my error to the wrong quarter. I have a vi(attached herewith).
I want the shift register to remember the values from "calibrate motor state" and use it on a (LA.............) visa write section in the "move motor state" . If for example my reading from the calibrate motor state is A, I want it to run the "LA70000" and if at another range say 5-10Hz I want it to run the "LA50000" and if at 25-30Hz I want it to run the "LA10000" command in the move motor state. Please what should I do?
12-13-2011 08:50 AM - edited 12-13-2011 08:52 AM
That VI makes no sense to me. There is no point in using three different shift registers when all you need is one to pass the value to one of three different states. You need some logic to select which of the three states you want to execute next. You have nothing now. Youve can either create three separate move states or pass the specific move type with a different shift register.