07-12-2010 01:08 PM - edited 07-12-2010 01:15 PM
Hello
I am new to LabView, I would like to link this two blocks but I don't know how, I am controlling a DC motor and I want to change the direction of rotation each time the counter detects pulses which 304 631 are issued by the motor encoder. I thought of a toggle but now I can not join them.
I leave the program for review
Thanks I hope your comments ....
07-12-2010 01:27 PM - edited 07-12-2010 01:29 PM
The problem is the dynamic data type (blue wire) caused by using all of those express VI's.
You need to convert the blue wire to a scalar data value using the From DDT express VI right before you compare it to the 304361. Then the result of the comparison will be a boolean (rather than another blue DDT) which will then wire up nicely to the stop terminal.
