01-01-2021 11:06 AM - edited 01-01-2021 11:52 AM
Hello,I'm new with LabView.I have a student project with traffic light.I want to process it's signal and measure it.Can someone help is it possible to do it or not? And if it is possible can someone explain it to me or send me an example how to do it Thanks in advance. How to do it in this project that i found here?
01-01-2021 11:40 AM
@Labi2501 wrote:
Hello,I'm new with Matlab.I have a student project with traffic light.I want to process it's signal and measure it.Can someone help is it possible to do it or not? And if it is possible can someone explain it to me or send me an example how to do it Thanks in advance. How to do it in this project that i found here?
If you want a matlab solution, you probably should not post in the LabVIEW forum. (If you want to use LabVIEW, it would be important to know how familiar you are with LabVIEW.)
Where did you find the attached VI? Maybe there is more information where you found it? It basically is a simple state machine that is somewhat flawed because of the relatively long waits. I would probably spin the loop at a constant rate and switch states according to elapsed time.
Is this part of a course? Homework?
01-01-2021 11:51 AM
Hello,I found it in a forum that was posted about 10 years ago,that's why I didn't ask there. If you can help I would appriciate it. I'm working on a school project with Matlab and Labview but I'm a noob in Labview. I asked if it is possible or not to do an measurement and process of traffic light signal.And I posted this example so somebody could help me with that and can change anything in this file.So I can see and learn how to do it.If you can help something it would be great.Thanks.
01-01-2021 11:54 AM
Sorry,I made a mistake.In my mind I was writing Labview but here I wrote Matlab.I corrected the mistake. The question is about Labview.
01-01-2021 12:07 PM
@Labi2501 wrote:
I asked if it is possible or not to do an measurement and process of traffic light signal.
It is not clear at all what you want to do. What do you want to measure and process?
Your attached VI simulates a traffic light, nothing to do with measuring and processing? Are you for example trying to point a color camera at the front panel and process the video to detect the light changes? Please be much more specific.
01-01-2021 12:21 PM
I want to do a graph at any point of this.For example when the color of traffic light changes or when I click the switch.It doesn't matter where it is as soon as the graph apears.Maybe I'm not clear at all but I'm beginner at Labview.I didn't knew before that with Labview it was possible to do a measurement or processing of a signal.I believe that is a signal that comes and put to work all the lights and things.If at any point of it I can make a signal processing or a measurement of something or a graph it would be amazing. Is it possible to do something about it or not?
01-01-2021 12:28 PM
The project I have to do is something like this that i posted here.I believe that after a time a will do it with a camera to detect colors.Maybe with this project I can't do a signal processing or a measurement of anything.I just wanted to ask if that would be possible or not. What signal block can i put in a project to do a signal processing and measure it in Labview? Maybe i'm just writing stupid questions but this is because I don't have any experience in Labview.Thanks for your replys.
01-01-2021 03:28 PM
Hi Labi,
@Labi2501 wrote:
just wanted to ask if that would be possible
Yes.
@Labi2501 wrote:Maybe i'm just writing stupid questions but this is because I don't have any experience in LabVIEW.
It seems you don't have experience to explain the problem with simple words, no matter which programming environment is to be used...
@Labi2501 wrote:
What signal block can i put in a project to do a signal processing and measure it in Labview?
You can use all of them!
Again: you need to describe the problem much better to be able to develop an algorithm to solve it...
01-01-2021 07:20 PM - edited 01-01-2021 07:25 PM
It's a traffic light.
What kind of signal processing and measurements can you make?
The only thing I can even think of that you could do as far as analysis with LabVIEW would be to monitor all the "lights" and "lane sensors" and use a Digital Waveform Graph to create a timing diagram for various traffic scenarios.
01-02-2021 11:54 AM
How to do that? Any advice or example?