03-25-2022 09:43 AM
I created simple VI and I would like to stop when I start collecting data. It seems like I cannot stop the run once I start acquiring data. I have attached my blockd diagram.
Thank you for your help!
Solved! Go to Solution.
03-25-2022 09:54 AM - edited 03-25-2022 09:56 AM
Hi GRCK,
@GRCK5000 wrote:
I would like to stop when I start collecting data. It seems like I cannot stop the run once I start acquiring data.
The VI exactly does what you have programmed/configured to do! (This might be different to your requirements…)
Did you read the LabVIEW help for the event structure?
Did you read the "Caveats" section for the event structure?
Did you understand all the items written in there?
One main point: the code inside an event case should be executed within a (very) short period of time. This usually prevents using loops within event cases!
One more item: did you configure the event case on your own? Do you understand all the options in the event case configuration dialog? Did you set them all to useful values? (Answer: No!)
What's the point of those local variables in that tiny VI???
03-25-2022 09:59 AM - edited 03-25-2022 10:03 AM
OK OK, I'll find a different way. Not everyone have access to the free labview course. I don't. Everyone talks about free labview course, but no one shares the link. I am learning labView using this forum and watching video, but then you have people roasting me for this. We all have different ways to learn. I personally learn by doing and if I get something wrong and you correct me. I'll not repeat the same mistake again.
03-25-2022 10:04 AM - edited 03-25-2022 10:44 AM
03-25-2022 10:13 AM - edited 03-25-2022 10:13 AM
Mr. Altenbach. It seems like for some people you cannot ask anything here. They want you to be an expert or intermediate level. If you are a beginner, people wants to be rude/mean. You are an exception though. Even when someone corrects my bad block diagram, I always spend time to understand what they did and try to see what I am doing wrong. I always take note. Trust me and I can share my note.
03-25-2022 10:31 AM - edited 03-25-2022 11:09 AM
Here are some quick comments:
03-25-2022 10:41 AM
03-25-2022 11:32 AM
@GRCK5000 wrote:
Mr. Altenbach. It seems like for some people you cannot ask anything here. They want you to be an expert or intermediate level. If you are a beginner, people wants to be rude/mean. You are an exception though. Even when someone corrects my bad block diagram, I always spend time to understand what they did and try to see what I am doing wrong. I always take note. Trust me and I can share my note.
You can ask anything here and you got a useful answer within 13 minutes!!! It was not rude. Just because it did not spoon-feed you in intricate detail does not mean it was not useful. Read it again! Very good advice!
You have been here for over two months progressing at a crawling pace (looking at your questions history), so obviously something did not fully click and you seem to have significant misconceptions about the magic of dataflow and LabVIEW programming in general. Once you get the hang of it, things will fall into place.
Problems with learning LabVIEW concepts can have many reasons:
03-25-2022 11:51 AM
Hi GRCK,
@GRCK5000 wrote:
I am learning labView using this forum and watching video, but then you have people roasting me for this. We all have different ways to learn. I personally learn by doing and if I get something wrong and you correct me. I'll not repeat the same mistake again.
Where did I "roast" you?
I just asked some questions on your code on how you created it. And I gave you hints on what you should (re)read in the LabVIEW help! Do you need more to learn LabVIEW?
Christian already gave you more information on where to find learning material and examples - use them!
03-25-2022 12:30 PM - edited 03-25-2022 12:31 PM
It sounds like you're getting some help with your specific problem so I'll help you out with the links you asked about:
https://learn.ni.com/pages/getting-started
https://learn.ni.com/courses/labview-core-1-lesson-1
https://learn.ni.com/catalog?labels=%5B%5D&page=1&query=LabVIEW%20Core%201&values=%5B%5D
Some of that DOES require an active SSP but it's pretty common to have those. Here's where I got the links:
Also, in LabVIEW, go to Help -> Find Examples. LabVIEW ships with a boatload of examples and 99.9% of them are actually really good and helpful. I've only found a couple that didn't help and they're for some fairly specific things.