07-25-2025 02:33 AM
Can you give me an example of a state machine like the one you described? thank you🙏
07-25-2025 02:59 AM - edited 07-25-2025 03:00 AM
07-28-2025
10:56 AM
- last edited on
10-09-2025
03:21 PM
by
Content Cleaner
There is also this: State Machine
08-05-2025 12:55 PM
Gerd and crossrulz thank you for your response, previously I will create a program to move 2 motors with very different characteristics as well as the program, here I will create many programs with different motor movements, which will use a lot of case structures that are very stacked. One of the movements that I will make is almost the same as the raw file that I attached.
according to the instructions and examples I avoid stacked whileloops, my problem now is how to find a last value in a new program, without whileloops and without saving it, (the last value must not change before the loop has finished in a structure). how to do it? because it is an important component that must be there to run the program, I hope anyone can help, help me master, thank you very much🙏
08-05-2025 01:21 PM
This vi is in LabVIEW 2025. Most people that are going to provide support are not using LabVIEW 2025. You should save for a previous version and save for like LabVIEW 2020. This way you get more help.
08-05-2025 07:55 PM
LabView 2008
08-06-2025 12:53 AM
Hi sinclair,
thanks for downconverting your code. (Next time please don't rename the CTL file after conversion…)
@sinclair15 wrote:
I will create a program to move 2 motors with very different characteristics as well as the program, here I will create many programs with different motor movements, which will use a lot of case structures that are very stacked.
No, you don't need "a lot of stacked case structures"! Use a better code architecture!
@sinclair15 wrote:
according to the instructions and examples I avoid stacked whileloops
Which "instructions"?
Why do you want to use (or avoid) "stacked while loops"?
@sinclair15 wrote:
my problem now is how to find a last value in a new program, without whileloops and without saving it, (the last value must not change before the loop has finished in a structure). how to do it? 🙏
You really need to learn how to describe/express your requirements much better.
Describing requirements correctly is the first step in creating good programs!
08-08-2025 09:09 PM
problem has been solved, just fix the data flow logic, thank you gerd, thank you all🙏