Products for USB Sensing and Control
It is currently Fri May 24, 2013 8:38 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Oct 12, 2011 4:41 pm 
Offline
Fresh meat

Joined: Wed Oct 12, 2011 4:01 pm
Posts: 2
Hi!

I have an air condition unit with an IR remote that I would like to control via the PhidgetIR infra red USB-card.

The utility in the Phidget Control Panel has a great Learn function. The only problem is that I can for example set the temperature of the AC via the remote with one UP and one DOWN button. This means that if I press it, the temperature is set to one degree lower than before (the temperature is also shown on a display both on the AC unit and on the IR remote control). This means that I cant send the same command many times (which is required by the Learn function).

Any ideas on how to capture the different temperature commands so that I can send them via my C#.net code?

Thanks!

Regards,
Daniel


Top
 Profile Send private message  
 
PostPosted: Thu Oct 13, 2011 10:01 am 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2351
Location: Canada
You can always capture and re-send the raw data

-Patrick


Top
 Profile Send private message  
 
PostPosted: Thu Oct 13, 2011 10:06 am 
Offline
Fresh meat

Joined: Wed Oct 12, 2011 4:01 pm
Posts: 2
Patrick wrote:
You can always capture and re-send the raw data


That was my first idea as well, but the problem is that when I try to re-send the raw data shown in raw field to the right in the Phidgets utility, I get a StackOverflowException. The raw date is marked as "LONG" if that helps.

It looks like this:
LONG 8950, 4530, 530, 1700, 510, 1710, 520, 580, 530, 570, 520, 580, 520, 580, 520, 1710, 510, 1710, 520, 580, 520, 580, 510, 1710, 520, 580, 520, 580, 520, 1710, 520, 580, 520, 1700, 520, 580, 520, 580, 520, 580, 520, 580, 510, 590, 510, 1710, 520, 1710, 510, 1710, 520, 580, 520, 580, 520, 580, 520, 580, 520, 580, 520, 580, 510, 590, 510, 590, 520, 580, 520, 580, 510, 590, 510, 590, 510, 590, 510, 1710, 510, 1710, 520, 580, 530, 570, 520, 580, 520, 580, 520, 580, 520, 580, 510, 590, 520, 580, 520, 580, 520, 580, 510, 590, 510, 590, 510, 590, 520, 580, 510, 1710, 520, 580, 520, 580, 510, 590, 510, 590, 510, 590, 520, 580, 520, 580, 540, 560, 540, 560, 540, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 540, 560, 540, 560, 550, 550, 550, 550, 540, 560, 540, 560, 540, 560, 550, 550, 540, 1680, 550, 550, 550, 550, 550, 550, 540, 560, 540, 560, 550, 550, 550, 550, 540, 560, 540, 560, 540, 560, 540, 1680, 540, 560, 540, 1680, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 540, 560, 540, 1690, 550, 1670, 540, 560, 540, 1680, 550, 1680, 540, 1680, 580


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group