Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67316

LabVIEW Program issue

$
0
0

I am currently a student trying to code this LabVIEW program however, I am running into an issue when it detects red.

The first time it detects red, it follows the program (the song is just there to let me know its reading correctly). The 2nd time it detects red, it follows the "yellow" or "green" program. The 3rd time it sees red it just turns off the main motor. 

 

Port A - medium motor used to spin to sort.

Port B - big motor turning a conveyor belt continuously for 240 seconds.

Port 1 - color sensor

 

This is a color sorting/reflected light sorting program.

***THIS IS FOR A GRADE***

I am not looking for the answers just checking to see if the whole program is written incorrectly or if I'm missing one vital thing.

I am trying to understand why it tries to do a different program once it detects red again.

I have attached my test code so far.

Thank you for any and all feedback, this is my first time using LabVIEW and its been fun up until this issue.


Viewing all articles
Browse latest Browse all 67316

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>