PDA

View Full Version : PCTV IR-Receiver with any remote?



Mark F
October 13th, 2002, 12:55 PM
It's only code so anything is possible. :smile:

How about if I add the ability to change the state of some of the handshaking (DTR, RTS, others?) lines via commands? You could then build a multi-command which changed the line state and sent the "ir" string. Then you could attach the multi-command to the Girder startup event. These new commands will only be valid if you choose "handshaking none".

Does this sound sufficient?

Mark F
October 13th, 2002, 12:55 PM
I must admit, I do think about new features ALOT. If only I had time to implement them all. :smile: I'll see what I can put together over the next couple of evenings.

By the way, welcome to Girder.

Mark F
October 13th, 2002, 12:55 PM
If you send me an E-Mail (use the E-Mail button attached to this post) that I can respond to, I'd like to send you some code that implements the handshaking command. I need a tester before I can release it. :smile:

If anyone else would care to try it out, let me know.

Thanks.

Mark F
October 13th, 2002, 12:55 PM
I have now shipped the 2.2 beta to 3 folks. As soon as I get some feedback, I'll either post a new beta or publish the 2.2 plugin file.

Mark F
October 13th, 2002, 12:55 PM
Welcome to the Girder forums. :smile:

I've sent the new Serial (Version 2.2) plugin to Ron and he will get it onto the download (http://www.girder.nl/download.php) page as soon as he can.

I just imported your device config from your post above and it seems to match the instructions given in the post above yours so you should be set once you download the new plugin.

EDIT: Ron has place a link to the file on the download page.

_________________
Mark F

<font size=-1>[ This Message was edited by: Mark F on 2001-09-13 19:21 ]</font>

Jblomb
October 13th, 2002, 12:55 PM
I'm trying to make the PCTV ir-receiver work in Girder, but for the moment it doesn't seem to work. The DocS plugin is only intended for the PCTV remote, and I need to have more than 24 buttons, so I intended to use another remote. The Serial Port plugin almost does the trick, but I need to disable the DTR line and enable the RTS line, then send the command "ir" with no response. Other settings 1200,n,8,1.

The problem is to control the DTR/RTS line separately.

Any chance for a coming feature?

For the moment I'm using uICE, but that proggie lacks some features I need.

Jblomb
October 13th, 2002, 12:55 PM
It looks like you've given this some thought before. Anyway, this would be a great feature, and it would definiteley solve my problem. :smile:
Tnx

<font size=-1>[ This Message was edited by: jblomb on 2001-08-31 20:52 ]</font>

Jblomb
October 13th, 2002, 12:55 PM
It's working! Great!

Here's the settings I used to make it work.

Settings -> Hardware plugins:
Generic serial support -> Settings:
1200,n,8,1. Handshaking:None
Receive: Variable length/0d terminator/Strip terminator:yes
Enable receive timeout:yes/50
Enable modem events:yes
Add device prefix;yes Use name:yes
Translate bin/hex:yes

Settings -> Action plugins: Serial commands

I created a group called Startup
Added a multigroup and chose the event "On Open Girder"
Added the command:Plugin/Serial Commands
Settings for the command: Change handshaking: DTR on:no RTS on:yes

(added some more commands to reset my TV-card, hence the multigroup)

That's it.

Hope it works for you.

CavalloPazzo
October 13th, 2002, 12:55 PM
Hi, I have an Hauppauge WinTv Primio card. So can I use any remote with my card?
I've tried what you say but it doesn't work:
I have Generic serial plugin 2.1: is it good or I need 2.2 (where can I donload it?)?

Here is my config file of Generic serial plugin
[Device]
UserName=wintv

[Properties]
BaudRate=3
Handshaking=0
ParityBits=0
WordSize=4
StopBits=0

[InputMessage]
Timeout=50
TimeoutValid=1
ShowEvents=1
TermVal=13
TermSize=1
TerminatorProcessing=1
PrefixProcessing=1
Length=1
Translate=1
Type=2

[OutputMessage]
Timeout=1
TimeoutValid=0
ShowEvents=0
TermVal=13
TermSize=1
TerminatorProcessing=0
PrefixProcessing=0
Length=1
Translate=1
Type=1

I hope you can help me, because I've lost the original remote :sad: