10-06-2022 02:56 AM
This program is used to detect eye movements based on the polarity of the signal. the polarity detected on channel 1 and channel 2 is the half-signal polarity. I will make the results of this motion detection as a command input for the device.
in this program, the polarity relationship with the command as shown below.
eye activity that is detected looking up is when the eye from its normal position then looks up. but when looking back to the normal position, a signal will be detected as when looking down.
how to make the image algorithm below in labview, I want the first relatime signal to be executed for the direction of eye movement, and the second signal to be treated as a stationary signal, to eliminate errors in the output ?
The detected eye activity looking up is when the eye from its normal position then looks up I want to execute the signal. but when looking back to the normal position, a signal will be detected as when looking down this signal I don't want to execute as output
please help me, thanks
Solved! Go to Solution.
10-06-2022 02:58 AM
this my Vi
10-06-2022 09:32 AM
Your table is incomplete, because your typedef has three states Positive, negative, neutral.
You did not attach your various type definitions.
10-06-2022 09:47 AM
@Array01 wrote:
Assuming that negative and positive are the only two possibilities for each CH, all you needs is the following:
Once you know what to do if neutral is also possible, the code can be expanded accordingly.
10-06-2022 09:55 AM
@Array01 wrote:
The detected eye activity looking up is when the eye from its normal position then looks up I want to execute the signal. but when looking back to the normal position, a signal will be detected as when looking down this signal I don't want to execute as output
You need another variable (shift register) to store what the previous state was. If negative and previous state was positive, set it to neutral.
10-06-2022 12:01 PM
thank you sir
10-06-2022 12:03 PM
thanks for your suggestion sir,
can you give me some example program tu get before status?
10-06-2022 01:04 PM
@Array01 wrote:can you give me some example program tu get before status?
I don't understand what that means.
10-06-2022 05:42 PM
@Array01 wrote:
The detected eye activity looking up is when the eye from its normal position then looks up I want to execute the signal. but when looking back to the normal position, a signal will be detected as when looking down this signal I don't want to execute as output
You need another variable (shift register) to store what the previous state was. If negative and previous state was positive, set it to neutral.
Thanks Sir, can you give me some example to execute the signal