LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulsatile Linear Actuator Control - Help Needed

Solved!
Go to solution

Hi,

 

I have a VI that controls the speed of a linear actuator, which is placed within a case structure. A limit switch input switches

the case structure between forward and reverse. This allows the actuator to move in a continuous motion either forward and

reverse. What I would like to achieve is a pulsatile movement. The linear actuator operates for a set time and completely off

for a set time.

 

I have tried various approaches with the elapsed time function, alternating wait times but just can't seem to get this, any help

would be greatly appreciated, I have attached the VI.

 

Thanks

Ger

0 Kudos
Message 1 of 4
(2,396 Views)

A few things:

Are you using the Run Continuously button?

If so, stop and put this into a proper loop or state machine.

 

I don't think the Elapsed Time function is what you're looking for.

I think you want to use Time Delays between changing the output on your digitals.

 

Take some time with the LabVIEW tutorials. They'll help you a bunch here.

0 Kudos
Message 2 of 4
(2,388 Views)

Hi Taki1999,

 

Thanks for your help, I've gone through the tutorials and understand the usage of the timing functions but I am

mainly stuck on how to best use them to achieve the ON/OFF that I am looking for. Any help would be great.

 

Regards

Ger

0 Kudos
Message 3 of 4
(2,350 Views)
Solution
Accepted by topic author GOB82

Try a state machine.

When forward button is on, alternate between a off and on state for forward with a wait inside.

Same handling for reverse.

 

Message 4 of 4
(2,318 Views)