12-02-2008 03:27 AM
Hi everyone..
Currently I am doing a system which analyzing the voice input then determine the direction of the motor movement using the processed input. So I built in in the state machine. In order to control the direction, I generate 2 output channels . There are 3 cases;right,left and stop. I am generating square waveform for each channel. For right case AO0-2.5V-AO1-0V, left case AO0-0V AO1-2.5V and for stop case,both channels,0V. So I have to make this 3 states in the state machine. How I want to used only one graph to display output voltage for which state in currently execute.Let say, if the input execute the first case, the output will show the output voltage graph for case1, then if I change the state, the output graph also change. Please anyone help me...
12-02-2008 03:46 AM
Hi anes_atica,
i´m not sure if i fully understand your problem, but if you want to see the different waveforms, then place the indicator outside the case structure and connect the waveform from each case to it. You have only one tunnel for it.
Hope it helps.
Mike
12-02-2008 03:53 AM