| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Slink-e / CDJ Discussion Archive #1

CDJ / SLINKSERV / Class File Major IR Bug Fix

Posted By: Colby Boles <cboles@s...>
Date: Wednesday, 5 August 1998, at 9:48 a.m.

I have just uncovered and fixed what I consider to be a major bug in the core part of the Slink-e control software which deals with IR. This is probably the source of many people's problems regarding trying to get IR on new devices to work. This bug affects the following programs when they try to transmit IR, regardless of whether you have a Slink-e 1.0 or 2.0:

* CDJ * Anything using the ActiveX Control / SLINKSERV * Anything you have written which uses device-level control to send IR via the classes CSlinkeDev / CDev / CSlinke (due to the way IRDEMO uses these classes, it was unaffected)

I would recommend downloading new versions (8/5) of these programs ASAP if you use IR. Below is a description of the bug and what problems it caused for those who are interested. Suffice to say that if you download the new versions, many constant and intermittent IR transmit problems will go away. Go ahead and try those troublesome IR devices again and I'll bet many of them work.

*** bug description ***

basically, there was an error in the low-level Slink-e command parser which caused some commands to be interpreted twice. In particular, commands such as irtxports[] were also interpreted as the command ir[]. A typical command string sent to CSlinke looks like this:

carrier[40000] irtxports[255] ir[2400 -600 600 -600 .....]

the irtxports command would first be properly interpreted and would enable all 8 transmit ports (if you have a Slink-e 2.0). Then the command would ALSO be interpreted as ir[255] - causing the Slink-e to send out ~255 microseconds of unexpected IR, followed by the actual IR you wanted to send. In the best case, this distorted the waveform. For Sony products, the start sequence begins with 2400us "on", so an additional 255us may still work. The problem gets worse however. In many cases this short IR burst caused the Slink-e to have a transmission timeout and not send the subsequent IR message at all.

The problem is fixed now, so go ahead and try those troublesome IR devices again and I'll bet many of them work.

Sorry about the error-

Colby

Responses To This Message

| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Password:

Slink-e / CDJ Discussion Archive #1 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21.