04-06-2017 03:45 AM
I acquired an Electrooculogram (EOG) signal which varies depending on our eyes movement. Now, the signal's waveform has an amplified voltage amplitude in volts on Y-axis and the acquisition time in seconds on x-axis. The aim of my project is that: whenever any value of the voltage (Y value) is <5 = turn on the first LED, 6-10 = turn on the second LED, 11-15 = turn on both, Default=turn of both. Here, I want to use the Y value (I care even for a single value to be in a range) as a case selector. please, help me.
Keneni, from India
thank you!
05-09-2017 07:36 AM
Hi,
it is not clear what the minimum and the maximum values should be. An attachment of your work (VI) is always useful to provide you assistance.
Here are some hints:
Use a while loop
Use some comparison tools inside of the while loop...
And if you still need some hints, please attach your VI or a screenshot.
Good Luck.