04-21-2019 10:07 AM - edited 04-21-2019 10:13 AM
Hello there ,
Guys now I have multi state machine " Four States " reference one and another three one and I want to access to any of the three state from my reference state to make a vending machine , as you can see in my uploaded pic , one more thing I want to know how to get a clock in this software to use it in my flip flop design .
Thx in adv
04-21-2019 10:49 AM
Today is your first day on the Forum, and you haven't found the "unofficial rules" nor explored enough to learn how to use the Forum to best results. Here are some suggestions:
Bob Schor
04-21-2019 11:24 AM
Hello Dear first ,
My intention is learning not asking for someone to do my homework , and I watched some tutorials for this software and I tried to make some projects on it , but I problem is I don't know how to compare between states in case structure I mean , I want when no switch is pressed I stay in start state and when 1 switch is pressed I want to detect which switch exactly is pressed to do my next action , but I don't know how to make this ,
04-21-2019 11:33 AM - edited 04-21-2019 11:34 AM
my project files
04-21-2019 11:38 AM
my files
04-21-2019 12:10 PM
Of, you have two different questions:
For (1) you are showing the picture of a front panel, which has zero information content. For (2), I have no idea what flipflops have to do with clocks. Flipflops is something you wear on the beach. If you were thinking about circuits, you should know that LabVIEW is a programming language, not a curcuit design software.
OK, so you finally posted your code and as Bob already said, your in dire need of some introductory tutorials first.
In the meantime, here are some initial comments on your code:
So please do a few simple tutorial (or ask your teacher). Then sit down and start with a detailed description on what the user should see, how the user is supposed to used it and what should happen in what order as a result. Then translate into code.
04-21-2019 05:17 PM
Definitely spend time with Tutorials (or pay attention in class) and learn how LabVIEW works. It's not all about an Interesting Front Panel, but about thinking about what you want to do. The Front Panel is just a means of interacting with the User (a User Interface, which some abbreviate as a UI).
You mention a State Machine. What are your States? Do you know about State Machines? What are your States? [What happens?] How do you go from one State to another?
Sometimes if you don't understand a complex topic (like what is a State Machine, and how do I design one), you can look at one tiny aspect of your code and write a small VI that just does that. Since this is your problem, your State Machine, and your Front Panel, I'll leave this up to you. But learn a little more LabVIEW first -- at least go through the tutorials, doing all of the examples (or at least reproducing them yourself on your PC).
Bob Schor