07-12-2010 06:59 PM
Solved! Go to Solution.
07-12-2010 10:40 PM
I haven't used the radio in my car in years, so I'm not sure I can even remember how the scan and seek are supposed to work. From what I recall, with the seek I would press the button once and it would hunt for the next station. With the scan I would keep the button down and it would keep the dial moving. I think. Is this the operation you were intending? If so, you really wouldn't need anything special. The first can be done with a standard button that uses the latch mechanism and the second can be done using the switch until released mechanism. Were you intending a different kind of operation?
07-14-2010 08:25 PM
07-14-2010 08:42 PM
You need to post some code. Your attachment is not there.
To right to an indicator for different locations, you can use a local variable of that indicator. Just be careful with the architecture of your code so you don't have a risk of race conditions where the multiple locations are battling to do the writing. I think you may want to use an event structure in your architecture which is the best way to handle UI events such as button presses.
07-16-2010 05:31 PM
I'm sorry about that, I thought I had attached the code but I guess I'm didn't. Here it is again.
07-18-2010 03:30 PM
You need to put the code inside the loop, otherwise it only gets read at the start of the program. You also need to use a shift register to keep track of the current station. Attached is a modification that does just the Seek Up/Down. See if you can figure out how to add the other code.
07-19-2010 09:36 AM
Would be neat to see a LabVIEW based carputer interface.
08-24-2010 03:28 PM