View Full Version : Non-exclusive serial port usage
Mark F
October 13th, 2002, 12:55 PM
Does Pinnacle's software have an API of some sort? Does it allow plugins or drivers of some sort?
If so, you could build a client/server type situation where the server handles the port and the clients (a Girder plugin and a Pinnacle plugin/driver/whatever) attach to it as needed. The server would route the incomming data to the correct client based on whatever conditions you'd like.
Of course this is all based on the first two questions above. I have no personal knowlege of the Pinnacle software.
Good luck. :smile:
CFK
October 13th, 2002, 12:55 PM
I have a pinnacle remote that came with the PCI Tv card.
I use Pinnacle's software to control the TV / webtext, and girder to control everything else (when not using TV). The only problem with this is that I have to manually disconnect pinnacle's remote recognition software to start girder and vice-versa. What I would like to know is of I can write a driver so both programs can have access to the serial port's information at the same time. The remote has a nutton which isn't used by the software and I could use it to "toggle" between girder and pinnacle's software.
Thanks,
CFK
CFK
October 13th, 2002, 12:55 PM
The pinnacle software doesn't allow any type of plugins, and it's so simple that I doubt it having an API. Basicly it's a tiny program which sits in the system tray, receives the IR codes, decodes them and sends the commands to two other programs (the tv viewer and the Teletext viewer).
I like the client-server idea. It wouldn't have to be too complicated, because the idea is to use 2 remotes. Since the pinnacle software only reacts to commands send by the pinnacle remote, I wouldn't have a problem with the server sending the same data to both programs (girder and pinnacle). Both softwares would only react to the remote meant for them. It's a pity my programming skills aren't up to it.
Do you know of any site on the internet or a book with information on making a server/client with serial ports? I can program a client/server for unix using sockets, so it should be similar.
Thanks,
Charles
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.