LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

if statement/case structure motor control

I'm using numerical values from an excel spreadsheet to go through an if statement/case structure and then depending on the numerical value, change the direction of the motor (see attatched file).

 

The if statement is basically:

 

IF  Data Value = 1, Motor motion stays the same

IF Data Value > 1 , Change Direction

IF Data Value <1 , Change Direction

 

The Data Values will be read from an excel file as inputs to the case structure

 

I want the if statement or case structure to operate as mentioned above but Im not having any luck through my attempts.. Any help or advice would be appreciated!

 

 

0 Kudos
Message 1 of 2
(2,728 Views)