PDA

View Full Version : LOGIC example for commercial !


Phil.H
30 Dec 05, 01:37 PM
Have attached an archive of PAC program put together to illustrate some concepts relevant to a typical commercial lighting design.

Remember this project and example code is for training purposes only. This program has not be implemented or tested on an actual C-Bus installation.

Putting some finishing touches on another program that illustrates other automation features like random times / timing, serial RS232 controls of popular AV amps etc. Darren wants me to put 14Kg of comments in each module :-) {This program is also included in the zip file attached by Dunc...}

richy
23 Jan 06, 01:45 PM
Hi,

Just wondering if that other program is ready ... ?

Phil.H
24 Jan 06, 04:40 PM
Hi,

Just wondering if that other program is ready ... ?

The "other" program I referred to is actually included in the .zip attachment in the original post.

That second program (pac06nsw.cta) has examples of random times, RS232 controls etc. There is some good news on the serial control side for the Onkyo/Integra amp. I finally got the opportunity to test some more and have worked out how to properly receive the messages back from the amp. During this process I got some code from Darren for a really handy utility that writes all serial presented to the serial port to the PICED log. This would have alleviated a lot of the time I took to work out EOF is actually ASCII control code (decimal) 26. Then it would have helped if I used #26 to read the serial port into the necessary string variable :rolleyes:

Anyway got there nun the less.

As soon as I get five minutes will put a new file on this section of the forum that illustrates two way control for the Integra and Darren's serial read utility program. :)

Stay tuned...