LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Attach two blocks

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 ....

 

Download All
0 Kudos
Message 1 of 2
(2,350 Views)

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.

 

0 Kudos
Message 2 of 2
(2,327 Views)