Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionWhat you will want to do is watch the DSR line and, whenever it changes state, capture the value of the high resolution timer. If you subtract the preceeding timer value from the current timer value, you will have the duration of the pulse or space. Keep in mind that this is a real-time application and Windows is not a real time OS. So, you will probably get erratic results. This is why most people use microcontrollers for this type of application. If you want to capture the actual code sent by a remote control, you will have to know how the data is encoded into the infrared signal. I'm not familiar with Igor, but my guess is that the codes it is sending to Girder are not the actual codes that the remote control is sending. It is probably using some sort of mathmatical algorithm to produce unique codes from the captured state information.