04-07-2009 02:31 PM
Hi,
So my task is this: I need to capture a signal from a TV remote, and display which button was pressed on the screen. The signal is being read using a S1U60 Phototransistor hooked up to a DAQ system. My problem is this: I can recieve the signal just fine, but capturing just the part that contains my "message" is very difficult. Especially since the DAQ set-up I am using is E-series and therefore does not support analog triggering. Thus, I must rig my LabView VI to somehow trigger the signal as its coming in. Oh and one last requirement, this all has to be done in "real-time" which means the user presses a button on the remote and a boolean lights up in LabView, and doesn't turn off until the user lets go of the button.
Thanks in advance for any help,
-Bill
04-07-2009 04:11 PM
04-08-2009 09:57 AM
Bill,
BrentShenk's approach is a good one. Set up your analog acquisition to be continuous. Run it in a loop parallel to the GUI loop. Pass the data via a queue or action engine. Look at the Producer/Consumer Design patterns for examples.
This is a very brief introduction to the concept. If you need help with implementation, ask specific questions.
Lynn