02-26-2014 04:58 AM
Just to inform you guys. I checked on the LabVIEW version, it is 2010.
And unfortunately, Olly's program didn't work. I will try to install a newer version but on my own computer, I will check it sometime later on.
02-26-2014 06:18 AM - edited 02-26-2014 06:20 AM
No worries - here is the 2010 version.
RavensFan made some good points above. I would definitely break my code out into two different loops so it can process two cars passing the line at the same time (something that is probably likely to occur if the cars start at the same time and are similarly paced).
Olly
02-27-2014 04:53 AM
@OllyT wrote:
No worries - here is the 2010 version.
RavensFan made some good points above. I would definitely break my code out into two different loops so it can process two cars passing the line at the same time (something that is probably likely to occur if the cars start at the same time and are similarly paced).
Olly
I wonder is your code supposed to work with a photo gate sensor? Because it didn't work as expected.
02-27-2014 04:55 AM
The code is more a proof of concept than a working piece of software. It will not work with any sensors without you modifying it to do so. At present it just allows you to simulate a car passing the line by pressing a button on the front panel.
Have you done any coding to detect when a car passes the sensor?