| Author |
Message |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Sat Feb 23, 2008 7:08 pm Post subject: Re: introduction / helping out |
|
|
| mrbud wrote: | Jmayes,
Hello all .. let me introduce myself.. and sorry but due to crestron and my career I'm going to go by my username and not my real name.. ( sorry .. but helping isn't worth a career change if you know what I mean ) ...
It's MRBUD ..
I've been in the industry for well over 20 years now in one form or another.. I work as an Installer/Programmer for a local High End A/V Shop. I am currently a Crestron Programmer Level 1.. I would say that I'm fairly new to the Crestron programming but..I do understand it.. So that said.. I'll jump in when I feel appropriate or when JMayes ask's .. If you should have any questions.. feel free to ask.. I may or may not know the answer. but ... I'll give it a shot..
MrBud |
Welcome MRBUD to the Forum and this Thread
We will be glad to have you and hope other Crestron users and programmers find this New Home to help each other. Chime in anytime if you can help or have a question.
Glad to have you abord
Jeff
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Sat Feb 23, 2008 7:18 pm Post subject: Another Crestron Programming Guide! |
|
|
I just happened to google to see if this thread pops up yet (no) but found this really neat site!
Another self help instruction guide complete with graphics. It's not interactive like this thread but I highly recommend it as a primer reading too all that hope to build their own system. Start there and continue with this thread and we all can make our systems grow together
http://crestron.davidcamerondesign.com/
Enjoy,
JM
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Sat Feb 23, 2008 11:31 pm Post subject: Crestron APC Module |
|
|
Ok, I got the APC module working on my CNX-Pro without much trouble. For now I am just displaying the resulting data on the front panel LCD. It polls the APC every 10 secs like clockwork. A few things of note, Smart Backups have to be put in "SM Smart Mode" by sending a "Y" (Capital Y). The Crestron module does this only at program startup, hence if the backup looses power and goes dead, once power is restored it will be in "Dumb" mode and the crestron module will not get any data. Also if you hook up the UPS after the program is started the same problem occurs. If the backup is connected to the controller then this is most likely a moot point but if the backup is for another device(s) then it could get out of sync with the program.
For now I hacked the APC module and added "Y" to the "Q" command so it polls "YQ" on each 10 second cycle so if the ups is out of mode it fix's it on the fly. Everything appears to still work fine with that change made.
Also there is no "test" input on the module, I would like to add that so the program can run periodic tests and log battery status.
Lastly I have a question for our new member MRbud. I can not seem to figure out how to add a user module into a simpl program (*.umc). I see when you right click on the logic tree there is a "import crestron module" but it is grayed out. Finally I opened up the original example program with the UMC in it and right clicked on it and "copy", then in an another instance of simpl with my program opened, I right clicked and pasted the module in with success. I would like to know the proper way to get modules in the program.
JM
|
|
| Back to top |
|
 |
Tom.W
Joined: 09 Mar 2006 Posts: 6635
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Sun Feb 24, 2008 5:01 am Post subject: |
|
|
Cool, we made the top of page #2!
JM
|
|
| Back to top |
|
 |
Tom.W
Joined: 09 Mar 2006 Posts: 6635
|
| Posted: Sun Feb 24, 2008 5:03 am Post subject: |
|
|
The link was page one.
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Sun Feb 24, 2008 5:14 am Post subject: Programming a Crestron Post Index |
|
|
Ok, this thread had got pretty long and the important posts have been spread out so they are hard to find (or follow). Since there are no post numbers in this forum it's hard to give future instructions and refer back to these important posts. I am thinking of starting a new thread which I would post all the instruction posts from this thread in order and keep the discussion here, any thoughts on that?
For now I created an reference Index below which should help us find the programming posts I am referring to.
I have created a title for each one and added the page number (PG) and which post on that page it is.
#1, Installing The Crestron Programs (Pg1, Post 4)
#2, Setting up Your first Simpl Program for the ST-CP, Part 1 (Pg1,Post 7)
#3, Adding IR Drivers from the Crestron Database (Pg1, Post 10)
#4, Add IR Codes Not in the Database (Pg1, Post 13)
#5, Setting up the ST-1500 Touchscreen in Simpl Part 1 (Pg1, Post 15)
#6, Setting up the ST-1500 Touchscreen in Simpl Part 2 (Pg1, Post 16)
#7, Making our first Symbol Part #1 (Pg1, Post 20)
#8, Downloading to the ST-CP part 1 (testing Communications) (Pg3, Post 7)
#9, Downloading to the ST-CP part 2 (Compiling and Downloading) (Pg3, Post 8 )
#10, Finding the pre-programmed "Join" numbers using Test Manager Part 1 (Pg3, Post 15)
#11, Wiring up our first IR Symbol! (Pg3, Post 21)
#12, Programming our first symbol, follow up to part-1 (Pg4, Post 5)
#13, Programming our first symbol Part 1, follow up 2 (Pg5, Post 1)
#14, New Barco IR file (Pg5, Post 8 )
These are the posts to follow in order to program your system
JM
Last edited by jmayes on Sun Feb 24, 2008 5:48 am; edited 1 time in total
|
|
| Back to top |
|
 |
Tom.W
Joined: 09 Mar 2006 Posts: 6635
|
| Posted: Sun Feb 24, 2008 5:46 am Post subject: |
|
|
Please do ! Even if only a copy and paste...
|
|
| Back to top |
|
 |
stefuel
Joined: 07 Mar 2006 Posts: 3353 Location: Green Harbor MA USA
|
| Posted: Sun Feb 24, 2008 11:51 am Post subject: Re: Crestron APC Module |
|
|
| jmayes wrote: | Ok, I got the APC module working on my CNX-Pro without much trouble. For now I am just displaying the resulting data on the front panel LCD. It polls the APC every 10 secs like clockwork. A few things of note, Smart Backups have to be put in "SM Smart Mode" by sending a "Y" (Capital Y). The Crestron module does this only at program startup, hence if the backup looses power and goes dead, once power is restored it will be in "Dumb" mode and the crestron module will not get any data. Also if you hook up the UPS after the program is started the same problem occurs. If the backup is connected to the controller then this is most likely a moot point but if the backup is for another device(s) then it could get out of sync with the program.
For now I hacked the APC module and added "Y" to the "Q" command so it polls "YQ" on each 10 second cycle so if the ups is out of mode it fix's it on the fly. Everything appears to still work fine with that change made.
Also there is no "test" input on the module, I would like to add that so the program can run periodic tests and log battery status.
Lastly I have a question for our new member MRbud. I can not seem to figure out how to add a user module into a simpl program (*.umc). I see when you right click on the logic tree there is a "import crestron module" but it is grayed out. Finally I opened up the original example program with the UMC in it and right clicked on it and "copy", then in an another instance of simpl with my program opened, I right clicked and pasted the module in with success. I would like to know the proper way to get modules in the program.
JM |
Did the sample vt pro e panel work with your vt 3500? I think it was designed for the 4500. My SU3000RMNET won't be here for a week so I can't test it. I'll make a copy of my program and install it on the copy to see how it works. Once I have a working version on my copy then I'll mess with it to make it do what I want. I think the UPS I have coming has a default test mode. I think it's every 14 days but I'll have to re-read the instructions.
_________________ Chip
A Barco is only a AmPro with training wheels
Card carrying member of the AVS chain gang.
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Sun Feb 24, 2008 2:49 pm Post subject: Re: Crestron APC Module |
|
|
| stefuel wrote: | | Did the sample vt pro e panel work with your vt 3500? I think it was designed for the 4500. My SU3000RMNET won't be here for a week so I can't test it. I'll make a copy of my program and install it on the copy to see how it works. Once I have a working version on my copy then I'll mess with it to make it do what I want. I think the UPS I have coming has a default test mode. I think it's every 14 days but I'll have to re-read the instructions. |
I did not try to program a panel yet, I just sent the data to the front panel LCD of the CNX-PRO controller. I looked up the 3500 and it does support serial joins via indirect text so it will work without a problem. In fact even the old LC-1500 has serial joins to so should be no problem even on the med old panels. I know the oldest panels (Pre-lc1500) are not graphic based (only do preprogrammed buttons) and they I think only have analog joins for barographs.
I can't find your SU3000RMNET panel in the config tree, is it a color panel- do you know how old it is?
JM
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Sun Feb 24, 2008 2:59 pm Post subject: Re: Crestron APC Module |
|
|
| jmayes wrote: | | I can't find your SU3000RMNET panel in the config tree, is it a color panel- do you know how old it is? |
Never mind, I just googled and found out that is the APC backup your getting, not a panel. Nice big unit, I have two 3300va models and run them with external batterys. Everything electronic pass's through them and I built a battery crossover that sub's my generator into the 48v battery line so the generator does not directly run the electronics. Part of the future plans are to use the crestron to autostart the generator when needed.
Stefuel, Which touch panels(s) are you using?
JM
|
|
| Back to top |
|
 |
mrbud
Joined: 23 Feb 2008 Posts: 15 Location: Mo.
|
| Posted: Sun Feb 24, 2008 3:14 pm Post subject: edited : adding to user database |
|
|
Jmayes,
I believe what you need to do is the following.
1. manage your way through windows explorer to "crestron" / simpl / userplus
2. Save your file here.
3. when you reopen your simple program.. under "options" tab at tob,,,, you will see an option to rebuild user and project database...
This should then save your file and make it accessible from the userdb at left...
Try this and let me know if it worked or not....
Thanks,
MrBud
Last edited by mrbud on Sun Feb 24, 2008 4:07 pm; edited 1 time in total
|
|
| Back to top |
|
 |
stefuel
Joined: 07 Mar 2006 Posts: 3353 Location: Green Harbor MA USA
|
| Posted: Sun Feb 24, 2008 3:30 pm Post subject: Re: Crestron APC Module |
|
|
| jmayes wrote: | | jmayes wrote: | | I can't find your SU3000RMNET panel in the config tree, is it a color panel- do you know how old it is? |
Never mind, I just googled and found out that is the APC backup your getting, not a panel. Nice big unit, I have two 3300va models and run them with external batterys. Everything electronic pass's through them and I built a battery crossover that sub's my generator into the 48v battery line so the generator does not directly run the electronics. Part of the future plans are to use the crestron to autostart the generator when needed.
Stefuel, Which touch panels(s) are you using?
JM |
CT-3500's. I plan to add 2 "L" versions, one it the kitchen and a local at the rack for a total of 3. I can keep the CT in the theater and access the external vid cameras on the projector. The rest will be "VT's".
_________________ Chip
A Barco is only a AmPro with training wheels
Card carrying member of the AVS chain gang.
|
|
| Back to top |
|
 |
stefuel
Joined: 07 Mar 2006 Posts: 3353 Location: Green Harbor MA USA
|
| Posted: Mon Feb 25, 2008 1:44 am Post subject: |
|
|
I can't wait for this ups to arrive via ups . We had a power outtage today and it took out a fuse on the power supply of my dvd player. What really bothers me the most is the projector. If it's on when the power goes on and off a few times, the projector goes into re-start and has to re-boot. I'm afraid one of these days it'll just say no.
_________________ Chip
A Barco is only a AmPro with training wheels
Card carrying member of the AVS chain gang.
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Mon Feb 25, 2008 2:59 am Post subject: APC Module on the CT-3500 |
|
|
| Quote: | | Stefuel Wrote: Did the sample vt pro e panel work with your vt 3500? |
I went ahead and brought out my unused ct-3500 and had no problem loading the application onto it, just do a save-as and select ct-3500. The only side effect was I had to move the body of the blue box's down some and the black data box's needed to be re-spaced alittle bit because the screen is not as large. I did not use the simpl+ modules that sit on each of the data signals, the only side effect is the numbers flicker alittle when it polls the apc.
Working perfect just as advertised.
Jeff
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Mon Feb 25, 2008 3:02 am Post subject: Re: edited : adding to user database |
|
|
Ok, I figured out where I was going wrong adding modules to simple. I did not have my "Symbol library tree" turned on in order to save screen space. The only place the modules show after you get them in the proper folders is in that tree. Simpl help says they should go in the /usrmacro folder but I figured out it also picks up on them if they are in the usrlib or programs folder too.
Thankx for the help!
Jeff
| mrbud wrote: | Jmayes,
I believe what you need to do is the following.
1. manage your way through windows explorer to "crestron" / simpl / userplus
2. Save your file here.
3. when you reopen your simple program.. under "options" tab at tob,,,, you will see an option to rebuild user and project database...
This should then save your file and make it accessible from the userdb at left...
Try this and let me know if it worked or not....
Thanks,
MrBud |
|
|
| Back to top |
|
 |
stefuel
Joined: 07 Mar 2006 Posts: 3353 Location: Green Harbor MA USA
|
| Posted: Mon Feb 25, 2008 1:46 pm Post subject: |
|
|
OK call me stupid. Which file in the APC sample program folder did you copy to \usrsplus to move the module over to simpl or did you move the whole folder? Trust me when I tell you, file management is NOT one of my stronger points
_________________ Chip
A Barco is only a AmPro with training wheels
Card carrying member of the AVS chain gang.
|
|
| Back to top |
|
 |
jmayes
Joined: 27 Jan 2008 Posts: 116
|
| Posted: Mon Feb 25, 2008 2:41 pm Post subject: |
|
|
| stefuel wrote: | OK call me stupid. Which file in the APC sample program folder did you copy to \usrsplus to move the module over to simpl or did you move the whole folder? Trust me when I tell you, file management is NOT one of my stronger points  |
"APC Smart UPS.umc", but you can just put it in the programs directory- it will find it there too I found out. It will show on the bottom of the "symbol tree" under either user modules or program modules depending on which folder it's in.
Good luck,
JM
|
|
| Back to top |
|
 |
Tom.W
Joined: 09 Mar 2006 Posts: 6635
|
| Posted: Mon Feb 25, 2008 2:57 pm Post subject: |
|
|
Just an update. The HD DVD programming is now complete and running perfectly
|
|
| Back to top |
|
 |
|
|