07-27-2017 10:38 AM
I' m doing some simply osciloscope for school and I have few question about it.
1. Is it true that one program can only have one event structure? Because when
I do another program is blocking.
2. When I change something on the front panel it doesn't register until I change
something inside the event structure. How do I set up to receive new data?
3. How do I make that all data from the knobs are taken when starting the program?
07-28-2017 05:07 PM
07-29-2017 08:18 AM
@mgudel00 wrote:
1. Is it true that one program can only have one event structure?
You can have more than one, but here you only need one.
2. When I change something on the front panel it doesn't register until I change something inside the event structure. How do I set up to receive new data?
I'll describe one method that will work for your code.
3. How do I make that all data from the knobs are taken when starting the program?
I'll describe one method that will work for your code.
There are a number of ways to do this, but here is one suggestion:
Oops -- sorry, I was not looking at the clock, and have an appointment soon. I'll try to come back here this afternoon, and if someone else hasn't materially solved your question, I'll come back and continue. One thing I'll look at, in the meantime, is just how well the Example Producer/Consumer template matches what I'm trying to convey (so I don't lead you too far astray).
Bob Schor
07-29-2017 12:12 PM
Thank you a lot. I found something on youtube about clusters and I think I know how to do it now.
Also, I found something about Costumer/Producer Design but I don't have an idea which parts I need to put in which loop. Is the way how loops are connected unique or I have to adapt it to my project?
07-29-2017 12:18 PM
I create event structure because without it a knobs for changing V/division wasn't work well. And it was the best way for solve that problem (which I know). If you have an better idea I would be happy if you share it with me.
07-29-2017 12:39 PM
Aha! Your questions show that you really do not know enough about LabVIEW to be undertaking such an ambitious Project.
So the first question to ask is -- Do you want to learn LabVIEW? On the plus side, it is not as difficult to learn as some other Programming Languages, largely because it is graphical and a bit more intuitive than some, and it is kind of fun to use. On the minus side, it does take some time and effort on your part.
The second question is -- what resources do you have? Are you currently in school? High school, college, or graduate school? Do you have some familiarity with engineering disciplines (even casual, like an "interest")? Are there faculty or "gurus" around?
If you look at the first page of the LabVIEW Forums, there are a number of tutorial possibilities listed. Depending on your answers to the second question, some of these might not be available to you, but I strongly encourage you to spend a day or two doing as many of the basic tutorials as you can to get more familiarity with LabVIEW, its functions, and its behavior. You should find the answers to the questions you asked in response to my earlier post.
In the meantime, I'm going to explore coming up with an example Project that illustrates some of what I was starting to say in my earlier post, which I now realize is "over your head" at your current level of experience. It may take me some more time, so spend it with the tutorials (and do answer my questions so I'll know what needs more explanation).
Bob Schor
07-29-2017 01:09 PM - edited 07-29-2017 01:12 PM
Exactly. This project is the first thing what I have done in LabVIEW.
I chose to make an osciloscope in LabVIEW for the final work on college. All I was know (before) about it is that it is some graphical language and that I can make osciloscope in it. So, all I know is what I done in it.
The basic source of my knowledge about it is youtube and generaly internet.
Ye, I want to learn LabVIEW because it looks interesting to me.
Now when you told me what to do I will explore it. Thank you very very much!!
I'm not very good in English so I hope you will understand what I wrote.
Have a good day 😄
07-29-2017 02:46 PM
Kudos to you for being so willing to learn! As a "reward", and to give you some incentive to explore some code and figure out "What was he thinking?", I threw together some ideas about how I would make a Function Generator using some of the principles I mentioned in my earlier post.
Here are some things that are probably new to you, but which I encourage you to learn about and to use as you start playing with LabVIEW:
Good luck with your endeavors. Don't worry about your English -- it is much better than my Polish!
Bob Schor
07-30-2017 08:25 AM
I've seen there are projects. But I didn't know how to realize the oscilloscope so I often changed a parts. So it was complicated to me.
Also, I was thinking of making a separate function generator from the oscilloscope, but I didn't know how to connect them, so I gave up.
Thank you once again 😄
07-06-2022 02:04 AM
Hi Rob I hope you're doing well
I have questions about sending data from this function generator by mqtt
Please give me your email I want you to see what I did