LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Steering the motor with a .csv file

Hi,
I am a LabView Newbie.
I got a finished .vi file to steering and collecting data from a model-car.

The movement setpoint is changable but only manually.
For my project I need to make an automatic motor-steer-cycle. 
My idea was to write the setpoints in an .csv file and send one value at a time from top to bottom to the motor with a delay between each value. 

I searched for hours but I just can't find a solution for my issue. 
The .vi file is attached.

 

Thank you very much in advance.

0 Kudos
Message 1 of 2
(653 Views)

Dear ,

 

If I understand your problem correctly you can use state machine design pattern here. You can check this link : https://www.ni.com/en-us/support/documentation/supplemental/16/simple-state-machine-template-documen... .

The idea is that you design each state and after each state you change your state. 

 

best,

anasei.

0 Kudos
Message 2 of 2
(543 Views)