Page 1 of 3

Help With my build - PWM Expansion

PostPosted: Mon Dec 28, 2015 2:44 am
by tyson_mitchell_88
Please any help would be greatly appreciated. I have been using the wizard up to this stage, with limited custom script, but have recently installed a PWM expansion and would like to take over manually on the scripting.

Happy with everything apart from the PWM expansion atm.

Re: Help With my build - PWM Expansion

PostPosted: Mon Dec 28, 2015 6:11 am
by lnevo
What is it you aren't happy with and what is it you want do?

Re: Help With my build - PWM Expansion

PostPosted: Mon Dec 28, 2015 6:51 am
by tyson_mitchell_88
I would like to set the parameters for the PMW expansion. My experience so far has been copy and paste. I'm guessing something like this.

ActinicPWMValue=PWMSlope(5,00,21,00,0,100,180,ActinicPWMValue);
DaylightPWMValue=PWMSlope(6,30,18,30,0,80,180,DaylightPWMValue);
CheckCloud();
ReefAngel.PWM.SetActinic(ActinicPWMValue);
ReefAngel.PWM.SetDaylight(DaylightPWMValue);

Re: Help With my build - PWM Expansion

PostPosted: Mon Dec 28, 2015 7:25 am
by lnevo
Instead of SetActinic and SetDaylight, you are going to use SetChannel(X, ActinicPWMValue) where X is the channel you want to set.

Re: Help With my build - PWM Expansion

PostPosted: Tue Dec 29, 2015 4:05 am
by cosmith71
The CheckCloud routine needs an overhaul, too. What channels on the expansion are you wanting to use for blues and for whites?

Re: Help With my build - PWM Expansion

PostPosted: Tue Dec 29, 2015 12:16 pm
by tyson_mitchell_88
This what I have so far mate, using channel 0 for whites and 1 for actinics. I also have acticics on 4 and 5 for moon.

Re: Help With my build - PWM Expansion

PostPosted: Tue Dec 29, 2015 2:02 pm
by cosmith71
What's on 2 and 3?

And what kind of drivers are you using?

Re: Help With my build - PWM Expansion

PostPosted: Wed Dec 30, 2015 12:02 am
by tyson_mitchell_88
Using meanwell LPF drivers on expansion and ELN on standard. Have uvs on channel 2 and 3.

Re: Help With my build - PWM Expansion

PostPosted: Wed Dec 30, 2015 3:58 am
by cosmith71
What do you want to flash with the lightning?

Re: Help With my build - PWM Expansion

PostPosted: Wed Dec 30, 2015 12:14 pm
by tyson_mitchell_88
I would like to use whites on the standard and channel 0, 4 and 5 on the expansion.

Thanks for helping me out mate.