LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Klasifikasi Sinyal Pergerakan Mata

Solved!
Go to solution

Hello semuanya

Saya ingin membuat program labview yang sinyal yang sudah saya dapatkan. Sinyal tersebut merupakan sinyal arah pergerakan bola mata. Saya ingin membuat program dengan algoritma sebagai berikut.

 

Saya telah membuat program seperti yang telah saya lampirkan di bawah. Akan tetapi, program tersebut tidak berjalan dengan baik. Karena ketika di beri sinyal dengan polaritas (+)(+) lampu yang hidup ada dua. Dan ketika diberi sinyal ke bawah tidak ada indicator yang hidup.

Bagaimana cara saya bisa mengklasifikasikan sinyal tersebut. Dan saya ingin membuat indicator berubah sesuai dengan sinyal yang diberikan, apabila diberikan sinyal Panjang seperti berikut, dimana ada sinyal kanan dan kiri.

image.png

Mohon Bantuannya

 

Terima Kasih

0 Kudos
Message 1 of 9
(3,371 Views)

Hello,

 

From Google translate :

I want to create a labview program which is the signal that I have gotten. The signal is a signal the direction of movement of the eyeball. I want to make a program with the following algorithm.

I have made the program as I have attached it below. However, the program did not work well. Because when given a signal with polarity (+) (+) lights that live there are two. And when given a signal down there are no indicators that are alive.

How can I classify these signals. And I want to make the indicator change according to the signal given, if given a Long signal like the following, where there are right and left signals.

 

What I understand :

  CH1>0 CH2>0
Up FALSE FALSE
Right FALSE TRUE
Left TRUE FALSE
Down TRUE TRUE

But Top and Left had the same condition.

 

I attach the new program. Does it do what you want ?

Yddet

Message 2 of 9
(3,333 Views)

Thank you for your response,

Yes, I want to classify signals based on the polarity. But I'm sorry, I can't open your vi because I use Labview 2012. Can I ask for the snippet or just the Screenshoot, so I can copy it to my program?

 

 

Regards,

 

Jenni

0 Kudos
Message 3 of 9
(3,296 Views)

Halo semuanya

Salam kenal, saya Novi. Saya ingin membuat program labview untuk mendeteksi kedipan mata. Kedipan mata ini terdiri dari kedipan mata sadar, tidak sadar, kedipan mata kiri dan kedipan mata kanan.

 

Saya ingin membuat program dengan algoritma sebagai berikut :

Sinyal untuk kedip mata kanan, amplitudo ch1-nya lebih besar. Sedangkan untuk kedip mata kiri, amplitudo ch2-nya lebih besar. Dan untuk kedip sadar, amplitudo ch1 maupun ch2-nya akan lebih besar dibandingkan kedip tidak sadar.

 

Saya telah membuat program seperti yang telah saya lampirkan di bawah. Namun, program tersebut tidak berjalan dengan baik. Karena tidak bisa mendeteksi sinyal berdasarkan amplitudonya. Saya juga ingin membuat indicator berubah sesuai dengan sinyal yang diberikan, jika diberikan data sinyal yg banyak sebagai berikut.kedip_sadar.pngkedip_kanan.pngkedip_kiri.png

 

Mohon bantuannya, 

Terima kasih

0 Kudos
Message 4 of 9
(3,320 Views)
Solution
Accepted by topic author jennichrni

Jenni,

Please find attached the program in LabVIEW 2012

 

Top and Left had the same condition.

Does it do what you want ?

 

Novi,

From google translate:

Hello everyone, Greetings, I'm Novi. I want to create a labview program to detect eye blinks. This blink consists of blinking conscious, unconscious, blinking left eye and blinking right eye.

I want to program the algorithm as follows: Signal for right eye blink, amplitude ch1 is greater. As for the left eye blink, the amplitude of ch2 is greater. And for the conscious blink, the amplitude of ch1 and ch2 will be greater than the unconscious blink.

I have made the program as I have attached it below. However, the program did not work well. Because it cannot detect the signal based on its amplitude. I also want to make the indicator change according to the signal given, if given a lot of signal data as follows.

 

Although your problem is very similar, please post your own topic. It will be very messy if we start to solve two programs at the same place.

 

EDIT: I see you had your own topic but it was merged. I will have a look at your program later

Yddet

0 Kudos
Message 5 of 9
(3,217 Views)

Novi,

I don't think the peak detection is the way to go. Look how jenni did it and adapt the code

Yddet

 

0 Kudos
Message 6 of 9
(3,213 Views)

Thank you for your response Mr.Yddet, and thank you for attached the vi.


@Yddet wrote:

 

Top and Left had the same condition.

Does it do what you want ?


No, what I need actually is to classified the signals using the polarity, I want, when the polarity of the signals are (+)(+), it will be classified as Up signal, same goes with the left signals, when it becomes (-)(+), it will be classified as Left signal.

 

I have looked at the program which you attached, but why did the indicator always go to the Up indicator when the signals of each Channel are Zero Zero?

Capture.PNG

 

I have changed the threshold value, so the noise won't disturb.

 

Sorry for my error grammar, hope you understand it

 

Regards,

Jenni

0 Kudos
Message 7 of 9
(3,198 Views)
Solution
Accepted by topic author jennichrni

Jenni,

You have the truth table to decide when to turn the LEDs ON but you didn't gave it.

You have a beginning of program doing half the job, continue ! It's not optimised but will work if you continue modifying it. The code tests if the signal is positive, you need to add tests for when its negative.

 

I share a different way to achieve your goals in the attached program. You don't have to choose this solution if you are not confortable with it.

Yddet

0 Kudos
Message 8 of 9
(3,191 Views)

Thank You for your response.

Actually the program which you attached helps me so much

 

Thank You for your help

 

Regards

Jenni

0 Kudos
Message 9 of 9
(3,156 Views)