04-06-2022 05:18 AM
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.
11-30-2022 08:33 AM
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.