Return to the CurtPalme.com main site CurtPalme.com Home Theater Forum
A forum with a sense of fun and community for Home Theater enthusiasts!
Products for Sale ] [ FAQ: Hooking it all up ] [ CRT Primer/FAQ ] [ Best/Worst CRT Projectors List ] [ Setup Tips & Manuals ] [ Advanced Procedures ] [ Newsletter ]
 
Blu-ray disc release list and must-have titles. Buy the latest and best Blu-ray titles to show off in your home theater!

 As this forum is rarely used anymore, we've locked it. Feel free to browse and read. Questions? Please reach out to us directly. Cheers! 

Programming a Crestron Part 2
Goto page Previous  1, 2, 3 ... 9, 10, 11 ... 13, 14, 15  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    CurtPalme.com Forum Index -> Home Theater Accessories
Author Message
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Sun Mar 02, 2008 1:30 pm    Post subject:

One more quick question. The opening screen for the Crestron VTP is one large button. It has a analog join for the swirl animation and a digital join for the button which flips page to the main screen. I lost the digital join # when I re-sized the VTP to suit my CT-3500. It still shows the whole black area as digital join 1 but the join is not shown on the screen even if I print it out. The main screen re-sized correctly. I think I'm just not seeing the edges of the button, all the way around. Thanks,

_________________
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 Mar 03, 2008 5:21 pm    Post subject:

OK I've got it all loaded up. Something is wrong. No activity reported from the UPS. I did add the "Y" to the "Q" so that it polls "YQ" on s-4 (serial IO) within the module. The button presses seem to be connected as page flips work and the power buttons give feedback. In the power mode window neither the AC or Battery light is on. In the battery level windowShows 0% and the gauge shows nothing. No activity in the warning window. In the statistics window, it really gets weird. It show nothing more then a garbled mess that is not aligned with it's respective windows. The only changes I made to this was to swap out join numbers with some un-used ones in my program and add one button to the opening screen so that I could flip to the home screen of my program. I added the "Y" command after the fact.
_________________
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 Mar 03, 2008 8:13 pm    Post subject:

stefuel wrote:
OK I've got it all loaded up. Something is wrong. No activity reported from the UPS. I did add the "Y" to the "Q" so that it polls "YQ" on s-4 (serial IO) within the module. The button presses seem to be connected as page flips work and the power buttons give feedback. In the power mode window neither the AC or Battery light is on. In the battery level windowShows 0% and the gauge shows nothing. No activity in the warning window. In the statistics window, it really gets weird. It show nothing more then a garbled mess that is not aligned with it's respective windows. The only changes I made to this was to swap out join numbers with some un-used ones in my program and add one button to the opening screen so that I could flip to the home screen of my program. I added the "Y" command after the fact.


Do you see the Xmit light pulse every 10 seconds or so?

JM
Back to top
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Mon Mar 03, 2008 9:38 pm    Post subject:

jmayes wrote:
stefuel wrote:
OK I've got it all loaded up. Something is wrong. No activity reported from the UPS. I did add the "Y" to the "Q" so that it polls "YQ" on s-4 (serial IO) within the module. The button presses seem to be connected as page flips work and the power buttons give feedback. In the power mode window neither the AC or Battery light is on. In the battery level windowShows 0% and the gauge shows nothing. No activity in the warning window. In the statistics window, it really gets weird. It show nothing more then a garbled mess that is not aligned with it's respective windows. The only changes I made to this was to swap out join numbers with some un-used ones in my program and add one button to the opening screen so that I could flip to the home screen of my program. I added the "Y" command after the fact.


Do you see the Xmit light pulse every 10 seconds or so?

JM


If you're talking about the led's on the front of the cnmsx pro, NO. I'm going to print out the sample and mine so I can do a side by side comparison. I don't remember exactly but I think there's only 12 digital joins for this UPS program to work.
As this started out as a complete program, the digital joins started at "press 1". That conflicted with my program so I replaced them and started at "press 15" and ran to "press 26". The serials start at "text-01" and run through "text-09".
I wrote them in my program exactly the same way. There are only 2 analogs and they are on the "FB"side. "animate" on an_fb1 and "battery-bar" on an_fb2. I tried it exactly that way and at "an_fb15" and "an_fb16" to coincide with what used to be fb 1 and fb 2 which is now "fb 15" and "fb 16". Holy $hit, I'm confusing my self Laughing

_________________
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 Mar 03, 2008 9:48 pm    Post subject:

A mistake on the digial joins won't cause no activity on the send/rcv leds. The apc module will TXD every 10 seconds using it's internal logic reglardless of the joins, if the apc is responding the RXD will also flash, There is actually quite a bit of TXD/RXD activitity once they are taling correctly. Try putting a "1" on "Enable RS232" and forgot about the crestron swril thingy. Also make sure the TX and RX are correct to and from the module and your serial port. Also be sure you set your port to 2400 baud.

Good luck!
JM
Back to top
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Mon Mar 03, 2008 10:36 pm    Post subject:

OK making progress. I f-d up. was in such a hurry to get this going that I forgot to select com port B. Now it's polling every ten seconds. I forget how to set baud rate for the selected port. When I look at the cnmsx front panel I can see that it's indeed sending "YQ" on the "T" line but it shows "dsplay buffer clear on the" on the "R" line. The TXD led is flashing every ten seconds.
_________________
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 Mar 03, 2008 11:26 pm    Post subject:

stefuel wrote:
OK making progress. I f-d up. was in such a hurry to get this going that I forgot to select com port B. Now it's polling every ten seconds. I forget how to set baud rate for the selected port. When I look at the cnmsx front panel I can see that it's indeed sending "YQ" on the "T" line but it shows "dsplay buffer clear on the" on the "R" line. The TXD led is flashing every ten seconds.



Just right click on the comport when simpl is in configure mode. One of the tabs is for baud rate. It sounds like that is all you need to do now as it will be 9600 if you have not changed it yet and the apc has to have 2400.

Goodluck,
JM
Back to top
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Mon Mar 03, 2008 11:35 pm    Post subject:

jmayes wrote:
stefuel wrote:
OK making progress. I f-d up. was in such a hurry to get this going that I forgot to select com port B. Now it's polling every ten seconds. I forget how to set baud rate for the selected port. When I look at the cnmsx front panel I can see that it's indeed sending "YQ" on the "T" line but it shows "dsplay buffer clear on the" on the "R" line. The TXD led is flashing every ten seconds.



Just right click on the comport when simpl is in configure mode. One of the tabs is for baud rate. It sounds like that is all you need to do now as it will be 9600 if you have not changed it yet and the apc has to have 2400.

Goodluck,
JM


Cool, I'll try that right now and get back to you. Thanks for the help.

_________________
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 Mar 03, 2008 11:57 pm    Post subject:

Extra cool Laughing That was it. Now I've just got one more thing to fix. The power mode lights are not working. The one next to AC should be lit and I think when I press power , the battery one should be lit. Everything else seems to be working fine now. It's polling correctly and the results look correct in the statistics window.

Next, I have to figure out where to tie into this to trigger my master power off button. There are a couple of re setable modules in the C database that I could use.

_________________
Chip
A Barco is only a AmPro with training wheels

Card carrying member of the AVS chain gang.


Last edited by stefuel on Tue Mar 04, 2008 1:13 am; edited 1 time in total
Back to top
jmayes



Joined: 27 Jan 2008
Posts: 116


Posted: Tue Mar 04, 2008 12:07 am    Post subject:

stefuel wrote:
Extra cool Laughing That was it. Now I've just got one more thing to fix. The power mode lights are not working. The one next to AC should be lit and I think when I press power , the battery one should be lit. Everything else seems to be working fine now. It's polling correctly and the results lokk correct in the statistics window.

Next, I have to figure out where to tie into this to trigger my master power off button. There are a couple of re setable modules in the C database that I could use.


Power on and power off just turns the apc output on and off, it won't effect the battery/ac indicator. Try pulling the powercord from the AC main and see if the battery indicator shows then. It could be just your AC is not working. That should just be a join issue.

Just a note, power on and power off did not work on my test apc but it was a very old version and I assumed it did not support that feature set. If those functions don't work for you then there will need to be a code change.

I think your looking for a set-reset latch but there is already one built in the APC, the power on and power off inputs just need pulsed, not held.


Sounds like your making progress!
Jeff
Back to top
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Tue Mar 04, 2008 12:13 am    Post subject:

I'll bet none of those lights work now as a result of deleting and re-issuing new join numbers. I will go out and pull the plug just for giggles.
_________________
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: Tue Mar 04, 2008 3:51 am    Post subject:

stefuel wrote:
I'll bet none of those lights work now as a result of deleting and re-issuing new join numbers. I will go out and pull the plug just for giggles.


You sould be able to confirm the module outputs using test manager, I think you will get your joins figured out pretty soon.

Off to bed for tonight!
JM
Back to top
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Tue Mar 04, 2008 11:32 am    Post subject:

jmayes wrote:
stefuel wrote:
I'll bet none of those lights work now as a result of deleting and re-issuing new join numbers. I will go out and pull the plug just for giggles.


You sould be able to confirm the module outputs using test manager, I think you will get your joins figured out pretty soon.

Off to bed for tonight!
JM


I have never used Test manager. Now I have something new to figure out. Laughing

_________________
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: Wed Mar 05, 2008 2:17 am    Post subject:

All right, I'm missing something here and I can't seem to find it. There are 5 indicators (2 in power mode and 3 in warnings). These simulated led's do not work. I checked the vtpro e gui and the buttons/led's do have active and in-active colors attached to them. So back in Simpl I opened up the main apc module and checked the five buttons in the signal list. When you are checking a signal, two windows open up (driving source) and (signal routing). All the working signals I checked showed information in both windows. However, when I open up any of those five signals I only see information in the driving source window. Signal routing is blank. I don't think I've made a mistake outside of the module because when I type in the correct information on the fb side of the tp the background turnd green indicating that there is connection between the source of the signal and fb. The source of that is within the module. I can't seem to find the missing link.
_________________
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: Wed Mar 05, 2008 3:55 am    Post subject:

stefuel wrote:
All right, I'm missing something here and I can't seem to find it. There are 5 indicators (2 in power mode and 3 in warnings). These simulated led's do not work. I checked the vtpro e gui and the buttons/led's do have active and in-active colors attached to them. So back in Simpl I opened up the main apc module and checked the five buttons in the signal list. When you are checking a signal, two windows open up (driving source) and (signal routing). All the working signals I checked showed information in both windows. However, when I open up any of those five signals I only see information in the driving source window. Signal routing is blank. I don't think I've made a mistake outside of the module because when I type in the correct information on the fb side of the tp the background turnd green indicating that there is connection between the source of the signal and fb. The source of that is within the module. I can't seem to find the missing link.


It comes up the same way in my module and mine are working. I just thought of something, take the "Y" back out of the "Q" statement, it could be that is messing up the status byte as it is the very next one that comes in. When I first did that I was worred the status byte might get missed and it did not look like it was reading it in test manager but my indicators continued to work so I said frig it. That "Y" hack really is not the correct way to do it so maybe what works in one case (mine) and will not work in another.

Give that a try,
JM

PS, just keep in mind that without the "Y" in with the "Q" you must restart the controller (hard reset) any time the backup gets completely shut down (no power to the AC and turned off).
Back to top
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Wed Mar 05, 2008 11:31 am    Post subject:

Ahhh you waskewie wabbit. It was that pesky"Y" that was holding it down. Now that I have signal to those two power mode buttons, I can use the "fb" signal from battery mode to build upon for my timed safe shut-down. One odd note: I just discovered that I had left out one "text change detector" and it made no difference. the polled text associated with that signal still appears in the correct boarder.
I'll add it tonight just in case it makes a difference somewhere else. Thanks,

_________________
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: Thu Mar 06, 2008 3:30 pm    Post subject:

stefuel wrote:
Ahhh you waskewie wabbit. It was that pesky"Y" that was holding it down. Now that I have signal to those two power mode buttons, I can use the "fb" signal from battery mode to build upon for my timed safe shut-down. One odd note: I just discovered that I had left out one "text change detector" and it made no difference. the polled text associated with that signal still appears in the correct boarder.
I'll add it tonight just in case it makes a difference somewhere else. Thanks,


That is what I was saying earlier, the "text change detector" is not needed, all it does it stop a real slight flicker of the data on the touch screen during the polling process. In usual Crestron fashion they were being ultra picky when doing up the program.

I found a much better way to add the "Y" command to each polling cycle but it not a 1 byte hack like the other one. I will add and test it to my module and post the updated module.

Glad you got it going!
JM.
Back to top
stefuel



Joined: 07 Mar 2006
Posts: 3353
Location: Green Harbor MA USA

Posted: Thu Mar 06, 2008 11:51 pm    Post subject:

I am going to open up the module tonight and look at Y polling and where to build from for a safe shut-down of my system.
This APC module is the first attempt for me at displaying polled information on a touch screen. Up to now it's been just button feedback with state changes. Just having a working sample in my system now is helping me understand the process much better. Thanks,

_________________
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: Fri Mar 07, 2008 2:29 am    Post subject: Barco IR update

Well I took a stab at trying to find Tom some more Barco IR codes that might work and stumbled on (I think) the real problem. It seems that the real codes truly do not have a carrier, these type IR codes are Pulsed bursts of steady light. Most remote codes are pulsed light with a frequency attached, IE:the carrier. When I download the "no-carrier" codes to the ST-CP, the box crashes when I issue any of the codes. I have now tried several versions of the barco IR codes and all have the same problem on all except for the ones built into the Crestron database, those codes do nothing! I also tried making edits to the IR in DEAL and a few other editors I have here and na-da.

So I don't have good news on this front, it looks like the ST-CP just does not like the no-carrier codes, I also tried to update firmware but that looks current at ver. 4.02 so I am at a dead-end here.

Time to make a serial cable, that should be a slam dunk- Tom, are you game?

As usual, good luck!
JM
Back to top
Tom.W



Joined: 09 Mar 2006
Posts: 6635


Posted: Fri Mar 07, 2008 2:57 am    Post subject: Re: Barco IR update

[quote="jmayes"]Well I took a stab at trying to find Tom some more Barco IR codes that might work and stumbled on (I think) the real problem. It seems that the real codes truly do not have a carrier, these type IR codes are Pulsed bursts of steady light. Most remote codes are pulsed light with a frequency attached, IE:the carrier. When I download the "no-carrier" codes to the ST-CP, the box crashes when I issue any of the codes. I have now tried several versions of the barco IR codes and all have the same problem on all except for the ones built into the Crestron database, those codes do nothing! I also tried making edits to the IR in DEAL and a few other editors I have here and na-da.

So I don't have good news on this front, it looks like the ST-CP just does not like the no-carrier codes, I also tried to update firmware but that looks current at ver. 4.02 so I am at a dead-end here.

Time to make a serial cable, that should be a slam dunk- Tom, are you game?

As usual, good luck!
JM[/quote

Thanks Jeff. I had no luck either. Would be nice if I could just get power on and power off though. Will give the serial route a try with your expert help. Wink

Will be busy over the weekend but we could start with what is needed for the proper serial cable ....
Back to top
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    CurtPalme.com Forum Index -> Home Theater Accessories All times are GMT
Goto page Previous  1, 2, 3 ... 9, 10, 11 ... 13, 14, 15  Next
Page 10 of 15
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum