04-23-2025 07:30 AM
Currently, I’m unable to share the VI file, but based on the comments and my own research, I’ve tried three different approaches. However, since I couldn’t resolve the issue, I wanted to ask for your help.
04-23-2025 07:47 AM
Hi dogukan,
@dogukan12324 wrote:
Currently, I’m unable to share the VI file, but based on the comments and my own research, I’ve tried three different approaches.
So you show 3 different images with just small parts of your block diagram!?
None of those images allow us to help you…
@dogukan12324 wrote:
However, since I couldn’t resolve the issue, I wanted to ask for your help.
You should step back and start over with the Training resources offered at the top of the LabVIEW board.
Especially focus on "THINK DATAFLOW!" as the basic LabVIEW mantra: you cannot connect two data sources with a wire!
04-23-2025 10:02 AM
I'm trying to understand what you've explained — this is my first LabVIEW application.
I tried to use the Case Structure like an if-else block. I thought that if the elapsed time reached 60 seconds, the structure would enter the True case and return a True value, which I could wire to the While Loop's stop terminal to end the program.
As a simple attempt, I also tried using a local variable of the Stop button in my application. My idea was to send a value to the Stop button when the time reached 60 seconds, so the system would stop. It was a basic test approach.
Best regards
04-23-2025 12:28 PM
I have now completed the assignment... I finally realized my mistake — I had been struggling with this for days just because I didn't use the OR block... After adding the OR block and making a few small adjustments, I was able to complete it. I might have been a bit frustrating and annoying while working on this assignment... But completing this assignment taught me a lot. I sincerely thank all of you.
04-23-2025 12:29 PM - edited 04-23-2025 12:30 PM
Hi dogukan,
@dogukan12324 wrote:
I tried to use the Case Structure like an if-else block. I thought that if the elapsed time reached 60 seconds, the structure would enter the True case and return a True value, which I could wire to the While Loop's stop terminal to end the program.
So you need a case structure that outputs a TRUE when the selector condition is TRUE? why not use the selctor condition itself???
This is called "Rube-Goldberg code" and there is a whole thread with bad examples…
@dogukan12324 wrote:
As a simple attempt, I also tried using a local variable of the Stop button in my application. My idea was to send a value to the Stop button when the time reached 60 seconds, so the system would stop. It was a basic test approach.
You still don't understand you should use a boolean function (like OR) to handle two stop conditions?
Have you learned anything about boolean logic (independently from LabVIEW)?
Edit: we wrote our messages nearly the same time. It's nice to know you solved your homework!
04-23-2025 12:29 PM
@dogukan12324 wrote:
...the structure would enter the True case and return a True value, which I could wire to the While Loop's stop terminal to end the program.
If you have a true case, you already have a true value wired to the condition terminal. Use that directly. No case structure needed.
04-24-2025 01:10 PM
Hi,
I want to place the system I designed into a box to make it look better. However, it stays behind the box, like in the example. How can I fix this?
Best regards.
04-24-2025 02:42 PM
Hi dogukan,
@dogukan12324 wrote:
However, it stays behind the box, like in the example. How can I fix this?
Use the Z order options in the frontpanel menu bar…
@dogukan12324 wrote:
I want to place the system I designed into a box to make it look better.
I don't think it will look "better" when you place rectangular decorations on the frontpanel.
Do you know any other software with a similar GUI design?
04-25-2025 08:36 AM
@dogukan12324 wrote:
Hi,
I want to place the system I designed into a box to make it look better. However, it stays behind the box, like in the example. How can I fix this?
Best regards.