¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: In defense of obfuscation

 

Complete agreement.



Obfuscation is highly unprofessional as well as a source of potential grief
for the original programmer. You would presumably not obfuscate all
'copies' of the code, so as to leave yourself with a readable, editable
archive to work with in the future, reserving the obfuscated version for
distribution only. This leaves you with A) two versions of once piece code
both of which need to be updated every time there's a change or B) the
requirement to edit (your own) obfuscated code to accommodate future
revisions.



If the owner wants to recycle your code instead of rehiring you, then either
1) they're not the sort of folks you'll either want to or be able to do much
long-term/repeat business with or 2) you're not treating them well enough to
make it worth their while to rehire you. Obfuscation does nothing to solve
the first problem and exasperates the second.



From: Crestron@... [mailto:Crestron@...] On Behalf
Of Jeremy Weatherford
Sent: Wednesday, March 13, 2013 11:43 AM
To: Crestron
Subject: Re: [Crestron] In defense of obfuscation





If a "programmer" needs to borrow my code in order to program something,
they probably aren't my competition. We stick with legal provisions for
protecting code, because they're the only ones with any teeth. Encryption
is a joke, and I'm too busy to (intentionally!) obfuscate anything.
Besides, I owe my customers complete and legible code that they can take
to another dealer if they want. It's our job to make sure they don't want
to switch dealers. If we aren't doing our job to retain the customer,
withholding or obfuscating source code is only going to make them angry and
possibly result in legal action.

On Wed, Mar 13, 2013 at 10:26 AM, oldspunky <paul@...
<mailto:paul%40present-control.com> >wrote:

I have been lurking - watching the thread about "deleting signals with no
driving source".

In my not-so-humble opinion, a programmer has only 3 defenses to keep
someone from re-using his code for another project. One is to supply
incomplete or wrong source code. Another is to encrypt essential parts of
the code (this is part of what Simpl# is intended to be for). The third is
to make the code confusing so the person trying to "steal" it will perhaps
decide it is easier to start over and do the whole thing himself.

I have never supplied incomplete or wrong code (to my knowledge).
Encryption is too much trouble. This leaves option #3.

In every case where someone has complained to me about "obfuscated" code,
I have found that they are trying to re-use my code for another project -
against the provisions of the contract. Some programmers have even had the
gall to call me up and ask me to explain it to them. I don't mind helping
if they are doing program maintenance on the original project - that's ok
-
but when they call me to ask me to explain how to program another project
using my code -
ouch!!!

Regards
Someone who has been burned.
Paul



------------------------------------


*
****

Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the
Database area.
*
****Yahoo!
Groups Links


--
Jeremy Weatherford


Re: Multi-Display switching help

 

i understand, but keeping the cableboxes agnostic to the display and just controlling the appropriate one when selected is far easier.

--- In Crestron@..., "Christopher" <topher1200s@...> wrote:

The way the customer wants it set up is mainly the reason for keeping the cable box with the tv. He would like the three small tv's to always be on a particular channel. (ESPN, CNN, Weather)

On his ipad, he will have 4 icons representing each tv. If he wants to control a particular display, he will long press the icon for that display which will give him control of that displays cable box. If he wants to swap that small display to the large display, he will just tap the small displays icon which will move the cable box to the large display.

It seems to be working well in test manager using the TT method. I'll find out tomorrow how well it works in the real world.

Chris

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@> wrote:

I argue that it really doesn't matter what cable box is on what Television, since you should be driving the control logic from the currently routed source to the specific selected display.

So I imagine you have a way to select which 'display' you want to control, you're control logic already knows what cable box is on what display, so why does it matter specifically 'Cablebox 1' is on TV1?



--- In Crestron@..., "Christopher" <topher1200s@> wrote:

Thanks for the suggestions guys. I'll be working on this today and implementing it tomorrow. Hopefully I can get it working the way I want.

Chris

--- In Crestron@..., "Kris" <kris.k@> wrote:

With some toggles to select a display(s) and init/equates to get analog values for the current sources, then abufs triggered by a "swap" button (which also resets the toggles) you might get some cool switching logic. Drive the matrix switcher withe the feedback from the equates. I use a similar logic set to select multiple rooms then a common source. I don't see why you couldn't just make the logic swap current sources instead of just select a new source.

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@> wrote:

Well, that wouldn't be swapping now would it. :)

I would maybe do a route upon the swap press, which puts everything bakc to 1/2/3 across the top and 4 on the bottom. Then upon the swap release, swap 1/4 or 2/4 or 3/4. Depends upon what kind of device you're controlling switching for how fast/noticible it will be.

--- In Crestron@..., "Christopher" <topher1200s@> wrote:

I have a project where we have 4 displays. 3 Small displays above 1 large display. Each display has it's own cable box. (4 boxes)

The customer would like to be able to swap display 1 and 4 or 2 and 4 or 3 and 4.

I have the swap working by using the logic from the video in this post

but I'm having the following problem If I swap 1 and 4, where display 1 is showing cable box 4 and display 4 is showing cable box 1 and I press swap 2 and 4, display 2 will now show cable box 1 and display 4 will show cable box 2.

I need to figure out a way where I can have the displays default back to their own cable box when I make a swap.

Hopefully someone has some ideas for me.

Thanks for the help.

Chris


Re: In defense of obfuscation

 

+1

We also avoid doing business with clients that would knowingly violate contractual terms.

There are a couple cases where we've found that someone has "recycled" our code/intellectual property without authorization and if a civil conversation doesn't resolve the issue, a letter from our lawyers is very effective.

Lincoln

--
Lincoln King-Cliby, CTS
Sr. Systems Architect | Crestron Certified Master Programmer (Silver)
ControlWorks Consulting, LLC
V: 440.449.1100 x1107 | F: 440.449.1106 | I:
Crestron Services Provider

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Jeremy Weatherford
Sent: Wednesday, March 13, 2013 11:43 AM
To: Crestron
Subject: Re: [Crestron] In defense of obfuscation

If a "programmer" needs to borrow my code in order to program something,
they probably aren't my competition. We stick with legal provisions for
protecting code, because they're the only ones with any teeth. Encryption
is a joke, and I'm too busy to (intentionally!) obfuscate anything.
Besides, I owe my customers complete and legible code that they can take
to another dealer if they want. It's our job to make sure they don't want
to switch dealers. If we aren't doing our job to retain the customer,
withholding or obfuscating source code is only going to make them angry and
possibly result in legal action.


On Wed, Mar 13, 2013 at 10:26 AM, oldspunky <paul@...>wrote:

I have been lurking - watching the thread about "deleting signals with no
driving source".

In my not-so-humble opinion, a programmer has only 3 defenses to keep
someone from re-using his code for another project. One is to supply
incomplete or wrong source code. Another is to encrypt essential parts of
the code (this is part of what Simpl# is intended to be for). The third is
to make the code confusing so the person trying to "steal" it will perhaps
decide it is easier to start over and do the whole thing himself.

I have never supplied incomplete or wrong code (to my knowledge).
Encryption is too much trouble. This leaves option #3.

In every case where someone has complained to me about "obfuscated" code,
I have found that they are trying to re-use my code for another project -
against the provisions of the contract. Some programmers have even had the
gall to call me up and ask me to explain it to them. I don't mind helping
if they are doing program maintenance on the original project - that's ok -
but when they call me to ask me to explain how to program another project
using my code -
ouch!!!

Regards
Someone who has been burned.
Paul



------------------------------------




Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the
Database area.
Yahoo!
Groups Links




--
Jeremy Weatherford






------------------------------------



Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the Database area.
Yahoo! Groups Links


Re: In defense of obfuscation

 

I would think that if your code is really all that groundbreaking or revolutionary, it wouldn't take you more than 15 minutes to wrap it up into lockable modules. I'm just using readily available symbols for the most part. If someone else can figure out how I use them, and put them to use, then good for them. If I really spent a ton of time on it, most likely, a programmer who is at the level of "borrowing" code, won't know how to follow how I'm using it anyway.
I've seen other peoples code and been inspired to do things in a similar fashion, but I never just copy it. There is always something that I think is overly complicated, or inefficient that I can do differently. I would imagine someone would feel the same about my programs.

--- In Crestron@..., "oldspunky" <paul@...> wrote:

I have been lurking - watching the thread about "deleting signals with no driving source".

In my not-so-humble opinion, a programmer has only 3 defenses to keep someone from re-using his code for another project. One is to supply incomplete or wrong source code. Another is to encrypt essential parts of the code (this is part of what Simpl# is intended to be for). The third is to make the code confusing so the person trying to "steal" it will perhaps decide it is easier to start over and do the whole thing himself.

I have never supplied incomplete or wrong code (to my knowledge). Encryption is too much trouble. This leaves option #3.

In every case where someone has complained to me about "obfuscated" code, I have found that they are trying to re-use my code for another project - against the provisions of the contract. Some programmers have even had the gall to call me up and ask me to explain it to them. I don't mind helping if they are doing program maintenance on the original project - that's ok - but when they call me to ask me to explain how to program another project using my code -
ouch!!!

Regards
Someone who has been burned.
Paul


Re: In defense of obfuscation

 

Well said Jeremy.

JRW

--- In Crestron@..., Jeremy Weatherford <jweather@...> wrote:

If a "programmer" needs to borrow my code in order to program something,
they probably aren't my competition. We stick with legal provisions for
protecting code, because they're the only ones with any teeth. Encryption
is a joke, and I'm too busy to (intentionally!) obfuscate anything.
Besides, I owe my customers complete and legible code that they can take
to another dealer if they want. It's our job to make sure they don't want
to switch dealers. If we aren't doing our job to retain the customer,
withholding or obfuscating source code is only going to make them angry and
possibly result in legal action.


On Wed, Mar 13, 2013 at 10:26 AM, oldspunky <paul@...>wrote:

I have been lurking - watching the thread about "deleting signals with no
driving source".

In my not-so-humble opinion, a programmer has only 3 defenses to keep
someone from re-using his code for another project. One is to supply
incomplete or wrong source code. Another is to encrypt essential parts of
the code (this is part of what Simpl# is intended to be for). The third is
to make the code confusing so the person trying to "steal" it will perhaps
decide it is easier to start over and do the whole thing himself.

I have never supplied incomplete or wrong code (to my knowledge).
Encryption is too much trouble. This leaves option #3.

In every case where someone has complained to me about "obfuscated" code,
I have found that they are trying to re-use my code for another project -
against the provisions of the contract. Some programmers have even had the
gall to call me up and ask me to explain it to them. I don't mind helping
if they are doing program maintenance on the original project - that's ok -
but when they call me to ask me to explain how to program another project
using my code -
ouch!!!

Regards
Someone who has been burned.
Paul



------------------------------------




Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the
Database area.
Yahoo!
Groups Links




--
Jeremy Weatherford


[Non-text portions of this message have been removed]


Re: In defense of obfuscation

 

If a "programmer" needs to borrow my code in order to program something,
they probably aren't my competition. We stick with legal provisions for
protecting code, because they're the only ones with any teeth. Encryption
is a joke, and I'm too busy to (intentionally!) obfuscate anything.
Besides, I owe my customers complete and legible code that they can take
to another dealer if they want. It's our job to make sure they don't want
to switch dealers. If we aren't doing our job to retain the customer,
withholding or obfuscating source code is only going to make them angry and
possibly result in legal action.

On Wed, Mar 13, 2013 at 10:26 AM, oldspunky <paul@...>wrote:

I have been lurking - watching the thread about "deleting signals with no
driving source".

In my not-so-humble opinion, a programmer has only 3 defenses to keep
someone from re-using his code for another project. One is to supply
incomplete or wrong source code. Another is to encrypt essential parts of
the code (this is part of what Simpl# is intended to be for). The third is
to make the code confusing so the person trying to "steal" it will perhaps
decide it is easier to start over and do the whole thing himself.

I have never supplied incomplete or wrong code (to my knowledge).
Encryption is too much trouble. This leaves option #3.

In every case where someone has complained to me about "obfuscated" code,
I have found that they are trying to re-use my code for another project -
against the provisions of the contract. Some programmers have even had the
gall to call me up and ask me to explain it to them. I don't mind helping
if they are doing program maintenance on the original project - that's ok -
but when they call me to ask me to explain how to program another project
using my code -
ouch!!!

Regards
Someone who has been burned.
Paul



------------------------------------




Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the
Database area.
Yahoo!
Groups Links


--
Jeremy Weatherford


Re: Packet Transmission for comspec module

cyberbri24
 

I have Chips version and the latest one from the TB site also. Since I only have a processor in front of me, I really have not yet been able to test on actual hardware, for me is different projectors using two different baud. I have the packet Transmission symbol added to a DMPS-300 on Slot-09, Slot-17, Slot-02, Slot-01, (RMC-100-C) IP-ID-11 Slot-01, Slot-01.2 for COM-01. That's alot of slots. Does this seem right? I'm sure at some point, I will get the actual projectors in front of me.

Thanks,
Cyberbri

--- In Crestron@..., crestronpro <crestronpro@...> wrote:

yes you can

On Tue, Mar 12, 2013 at 1:46 PM, Aaron <aaron.larson@...> wrote:

**


Can you use the Packet Transmission device extender on a com port slot of
a DM-RMC-SCALER-C to dynamically change the com settings?

I have used this before on processors and ST-COMS but I have not used a
port on a DM system. Anyone know?

Aaron





OT: Crestron Sales Guy

wes_lim88
 

i work as a sales and installer/programmer for a systems integrator company in asia that sells only crestron. i usually go up against control4 and vantage for our residential integration projects.

what sales lines do you have for customers when it comes to comparing crestron automation vs control4 and vantage? i must say home automation here is still young and not yet a mature market compared to the US. need help on what to say to clients to close more deals :)


Filtrete 3m-50 Wifi Tstat

 

Has anyone seen a IP control module for these Tstats? How reliable are they to control via crestron.


Thanks!


Re: DMPS Program Audio

cyberbri24
 

Eric, I posted a DMPS mod in the files section. That should do what you need. Just remember to add in logic to fix the overall program volume if someone plays with the front knob as there is no way to commant that out yet. Also until Crestron has a fix, on a reboot, you need to power on the DMPS, pulse the mic mute on and then mic mute off of the actual inputs of the DMPS v1.1 symbol and the power it back off. That should make all the FB match in DM tools.

Cyberbri

--- In Crestron@..., "ericmackay13" <mackayeric@...> wrote:

Hello,

Does anyone know how to mute the input audio to the program output without muting the microphones? This is a case of when a speaker wants to speak over playing video through a microphone. I am using the DMPS-300 v1.1 module currently. Any help with this problem would be appreciated.

Thank you,

Eric Mackay


MPC-M10 Hardware issue - LAN port not functioning

 

I know this group is for programming but what good are programs without working hardware.

I am having a problem with quite a few MPC-M10. Nothing with the LAN port works. I have talked to tech support and they couldn't solve the problem.

We tried, reflashing the firmware, hardware reset, initialize and restore.

Has anyone had this problem and fixed it? I have seen this a lot with the MPC-M10 and lucky they were under warranty. These are a year out of a 4 year warranty.

Do you think Crestron would have some compassion if I have over 5 units doing this and maybe give me a break? Is there anyone you have dealt with from Crestron that could do something like that?

Thanks in advance.


Re: Multi-Display switching help

 

Haha. That's awesome. Glad you got it figured out.


Sent from my eMail.

On Mar 13, 2013, at 10:29 AM, Christopher <topher1200s@...> wrote:



Funny you mention the TT. That is the solution I used and it works very
well.

--- In Crestron@..., Nick Mitchell <nick@...> wrote:

It seems to me like this may be a really good application for a truth
table. You may need one table per display or possibly one table could be
used for all the switching logic. I've only used a tt once as I haven't
really had a good scenario for them.

Nick

Sent from my eMail.

On Mar 13, 2013, at 8:24 AM, Christopher <topher1200s@...> wrote:



Thanks for the suggestions guys. I'll be working on this today and
implementing it tomorrow. Hopefully I can get it working the way I want.

Chris

--- In Crestron@..., "Kris" <kris.k@> wrote:

With some toggles to select a display(s) and init/equates to get analog
values for the current sources, then abufs triggered by a "swap" button
(which also resets the toggles) you might get some cool switching logic.
Drive the matrix switcher withe the feedback from the equates. I use a
similar logic set to select multiple rooms then a common source. I don't
see why you couldn't just make the logic swap current sources instead of
just select a new source.

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@> wrote:

Well, that wouldn't be swapping now would it. :)

I would maybe do a route upon the swap press, which puts everything
bakc to 1/2/3 across the top and 4 on the bottom. Then upon the swap
release, swap 1/4 or 2/4 or 3/4. Depends upon what kind of device you're
controlling switching for how fast/noticible it will be.

--- In Crestron@..., "Christopher" <topher1200s@> wrote:

I have a project where we have 4 displays. 3 Small displays above 1
large display. Each display has it's own cable box. (4 boxes)

The customer would like to be able to swap display 1 and 4 or 2 and
4
or 3 and 4.

I have the swap working by using the logic from the video in this
post

but I'm having the following problem If I swap 1 and 4, where
display
1 is showing cable box 4 and display 4 is showing cable box 1 and I press
swap 2 and 4, display 2 will now show cable box 1 and display 4 will show
cable box 2.

I need to figure out a way where I can have the displays default
back
to their own cable box when I make a swap.

Hopefully someone has some ideas for me.

Thanks for the help.

Chris





Re: Multi-Display switching help

Christopher
 

The way the customer wants it set up is mainly the reason for keeping the cable box with the tv. He would like the three small tv's to always be on a particular channel. (ESPN, CNN, Weather)

On his ipad, he will have 4 icons representing each tv. If he wants to control a particular display, he will long press the icon for that display which will give him control of that displays cable box. If he wants to swap that small display to the large display, he will just tap the small displays icon which will move the cable box to the large display.

It seems to be working well in test manager using the TT method. I'll find out tomorrow how well it works in the real world.

Chris

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@...> wrote:

I argue that it really doesn't matter what cable box is on what Television, since you should be driving the control logic from the currently routed source to the specific selected display.

So I imagine you have a way to select which 'display' you want to control, you're control logic already knows what cable box is on what display, so why does it matter specifically 'Cablebox 1' is on TV1?



--- In Crestron@..., "Christopher" <topher1200s@> wrote:

Thanks for the suggestions guys. I'll be working on this today and implementing it tomorrow. Hopefully I can get it working the way I want.

Chris

--- In Crestron@..., "Kris" <kris.k@> wrote:

With some toggles to select a display(s) and init/equates to get analog values for the current sources, then abufs triggered by a "swap" button (which also resets the toggles) you might get some cool switching logic. Drive the matrix switcher withe the feedback from the equates. I use a similar logic set to select multiple rooms then a common source. I don't see why you couldn't just make the logic swap current sources instead of just select a new source.

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@> wrote:

Well, that wouldn't be swapping now would it. :)

I would maybe do a route upon the swap press, which puts everything bakc to 1/2/3 across the top and 4 on the bottom. Then upon the swap release, swap 1/4 or 2/4 or 3/4. Depends upon what kind of device you're controlling switching for how fast/noticible it will be.

--- In Crestron@..., "Christopher" <topher1200s@> wrote:

I have a project where we have 4 displays. 3 Small displays above 1 large display. Each display has it's own cable box. (4 boxes)

The customer would like to be able to swap display 1 and 4 or 2 and 4 or 3 and 4.

I have the swap working by using the logic from the video in this post

but I'm having the following problem If I swap 1 and 4, where display 1 is showing cable box 4 and display 4 is showing cable box 1 and I press swap 2 and 4, display 2 will now show cable box 1 and display 4 will show cable box 2.

I need to figure out a way where I can have the displays default back to their own cable box when I make a swap.

Hopefully someone has some ideas for me.

Thanks for the help.

Chris


Re: In defense of obfuscation

Joseph K. Vossen
 

I learned a long (long) time ago to always write legible, well-documented code. Why? Because when I have to go back after some time away from it and fix code that *I* had written, it always takes a bit of time to figure out what is going on. Remember, any proper compiler will process your code, humans are the ones that have to actually *read* it in order to understand it.

Write it well and use *appropriate comments; don't explain the obvious, just give some insight on what is going on (more is less).

Encrypting is your best option here and it really doesn't take that much of an effort.

-----Original Message-----
From: oldspunky <paul@...>
Sent: Mar 13, 2013 10:26 AM
To: Crestron@...
Subject: [Crestron] In defense of obfuscation

I have been lurking - watching the thread about "deleting signals with no driving source".

In my not-so-humble opinion, a programmer has only 3 defenses to keep someone from re-using his code for another project. One is to supply incomplete or wrong source code. Another is to encrypt essential parts of the code (this is part of what Simpl# is intended to be for). The third is to make the code confusing so the person trying to "steal" it will perhaps decide it is easier to start over and do the whole thing himself.

I have never supplied incomplete or wrong code (to my knowledge). Encryption is too much trouble. This leaves option #3.

In every case where someone has complained to me about "obfuscated" code, I have found that they are trying to re-use my code for another project - against the provisions of the contract. Some programmers have even had the gall to call me up and ask me to explain it to them. I don't mind helping if they are doing program maintenance on the original project - that's ok - but when they call me to ask me to explain how to program another project using my code -
ouch!!!

Regards
Someone who has been burned.
Paul
[snip]


Re: Multi-Display switching help

Christopher
 

Funny you mention the TT. That is the solution I used and it works very well.

--- In Crestron@..., Nick Mitchell <nick@...> wrote:

It seems to me like this may be a really good application for a truth
table. You may need one table per display or possibly one table could be
used for all the switching logic. I've only used a tt once as I haven't
really had a good scenario for them.

Nick

Sent from my eMail.

On Mar 13, 2013, at 8:24 AM, Christopher <topher1200s@...> wrote:



Thanks for the suggestions guys. I'll be working on this today and
implementing it tomorrow. Hopefully I can get it working the way I want.

Chris

--- In Crestron@..., "Kris" <kris.k@> wrote:

With some toggles to select a display(s) and init/equates to get analog
values for the current sources, then abufs triggered by a "swap" button
(which also resets the toggles) you might get some cool switching logic.
Drive the matrix switcher withe the feedback from the equates. I use a
similar logic set to select multiple rooms then a common source. I don't
see why you couldn't just make the logic swap current sources instead of
just select a new source.

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@> wrote:

Well, that wouldn't be swapping now would it. :)

I would maybe do a route upon the swap press, which puts everything
bakc to 1/2/3 across the top and 4 on the bottom. Then upon the swap
release, swap 1/4 or 2/4 or 3/4. Depends upon what kind of device you're
controlling switching for how fast/noticible it will be.

--- In Crestron@..., "Christopher" <topher1200s@> wrote:

I have a project where we have 4 displays. 3 Small displays above 1
large display. Each display has it's own cable box. (4 boxes)

The customer would like to be able to swap display 1 and 4 or 2 and 4
or 3 and 4.

I have the swap working by using the logic from the video in this
post

but I'm having the following problem If I swap 1 and 4, where display
1 is showing cable box 4 and display 4 is showing cable box 1 and I press
swap 2 and 4, display 2 will now show cable box 1 and display 4 will show
cable box 2.

I need to figure out a way where I can have the displays default back
to their own cable box when I make a swap.

Hopefully someone has some ideas for me.

Thanks for the help.

Chris



[Non-text portions of this message have been removed]


In defense of obfuscation

oldspunky
 

I have been lurking - watching the thread about "deleting signals with no driving source".

In my not-so-humble opinion, a programmer has only 3 defenses to keep someone from re-using his code for another project. One is to supply incomplete or wrong source code. Another is to encrypt essential parts of the code (this is part of what Simpl# is intended to be for). The third is to make the code confusing so the person trying to "steal" it will perhaps decide it is easier to start over and do the whole thing himself.

I have never supplied incomplete or wrong code (to my knowledge). Encryption is too much trouble. This leaves option #3.

In every case where someone has complained to me about "obfuscated" code, I have found that they are trying to re-use my code for another project - against the provisions of the contract. Some programmers have even had the gall to call me up and ask me to explain it to them. I don't mind helping if they are doing program maintenance on the original project - that's ok - but when they call me to ask me to explain how to program another project using my code -
ouch!!!

Regards
Someone who has been burned.
Paul


Re: Cisco PrecisionHD manual iris command?

Sammy Truong
 

THANKS!

-Sammy

From: Crestron@... [mailto:Crestron@...] On Behalf Of Stig
Sent: Wednesday, March 13, 2013 9:50 AM
To: Crestron@...
Subject: [Crestron] Re: Cisco PrecisionHD manual iris command?



This is utterly correct :)

Tip:
Link to a working Ciscberg VISCA module.



-Stig

--- In Crestron@...<mailto:Crestron%40yahoogroups.com>, Jeremy Weatherford <jweather@...<mailto:jweather@...>> wrote:

Looks to me like the valid range is:

&#92;x81&#92;x01&#92;x04&#92;x4b&#92;x00&#92;x00&#92;x00&#92;x00&#92;xff (0)
&#92;x81&#92;x01&#92;x04&#92;x4b&#92;x00&#92;x00&#92;x00&#92;x01&#92;xff (1)
...
&#92;x81&#92;x01&#92;x04&#92;x4b&#92;x00&#92;x00&#92;x03&#92;x02&#92;xff (50)

s is the one's place, r is the 16's place.

On Tue, Mar 12, 2013 at 6:08 PM, Sammy Truong <struong@...<mailto:struong@...>> wrote:

Having trouble getting manual iris control working on a Cisco PrecisionHD
1080p12x camera.




From page 26:
Command -- Iris_Direct
Command Packet -- 8x 01 04 4b 0p 0q 0r 0s ff
Comments -- Used if AE mode = Manual. pqrs: Iris position, range 0..50.

How would you interpret this? There's no other reference to the pqrs
parameters other than what's above. I can send variously formatted commands
(different vals in p, q, r or s) that either slam the iris all the way open
or all the way shut, but nothing in between. Can anybody have experience
with this or can otherwise help me format this command? By way of contrast,
Sony documentation for the EVI-HD1, for instance, does not use the p and q
as above (so the command for the EVI-HD1 would be 0x 01 04 4b 00 00 0r 0s
ff).

Thanks,
Sammy







------------------------------------




Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the
Database area.
Yahoo!
Groups Links




--
Jeremy Weatherford




Re: Using a HVAC scheduler

 

It looks like I used 3.7.0.

I know it wasn't easy, but was the best way I could find. If you contact me off list, I will send you a copy of my program so you can poke around.

-Kevin Keenan

On Mar 13, 2013, at 10:14 AM, "ben899621" <ben.newberry@...> wrote:

Thanks for the response.

Do you know which module you used, I have tried with 5-2 scheduler v1.1.1 and the setpoints it outputs are both set to 0d and they remain set to this when the scheduler moves to its next event.

Thanks,

Ben

--- In Crestron@..., Kevin Keenan <kevinfkeenan@...> wrote:

I have actually used the 'CHV-THSTAT w/5-2 scheduler' with a bacnet system. I just sent all the necessary signals at the bottom of the module to the bacnet system, instead of the Crestron thermostat.

-Kevin

On Mar 13, 2013, at 9:07, "ben899621" <ben.newberry@...> wrote:

Hi,

I'm trying to set up a HVAC scheduler for a system that has been installed. Ideally I would like to emulate what the 'CHV-THSTAT w/5-2 scheduler 4.0.0' does but it needs to control a KNX heating and Daikin AC system that is in the property without a CHV-THSTAT installed and working all in software.

So the wishlist is being able to setup timers for weekday and weekend (wakeup, leave...etc) and setpoints for these times. When the timers are active compare the current room temps with what the setpoints are and then output a signal to turn on/off the heating or AC accordingly.

Does anyone know if it is possible to achieve this by using the above mentioned module as I can't see that it ouputs signals for either turning on off the Heating/AC, or what the setpoints are so I could program that function in myself.

I am in the process of programing my own module using the event scheduler but this does not seem like an ideal way of achieving what I am trying to do.

Any help is very much appreciated!


[Non-text portions of this message have been removed]


[Non-text portions of this message have been removed]


Re: Using a HVAC scheduler

 

Thanks for the response.

Do you know which module you used, I have tried with 5-2 scheduler v1.1.1 and the setpoints it outputs are both set to 0d and they remain set to this when the scheduler moves to its next event.

Thanks,

Ben

--- In Crestron@..., Kevin Keenan <kevinfkeenan@...> wrote:

I have actually used the 'CHV-THSTAT w/5-2 scheduler' with a bacnet system. I just sent all the necessary signals at the bottom of the module to the bacnet system, instead of the Crestron thermostat.

-Kevin

On Mar 13, 2013, at 9:07, "ben899621" <ben.newberry@...> wrote:

Hi,

I'm trying to set up a HVAC scheduler for a system that has been installed. Ideally I would like to emulate what the 'CHV-THSTAT w/5-2 scheduler 4.0.0' does but it needs to control a KNX heating and Daikin AC system that is in the property without a CHV-THSTAT installed and working all in software.

So the wishlist is being able to setup timers for weekday and weekend (wakeup, leave...etc) and setpoints for these times. When the timers are active compare the current room temps with what the setpoints are and then output a signal to turn on/off the heating or AC accordingly.

Does anyone know if it is possible to achieve this by using the above mentioned module as I can't see that it ouputs signals for either turning on off the Heating/AC, or what the setpoints are so I could program that function in myself.

I am in the process of programing my own module using the event scheduler but this does not seem like an ideal way of achieving what I am trying to do.

Any help is very much appreciated!




Re: Multi-Display switching help

 

I argue that it really doesn't matter what cable box is on what Television, since you should be driving the control logic from the currently routed source to the specific selected display.

So I imagine you have a way to select which 'display' you want to control, you're control logic already knows what cable box is on what display, so why does it matter specifically 'Cablebox 1' is on TV1?

--- In Crestron@..., "Christopher" <topher1200s@...> wrote:

Thanks for the suggestions guys. I'll be working on this today and implementing it tomorrow. Hopefully I can get it working the way I want.

Chris

--- In Crestron@..., "Kris" <kris.k@> wrote:

With some toggles to select a display(s) and init/equates to get analog values for the current sources, then abufs triggered by a "swap" button (which also resets the toggles) you might get some cool switching logic. Drive the matrix switcher withe the feedback from the equates. I use a similar logic set to select multiple rooms then a common source. I don't see why you couldn't just make the logic swap current sources instead of just select a new source.

--- In Crestron@..., "matt_rasmussen_2000" <mjrtoo@> wrote:

Well, that wouldn't be swapping now would it. :)

I would maybe do a route upon the swap press, which puts everything bakc to 1/2/3 across the top and 4 on the bottom. Then upon the swap release, swap 1/4 or 2/4 or 3/4. Depends upon what kind of device you're controlling switching for how fast/noticible it will be.

--- In Crestron@..., "Christopher" <topher1200s@> wrote:

I have a project where we have 4 displays. 3 Small displays above 1 large display. Each display has it's own cable box. (4 boxes)

The customer would like to be able to swap display 1 and 4 or 2 and 4 or 3 and 4.

I have the swap working by using the logic from the video in this post

but I'm having the following problem If I swap 1 and 4, where display 1 is showing cable box 4 and display 4 is showing cable box 1 and I press swap 2 and 4, display 2 will now show cable box 1 and display 4 will show cable box 2.

I need to figure out a way where I can have the displays default back to their own cable box when I make a swap.

Hopefully someone has some ideas for me.

Thanks for the help.

Chris