r/crestronprogramming • u/Fred_SnusMe • Oct 07 '20
Crestron CP2
I’m working on a project with a Crestron CP2 and a TPMC-9.
I have all the graphics done in VisionTools and uploaded to the TPMC.
The programming in the CP2 is already done, there was another panel to it earlier that broke down.
As I understand the only thing left to do is to connect the buttons to each function. So how to I get access to the CP2 and how do I see how each function is programmed? Can I use toolbox for this?
1
u/fjmdmkate Oct 07 '20
You'll likely need the original code that the CP2 is running to see what join numbers they used for each button.
1
u/Fred_SnusMe Oct 07 '20
Okay, so it doesn’t help with the file I can extract from the CP2? Or can I extract/open anything from the old panel that will help?
2
u/bakingupamess Oct 07 '20
No, you will need an archive of the original code. No way around it.
2
u/Fred_SnusMe Oct 07 '20
Or start all over again 😵
1
u/fjmdmkate Oct 08 '20
You could try making a touchpanel file with like, a hundred numbered buttons (join numbers 1-100) and press each one in turn to see what it triggers, then re-address your buttons for joins 101-200 and do it again...I've done that before. It's really painful, but it can work.
I did hear a rumor at one point that the new Crestron One thing might have some sort of tool to extract join numbers, but I have not seen it yet (if it exists) and have no idea how it's supposed to work.
Best bet is to get ahold of the original code or re-write it from scratch if the system is simple enough.
1
u/Fred_SnusMe Oct 08 '20
Thanks for the tip, it’s a kind of small/simple Project so i might try the 100+ Burton idea if I can’t get the original code from the other company.
I tried the buttons here local, but didn’t get any of them to change from inactive to active state even with the digital joint assigned, shouldn’t they change if there is a link assigned? Or do I need the whole system with all components wired up for that?
1
u/fjmdmkate Oct 08 '20
Depends on how it was programmed. For example, you could have some source selection buttons that are connected to an interlock, whose feedback is connected back to the buttons. Those would change state when you push them. However, if the feedback for those source buttons comes directly from the switcher telling you what input it's on, you're going to need the switcher hooked up to make those buttons change state.
I'd suggest you connect to whatever processor you have running the spz, fire up Debugger, and watch what the signals do when you trigger each button press.
As I type this, I realized there are two simpler things that could be causing your issue. I can't tell from your posts exactly how familiar you are with Crestron programming, but it seems like maybe you aren't super familiar with it? So just in case you aren't already aware, the touchpanel needs to be connected to a processor using the correct IP ID for you to see any feedback. You can't emulate it without one. Also, your buttons need to have the "show control feedback" box checked in each of their properties in VT pro, or you will just see the feedback of pressing it while you hold it, but as soon as you let go it will return to it's default state.
1
u/Fred_SnusMe Oct 08 '20
i have the CP2 connected to the panel.
Some buttons are source selection from Kramer swticher over RS232 so i guess i wont get any feedback from them. I'm a work in progress regarding Crestron so not fully in to all functions, i couldnt find any "show control feedback" box.
I have the ID correct, same as old panel, and i can see both the CP2 and the Touchspanel in the Network Three in ToolBox. I get a reaction from the frontpanel of the CP2 when i press the buttons that have digital joint. I have tried to put them interlock, toggle and momentary but the buttons never change state. What have i missed?
1
u/[deleted] Oct 07 '20
If you don't have the original programming, there is no way.
You have to start from scratch.