CIP v1.0 now available

219 views
Skip to first unread message

Scott Shanafelt

unread,
Jul 8, 2011, 2:54:23 PM7/8/11
to comman...@googlegroups.com
Hi everyone,

I've committed the CIP Javascript module to the Command Fusion github.  This module allows iViewer to communicate directly to an XPanel device object on a Crestron system.

For more details please visit the Wiki:    https://github.com/CommandFusion/CIP/wiki

As with anything new, there are some caveats.  Testing has been limited, so be sure to do your own before implementing this for users.  Also note that v1.0 is intended to replicate the capabilities of XPanel native features, with the addition of text transmit to Crestron (from a input field).  This means that it does not currently implement password protection like the iViewer native control system does, nor does it support the dynamic list protocol.  These are features that I or someone else in the community will certainly add at some point, however this is not part of the 1.0 release.

Other than dynamic lists you should be able to adapt a typical existing Crestron iViewer project to use CIP relatively quickly.  You only need add the script, add the System and Feedback objects, and add/configure the necessary Global Tokens (See wiki and example code for details), in addition to adding the XPanel to the Crestron program.

This is provided with no expressed warranty or guarantees, everyone is free to use/modify as they please.  I encourage people to add features and commit them back to github to share with others.  Be sure to register on github and "watch" the CommandFusion/CIP project to be automatically notified of updates by myself and others.

Regards,
Scott Shanafelt
Jetson Systems

Jared Haleck

unread,
Jul 8, 2011, 2:56:44 PM7/8/11
to comman...@googlegroups.com
Whoa cool!  Thanks a bunch. I know what I am doing this weekend.

--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Jarrod Bell

unread,
Jul 8, 2011, 7:24:46 PM7/8/11
to comman...@googlegroups.com
Very very cool!

Jarrod

Mqsack

unread,
Jul 8, 2011, 10:26:29 PM7/8/11
to CommandFusion
Thanks for working to make this happen, Scott. We all appreciate it!

I have been running your demo on a QM-RMC and Pac2m for about 4 hours
now (with both 4.001.1012[bld7] and 4.003.0015 cuz's).

Initially I had an issue when closing iVN and reopening it shortly
afterwards. No update request was being sent to the processor, so
communication was not re-established. The only fix was to power down
the iPAD or reboot the processor.

This was with v4.0.4 build 164.

I am happy to report that this issue is RESOLVED with the Testflight
v4.0.5 build 166 released today.

[ Note: If you are seeing this issue, the fix for now is to leave
multitasking ON and therefore keeping the connection alive ]

Thanks again for what I feel is a GIANT leap forward for CF/Crestron
integration.

Matt

Scott Shanafelt

unread,
Jul 8, 2011, 10:47:57 PM7/8/11
to comman...@googlegroups.com
Interesting, thanks for the feedback. I am not able to reproduce this issue with multitasking off (running 165). The TCP connection should be dropped when you close iViewer with multitasking off, so when it is reestablished the processor should do an update request (as it recognizes the new connection). I suppose if the TCP socket on iViewer is just dying and not closing properly (Crestron doesn't know the socket closed), then the processor may not recognize that the connection was completely reset (like very long lag) and respond with the IP ID status code generally used to indicate an update request is needed.

A possible workaround may be to enforce an update request when iViewer gains focus regardless of apparent socket status.

Anyway, hopefully Florent can provide some insight to what is happening with the sockets in the new iViewer so we can analyze this more accurately.

Thanks,
Scott

Jarrod Bell

unread,
Jul 8, 2011, 10:59:17 PM7/8/11
to comman...@googlegroups.com
We released 4.0.4 build 165 a few days after build 164, which contained
a few changes to the way apps communicate after put in the background,
but not sure anything was changed since build 164 relating to
disconnecting when you close the app.

This might explain why Scott didn't see the issue with build 165, whilst
Matt saw the issue in 164 (sorry Matt, I might not have ticked the box
to let everyone know to update to the 165 build on testflight, which
wasn't a new version, just a small build update).

Anyway, glad its working.

Jarrod

Scott Shanafelt

unread,
Jul 8, 2011, 11:08:43 PM7/8/11
to comman...@googlegroups.com
Matt with the new app can you disable multitasking and get expected behavior?

S

Mqsack

unread,
Jul 8, 2011, 11:10:31 PM7/8/11
to CommandFusion
Yeah, running 4.0.4 build 164 I was seeing the following error on the
Crestron side: (item #3)

1. Notice: System startup: QM-RMC Cntrl Eng [v4.001.1012 (Feb 17
2009), #00000000]
TimeStamp: 10:48:36 7-08-11 UpTime: 0 days 00:00:01.53 Task:
IdleTask
2. Notice: Previous Reboot: Non-fatal: Firmware Upgrade
TimeStamp: 10:48:36 7-08-11 UpTime: 0 days 00:00:01.54 Task:
IdleTask
3. Error: Message from device Slot-04.IP-ID-03:
(0056:0000:0056)
TimeStamp: 10:51:40 7-08-11 UpTime: 0 days 00:03:05.95 Task:
RxID03
Total Errors Logged = 3
End of System log

And I was NOT seeing a Update request from IP-ID-03 pop into my
console when the app reconnected.

After moving to v4.0.5 build 166 the error went away and the update
request notification landed in my text console, and feedback to the
iPAD quickly snapped into place.

Very FAST. Killer!

Matt

Mqsack

unread,
Jul 8, 2011, 11:13:01 PM7/8/11
to CommandFusion
Scott:

The minute I moved to v4.0.5 build 166, I had NO issues with
multitasking off...

It worked out of the gate.

Eric Miller

unread,
Jul 9, 2011, 12:04:50 AM7/9/11
to CommandFusion
Scott , Thank you.

Scott Shanafelt

unread,
Jul 9, 2011, 12:38:04 AM7/9/11
to comman...@googlegroups.com
You're welcome. Hope it helps.

S

Adam Zatorski

unread,
Jul 9, 2011, 2:04:36 AM7/9/11
to comman...@googlegroups.com
Scott,
 
First of all thanks.  This could be exactly what I need for a project right now.
 
I am trying this out and once I've loaded the script and try to edit it to confirm it has properly been inserted into the program I get an error.
 
Line:17
Char:1
Error:'CF' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error
 
As a result it won't open thru CF 'edit.'
 
Opening it in a JS editor and running a debug shows a similar error on line 17.  I'm not a JS coder and I'm not sure how to help past that, or even if the error is really an issue.
 
I've also made the Crestron code modifiactions exactly in your example inserting an XPANEL into the program, and the modifications to the .gui file.  So far it is not working yet.  I am on iVN 4.04 164.
 
Am I just missing something?


From: comman...@googlegroups.com on behalf of Scott Shanafelt
Sent: Fri 7/8/2011 10:38 PM
To: comman...@googlegroups.com
Subject: Re: CIP v1.0 now available

Jarrod Bell

unread,
Jul 9, 2011, 2:18:26 AM7/9/11
to comman...@googlegroups.com
Where exactly are you trying to load the JS?

You just use it in your guiDesigner project, as per the examples that Scott has created.

The CF object is only created at runtime by iViewer.

Jarrod

Jarrod Bell

unread,
Jul 9, 2011, 2:24:26 AM7/9/11
to CommandFusion
I just realised you are trying to open it via guiDesigner 'edit'
button. On your PC you probably have .js files set to launch in
internet explorer, which will try and run the javascript file
unsuccessfully (its not meant to run this way).

Change your .js file association to run in a text editor, then the
edit button will work correctly.
You shouldn't need to edit the JS file anyway (I think its all setup
via global tokens in project properties, as per the wiki help docs on
github).

Jarrod
> > ------------------------------------------------------------------------
> > *From:* comman...@googlegroups.com on behalf of Scott Shanafelt
> > *Sent:* Fri 7/8/2011 10:38 PM
> > *To:* comman...@googlegroups.com
> > *Subject:* Re: CIP v1.0 now available

Adam Zatorski

unread,
Jul 9, 2011, 2:36:15 AM7/9/11
to comman...@googlegroups.com, CommandFusion
The default ie setting makes sense. I'll change that, but I've followed his .gui file example exactly. The tokens are all there, system definition and feedback regex as well.

What doesn't make sense is the .js file itself. I can openand view it in a JS editor and run a debug and I get an error on line 17.

Adam Zatorski
King Systems LLC
Audio/Video Design & Installation
Certified DBE, MWBE & SBE
www.kingsystemsllc.com

(303) 410-0924 Office
(303) 875-7897 Cell

Florent Pillet

unread,
Jul 9, 2011, 4:23:20 AM7/9/11
to comman...@googlegroups.com
You can't run CF Javascript standalone like that. It has to be loaded and executed by iViewer on your device (or, for debugging purposes, in you web browser, but always in connection to a running instance of iViewer).

If your intent is to debug your JS code, please follow the instructions from the documentation:

http://www.commandfusion.com/docs/scripting/debug.html

Florent

Sent from my iPad

Scott Shanafelt

unread,
Jul 9, 2011, 12:19:27 PM7/9/11
to comman...@googlegroups.com
This is correct, under normal circumstances you never need to edit the javascript directly unless you wish to customize something. Global Parameters and System/feedback setup is all that is required.

S

Adam Zatorski

unread,
Jul 9, 2011, 4:30:04 PM7/9/11
to comman...@googlegroups.com, comman...@googlegroups.com
Is there a limitation in the script regarding the dig/an/serial max join amounts? I have around 2100 digitals.

I am getting presses to work just fine but feedback seems to be an issue. I've got the feedback defined and have only edited 3 properties

System: CIP1 (my control system IP is shown in quotes but is not part of the actual system name defined)

Feedback name: CIP1_Incoming_Data (this matches the value of the token named CIP1:Feedback_Name exactly)
Regex: . (there is a period here, no spaces before or after it)

No other information is entered in any field.

Any ideas?

Adam Zatorski
King Systems
www.kingsystemsllc.com

Scott Shanafelt

unread,
Jul 9, 2011, 6:40:17 PM7/9/11
to comman...@googlegroups.com
Are you getting feedback at lower join ranges?

Also did you adjust the digital low and high range tokens accordingly?

I never ran into any issues with high join ranges, though I cannot remember exactly how high I tested. It was >1000, for sure.

S

Adam Zatorski

unread,
Jul 9, 2011, 7:04:20 PM7/9/11
to comman...@googlegroups.com, comman...@googlegroups.com
I did make the adjusts in my program from the start. I can get feedback with your example (if it connects). I can't get feedback with my program in any range; making it connect is also very difficult although once in awhile it does connect.

Is there a documented way to get access to the testflight programs? Per my first post I'm still on 164 so this might be worthless troubleshooting.

Adam Zatorski
King Systems LLC

Scott Shanafelt

unread,
Jul 9, 2011, 7:13:17 PM7/9/11
to comman...@googlegroups.com
Can you screenshot your global tokens and your expanded system definition? Worth double checking, as I'm not 100% sure I'm explaining that well.

Other than that I would make sure you have removed the Control System definition from project properties if you still have that.

As for the effects of build 164, it's hard to say. I personally didn't have any big issues with 164, but others have.

Scott

Adam Zatorski

unread,
Jul 11, 2011, 7:07:26 PM7/11/11
to comman...@googlegroups.com, comman...@googlegroups.com
I was out of town and still plan on getting this to you. I'll be in a position to do so tomorrow.

This may have been missed in my earlier email, but is there a documented way to get access to testflight programs?

Adam Zatorski
King Systems LLC

Audio/Video Design & Installation

Jarrod Bell

unread,
Jul 11, 2011, 10:56:14 PM7/11/11
to comman...@googlegroups.com
To apple for TestFlight access:
http://bit.ly/gC9pTN

Everyone note: Only apply if you are seriously going to beta test and
provide in depth bug reports, etc.
We have limited spaces in the beta program (restriction enforced by
Apple) so we will only be giving people access who will be pushing
iViewer to its limits, or in cases where usage is quite different from
most people and hence uncovering issues we may miss otherwise.

Jarrod

On 12/07/11 9:07 AM, Adam Zatorski wrote:
> I was out of town and still plan on getting this to you. I'll be in a position to do so tomorrow.
>
> This may have been missed in my earlier email, but is there a documented way to get access to testflight programs?
>
> Adam Zatorski
> King Systems LLC

> Audio/Video Design& Installation

Fakum12

unread,
Jul 12, 2011, 4:17:03 AM7/12/11
to CommandFusion
Just tried the demo programm.

It works just fine as long as I have multitasking enabled.
As soon as I switch multitasking off, closing iViewer disables the
connection until I "hard" close the iviewer.

Scott Shanafelt

unread,
Jul 12, 2011, 10:37:00 AM7/12/11
to comman...@googlegroups.com
Someone mentioned experiencing this. They later reported it was resolved in the latest testflights of iViewer. Are you able to load those to test?

S

Matt Cusack

unread,
Jul 12, 2011, 12:18:38 PM7/12/11
to comman...@googlegroups.com
Yes, that was me. I had the same results with v4.0.4 build 164. Moving to v4.0.5 build 166 via testflight resolved this issue. I have not tried it on the most latest TF build(168 green).

Scott: do you have it working on v4.0.4 bd 164 ?

If so, maybe we can work to figure out what the difference is...

Matt

Scott Shanafelt

unread,
Jul 12, 2011, 12:33:19 PM7/12/11
to comman...@googlegroups.com
I have not tested it with 164 since it was current. Based on the information I currently have I'm assuming that was an issue outside of CIP that has been resolved.

Scott

Fakum12

unread,
Jul 13, 2011, 7:24:59 AM7/13/11
to CommandFusion
No, haven't signed up for TestFlight yet....

NDSNI

unread,
Jul 19, 2011, 3:56:05 AM7/19/11
to CommandFusion
Scott,

Your CIP module sounds great, does this mean that from the Crestron
side there should be no reason to use more iPad's per processor than
was possible with the SIMPL Plus module? Also does the current iViewer
next that is available form the App store run this or is it only
working on testflight versions?

Regards,

Noel Sofley

Fakum12

unread,
Jul 19, 2011, 6:48:23 AM7/19/11
to CommandFusion
As far as I can tell, you should be able to use the same number of
iPads, but with a more stable connection.

The iViewer Next version from the Appstore works with the cip 1.0 - as
long as you have multitasking enabled.

Scott Shanafelt

unread,
Jul 19, 2011, 10:49:37 AM7/19/11
to comman...@googlegroups.com
Hi Noel,

Yes you should be able to use more iPads per processor than SIMPL+. Should be identicle to using xpanels.

iViewer Next has an issue with sockets that will cause you some headaches. However you can test and get it working in preparation for iViewer 4 release. Enabling "Multi-tasking" in settings helps with the issue.

Scott

Matt Cusack

unread,
Jul 19, 2011, 10:57:09 AM7/19/11
to comman...@googlegroups.com
Does anyone have a good reference to how many Xpanels can be used on a processor (real world) ? I know this depends on what kind of load the processor is handling elsewhere.

I've done a bunch of xpanels with great success...but usually no more than 2 on a specific job.

Matt
-----Original Message-----
From: Scott Shanafelt <sgsh...@gmail.com>
Sender: comman...@googlegroups.com
Date: Tue, 19 Jul 2011 10:49:37
To: <comman...@googlegroups.com>
Reply-To: comman...@googlegroups.com

Scott Shanafelt

unread,
Jul 19, 2011, 11:28:07 AM7/19/11
to comman...@googlegroups.com
Depends on the number of signals (particularly serials) your using that will push you toward a memory limit on your processor. After that you are dealing with IP socket limits of crestrons CIP port, which used to be about 40-50 last I knew. Then you are dealing with the amount of traffic generated by each xpanel, which depends on programming (ecross vs flat/all signals, etc). I think even with the most heavy handed programming possible you could probably do 10 xpanels on a 64mb Pro2.

S

Jared Haleck

unread,
Jul 19, 2011, 11:37:15 AM7/19/11
to comman...@googlegroups.com
I wanna say ip socket limit on a 3- series is 256

Scott Shanafelt

unread,
Jul 19, 2011, 11:40:38 AM7/19/11
to comman...@googlegroups.com
Good point, my estimate is for 2 series, I should clarify.

S

Mqsack

unread,
Jul 19, 2011, 5:29:48 PM7/19/11
to CommandFusion
All good info and makes sense. So final matchup...

What do you think would be more efficient:

1. A dedicated CP2e handling connections from 16 iPADs via CIP.
Maximum 4000 digitals, 400 serials, and 160 analogs crossing the EISC
to a Pro2. (Common usage would probably be much less...500 digital, 50
serial, 20 analog.)

2. 16 Xpanel instances running direct on Pro2 and crosspoint logic
employed to limit digitals/serials to each Xpanel.

Wildcard: Swap a MC3 for either processor...

Matt

On Jul 19, 11:40 am, Scott Shanafelt <sgsha...@gmail.com> wrote:
> Good point, my estimate is for 2 series, I should clarify.
>
> S
>
> On Jul 19, 2011, at 11:37 AM, Jared Haleck wrote:
>
>
>
>
>
>
>
> > I wanna say ip socket limit on a 3- series is 256
>

Scott Shanafelt

unread,
Jul 19, 2011, 5:38:38 PM7/19/11
to comman...@googlegroups.com
If you are simply forwarding the ipad/xpanel signals from the CP2e to the pro2 you are gaining nothing but latency.  If you are instead able to provide device/zome controls to the cp2e and their control signals are kept local, then you would benefit.

If all 16 of your ipads only use 4k digitals, then I'd try it on the pro2 first.  If that's per panel, then that is a lot and I'd split it up.  If your in a design phase I would probably choose a Pro2 and a MC3, as opposed to Pro2+CP2E (personal preference).

S

Mqsack

unread,
Jul 19, 2011, 5:55:44 PM7/19/11
to CommandFusion
Yeah...I was calculating 250d/25s/10a per ipad instance with a direct
pass over EISC to the main processor(Pro2).

Makes sense to go CIP direct to main processor in that case I agree.

I have 2 types of jobs I am seeing:

1. Old jobs from 2005 that sometimes were written without buffering/
crosspoint that need an iPAD upgrade. These usually get an external CF/
iPAD processor and EISC over to the main processor

2. New jobs where I can do what I want.

Now I have more tools to tackle both scenarios.

[So MC3 is primetime, huh? Good to know, not having touched one yet.]

Thanks for the CIP hookup...

Matt

Scott Shanafelt

unread,
Jul 19, 2011, 8:04:30 PM7/19/11
to comman...@googlegroups.com
I'd imagine for that number of signals you could implement solely on a pro2.

S

Fakum12

unread,
Jul 20, 2011, 3:10:51 AM7/20/11
to CommandFusion
I wouldn't go for a MC3 yet.
They still have some major problems under heavy load and I'm not sure
if the string handling problems are fixed with the latest firmware.

JoshW @ LiquidPixel

unread,
Jul 20, 2011, 1:03:13 PM7/20/11
to comman...@googlegroups.com
I'm pretty sure Scott and Ian are my new heroes. Nice work guys.
We'll definitely jump in on some beta testing.

Eric Miller

unread,
Jul 23, 2011, 7:00:05 PM7/23/11
to CommandFusion
I finally got some time to try this at my house, and again thank you
Scott this is totally huge. I was searching through the forum and
trying to figure out how to reconnect if the ipad shuts down or leaves
the network. Is the only way to reboot the processor? I am using
Iviewer Next 4.0.4, is there anyway to get Iviewer next 4.0.5 without
being a testflighter- I just don't have the time to seriously beta
test and I dont want to take up a spot from someone who can. Any
thoughts would be greatly appreciated.

Eric Miller
Xen Technology Group, LLC


On Jul 20, 11:03 am, "JoshW @ LiquidPixel"

Jarrod Bell

unread,
Jul 23, 2011, 10:00:47 PM7/23/11
to comman...@googlegroups.com
iViewer 4 is awaiting app store approval so shouldn't be far away.

Jarrod

Etienne Terblanche

unread,
Aug 1, 2011, 9:07:11 AM8/1/11
to CommandFusion
So iViewer 4 is now available... any updates from anybody that's
tested it already? Are the connection issues now a thing of the past
and do we still require multitasking enabled?

Many thanks!

Scott Shanafelt

unread,
Aug 1, 2011, 10:01:37 AM8/1/11
to comman...@googlegroups.com
I've been using it this weekend without issue.

S

Nahshon Williams

unread,
Aug 1, 2011, 10:43:33 AM8/1/11
to comman...@googlegroups.com
There I was checking for CFiViewer updates from app store. . .This is a
new product altogether. . .

Mqsack

unread,
Aug 1, 2011, 12:35:42 PM8/1/11
to CommandFusion
Me too, Nahshon...could have been testing all weekend... Ha!

Oh well, got it now and going to bang away....

Matt

Mqsack

unread,
Aug 1, 2011, 11:13:24 PM8/1/11
to CommandFusion
Been running it on an iPAD and an iPOD Touch pretty hard for about 9
hours now with iViewer 4.

Reconnects every time. Very good perfomance.

Well done....

Scott Shanafelt

unread,
Aug 1, 2011, 11:15:43 PM8/1/11
to comman...@googlegroups.com
Thanks. Glad to hear it's working for you.

S

Etienne Terblanche

unread,
Aug 2, 2011, 3:35:03 AM8/2/11
to CommandFusion
Hi,

I discovered an issue with iViewer 4 this morning that I don't see
with iViewer Next v4.0.4 build 164

I'm controlling an Automonic MMS-5 from a Crestron AV2. I'm using the
exact same guiDesigner file for both iViewer 4 and Next. When browsing
through a list of albums (not using the guiDesigner List tool) I'm
able to lockup the comms between the iPad and AV2. This is only with
iViewer 4.

With iViewer Next I can browse and push buttons like crazy without any
issues. I'll investigate further and report back.

PS: The browsing is 6 lines of text and a small album art on the left.
Almost the same as Autonomic's example files.


Et

Jarrod Bell

unread,
Aug 2, 2011, 3:36:09 AM8/2/11
to comman...@googlegroups.com
Please do report back once you have more info.

Jarrod

Mqsack

unread,
Aug 2, 2011, 6:00:01 AM8/2/11
to CommandFusion
Et:

What size are the thumbnails that you are sending?

(I believe this is changeable on the Autonomic module IIRC)

And what size is the target image in guiD?

Perhaps it is a scaling-on-the-fly issue?

Matt

Etienne Terblanche

unread,
Aug 2, 2011, 6:36:18 AM8/2/11
to CommandFusion
Hi,

The Autonomic module in SIMPL only requires the size of the Now
Playing cover Art. There's no parameter to change the thumbnail cover
art. I'm able to freeze the interface by just using the scroll up/down
buttons, which doesn't happen with iViewer Next. When the interface
freeze the Xpanel still shows online for a while in the AV's IP Table
in Toolbox before going offline. Rebooting the AV2 alone doesn't
resolve the issue. I have to restart iViewer 4. I'll test without the
thumbnails to see if it makes any difference.


Another problem is that iViewer 4 keeps displaying Caching images when
I open the app, after switching Reload GUI layout OFF.

Etienne Terblanche

unread,
Aug 2, 2011, 6:41:00 AM8/2/11
to CommandFusion
Sorry, figured out I've also got to switch off Reload GUI assets for
iViewer 4 not to display the Caching images notice when I open the
app.



On Aug 2, 12:36 pm, Etienne Terblanche <etie...@be-in-control.co.za>
wrote:

Mqsack

unread,
Aug 2, 2011, 6:54:20 AM8/2/11
to CommandFusion
Got it. Thumbnails are fixed.

What size are those thumbnails?

Is this strictly a iViewer4 + CIP/Xpanel issue?

Or does it also happen when using the traditional iViewer Server 4.5
module as well?

(I don't have an MMS in-house right now or I could help
test....sorry.)



On Aug 2, 6:41 am, Etienne Terblanche <etie...@be-in-control.co.za>
wrote:

Etienne Terblanche

unread,
Aug 2, 2011, 7:02:07 AM8/2/11
to CommandFusion
I've loaded the GUI now without the thumbnails and it made no
difference. I'll press the scroll down button about 5 or six times
with a 1sec delay between presses, waiting for the 6 text lines to
populate, but still freezes.

The subpages (pop-up info pages) I created that are controlled locally
in iViewer still works...So does the local page flips.

As I said, the only thing I changed was to use iViewer 4, while
iViewer Next works 100%, except obviously with Multitasking enabled.

Mqsack

unread,
Aug 2, 2011, 7:05:27 AM8/2/11
to CommandFusion
So it sounds like it's related to indirect text and not images....

How long is the longest string being sent?

Maybe experiment with a MSP and truncate the string to 32/16/8/4 etc
characters and see if it makes a difference?



On Aug 2, 7:02 am, Etienne Terblanche <etie...@be-in-control.co.za>

Jarrod Bell

unread,
Aug 2, 2011, 7:15:04 AM8/2/11
to comman...@googlegroups.com
"Freezes" is a very general term, and sounds like nothing is actually
freezing if subpages and page flips are working.

We really need you to nail the problem as accurately as possible or
there is nothing we can do.

Jarrod

Mqsack

unread,
Aug 2, 2011, 7:26:48 AM8/2/11
to CommandFusion
And are subpages and page flips controlled by the Autonomic Module or
by separate logic in your program?

Or are they controlled on the iViewer side(loopback)?

Etienne Terblanche

unread,
Aug 2, 2011, 7:51:40 AM8/2/11
to CommandFusion
Sorry Jarrod, I'm still busy trying to identify the exactly where the
problem is. I understand that "freezing" actually means nothing. I'm
doing some testing now and will get back ASAP.

Etienne Terblanche

unread,
Aug 2, 2011, 8:26:29 AM8/2/11
to CommandFusion
OK, I think the problem is as Matt identified earlier in that iViewer
4 doesn't handle the amount of indirect text as well as iViewer Next.
Note that this is just my finding and I'm not the expert when it comes
to the development of the apps or even how JS handles the comms with
the Crestron processor.

I've got an iPhone docked in a Crestron iDoc with only 5 lines of
indirect text on the browse page. I don't have any problems here. I
can repeatedly press the scroll up/down buttons and the text keep
updating. The text is connected in SIMPL to a MSP set to 100d.

The Autonomic browse page have 12 lines of indirect text giving Album
and Artist details + thumbnails and a short extra function text
button. This totals 6 x 4 indirect text fields to be updated with
every scroll up/down button press. When I removed say the thumbnails
and Artist fields everything seems to be OK and I can press the scroll
up/down as frequently as I want and the fields are updated. All the
text are connected in SIMPL to a MSP set to 150d.

I then added the thumbnails again and now it scrolls without any
problems. I then added the artist text line under each album text line
and the problem is back.

Is it just me or do you also have to reboot the Crestron processor
after you've downloaded the GUI to the iPad in order to get them
connected? I haven't enabled Multitasking for iViewer 4.

Jarrod Bell

unread,
Aug 2, 2011, 8:32:52 AM8/2/11
to comman...@googlegroups.com
Guessing this is just a problem with the CIP JavaScript then?

Unless you can knockup an example that just uses loopback programming to
simulate the same data and reproduce?

Jarrod

Adam Zatorski

unread,
Aug 2, 2011, 8:41:55 AM8/2/11
to comman...@googlegroups.com, CommandFusion
Instead of rebooting the processor try this-

1. Enable multitasking
2. Load the program to your iDevice
3. After it's loaded and running (not yet connected) minimize it to the background.
4. Press the power but on the top of the iPad to force the screen to sleep.
5. Wake the iPad back up and press the iViewer 4 app icon.
6. CIP should now refresh.

Adam Zatorski
King Systems
www.kingsystemsllc.com
303.410.0924 office
303.875.7897 cell

Sent from my iPad
Ask me how it can control your home or business!

Florent Pillet

unread,
Aug 2, 2011, 9:16:40 AM8/2/11
to comman...@googlegroups.com
There is one significant change that we made in JavaScript handling
between #164 and the final iViewer 4 which could explain this. I'm
not 100% sure about whether the issue is related to using CIP, but
if it is it favors the diagnosis of a JavaScript issue.

We now that these issues can be pretty difficult to isolate for you,
although we appreciate your efforts doing so. It is very important
that we can nail the specific issue, in particular if it is something
that was working in #164 then became broken by a change we made.

One thing I would very much like you to test is the following:
- enable Remote Debugging mode in iViewer Settings
- launch iViewer, connect the browser to iViewer
- try your app

If my theory is correct, you wouldn't get a freeze under this
configuration.

Let us know what you find, thanks!

--
Florent Pillet - Software Engineering Lead
www.commandfusion.com

Etienne Terblanche

unread,
Aug 2, 2011, 10:05:13 AM8/2/11
to CommandFusion
I've found the problem!! The iPad got stuck when I browse up to a
particular album that's album cover art thumbnail is in a landscape
format, something the client did himself. The iPad keeps getting stuck
whenever this particular album is displayed in the browse list. This
however doesn't influence iViewer Next #164.

The address for the thumbnail is:
http://192.168.2.172:5005/getart?guid=4ea88d1d-11cc-b6a2-f27a-7bbe7431a234&h=112&w=112&c=2&fmt=png&ticks=18281&.png

My thumbnail picture size is 48x48 in iViewer 4, as per Autonomic's
example software. My iViewer Next picture size for the thumbnails are
60x50, but they are scaled without problems in Next.

I connected via Remote Debugging and this time iViewer 4 had no
problems displaying the cover art thumbnail.

Let me know if you'd like me to test anything else.


Matt Cusack

unread,
Aug 2, 2011, 10:44:25 AM8/2/11
to comman...@googlegroups.com
I thought that it was still happening with thumbnails disabled and just indirect text?

Josh

unread,
Aug 2, 2011, 3:10:18 PM8/2/11
to CommandFusion
I have just started testing with the CIP module, and it seems to work
pretty well. We have a client that is having disconnect issues using
the old iViewer and Crestron. My question is what do we need to do to
move this out of the beta stage and be ready to deploy for a client?

1.) Making the initial connection seems to be flaky. Once I get it
connected, it is rock solid but it does take a while to connect after
I load the project. I have to close out of the app, put the iPad to
sleep, etc.
2.) Has anyone seen any other issues?

On Jul 12, 9:37 am, Scott Shanafelt <sgsha...@gmail.com> wrote:
> Someone mentioned experiencing this.  They later reported it was resolved in the latest testflights of iViewer.  Are you able to load those to test?
>
> S
> On Jul 12, 2011, at 4:17 AM, Fakum12 wrote:
>
>
>
>
>
>
>
> > Just tried the demo programm.
>
> > It works just fine as long as I have multitasking enabled.
> > As soon as I switch multitasking off, closing iViewer disables the
> > connection until I "hard" close the iviewer.

Florent Pillet

unread,
Aug 2, 2011, 6:37:35 PM8/2/11
to comman...@googlegroups.com
> I connected via Remote Debugging and this time iViewer 4 had no
> problems displaying the cover art thumbnail.
>
> Let me know if you'd like me to test anything else.


This seems to confirm what I thought - don't think it has anything
to do with this particular thumbnail, but rather a JS issue that only
occurs while not connected with the remote debugger.

If you're not on the TestFlight program already, please send your
iPad device ID to Jarrod and we'll get in touch for a resolution
of this issue.

Thanks!

Jarrod Bell

unread,
Aug 2, 2011, 8:46:15 PM8/2/11
to comman...@googlegroups.com
What app and version of iViewer are you using Josh? iViewer 4 v4.0.5 is
the latest.

Jarrod

Mqsack

unread,
Aug 2, 2011, 10:19:23 PM8/2/11
to CommandFusion
Hey Josh:

I am using iViewer4 (4.0.5 build 171).

I am having very good results in general, but seeing the same "kinks"
you are describing. Once connected, it's solid. My iPad stayed
"connected" (ie reconnected correctly on wakeup) for over a day.

I was running with multitasking OFF. And debugger was OFF as well.

My iPOD Touch was less forgiving. It also kills its wireless almost
immediately after sleep which may be a factor there. I have not
fleshed it out completely.

After a fresh load I do have to do the "jog" as Adam described in an
earlier post to get that initial connection. This needs to be
corrected if we are to use this for clients.

In general, I think it's a huge step forward.

To be prime-time, we need it to connect [quickly] every time from all
sleep/wake/switch task/new load states.

So lets all work to get good feedback to those who have invested time
and effort to create the CIP interface so we can make it
bulletproof...

Matt

Scott Shanafelt

unread,
Aug 2, 2011, 10:30:36 PM8/2/11
to comman...@googlegroups.com
There is a known issue (you can see it on github issue tracker) where if the crestron processor thinks there are more than one connection to the IP ID, the response code is different than what is being tested for in CIP. If your timing is right and your processor thinks the IP ID is still online while your CIP is attempting to connect again, you will likely see this error.

Should this error occur the result would be that CIP will not begin the heartbeat, and possibly not send an update request.

Please run your debug mode on the javascript and see if this is what your seeing. Also what model of processor are you using, and what version of firmware?

Thanks,
Scott

Josh Tyson

unread,
Aug 2, 2011, 11:32:48 PM8/2/11
to comman...@googlegroups.com
Not sure exact version, but I downloaded it today from the app store.
The app named iViewer 4 that is.

Josh Tyson
ENCO Electronics

Josh Tyson

unread,
Aug 2, 2011, 11:38:31 PM8/2/11
to comman...@googlegroups.com
Pro2 newest firmware

Josh Tyson
ENCO Electronics

Etienne Terblanche

unread,
Aug 3, 2011, 7:27:39 AM8/3/11
to CommandFusion
Florent,

I'm using one of the iPads the client bought for this current project
and thus don't want to waste a TestFlight entry on a unit that doesn't
belong to me. I'll wait for the update on the App store. Just keep us
posted on the progress and known issues.

Many thanks!
Etienne
>  smime.p7s
> 1KViewDownload

Etienne Terblanche

unread,
Aug 3, 2011, 7:31:40 AM8/3/11
to CommandFusion
I agreed. The Crestron CIP interface via JS is a big step forward and
I'm more that happy to help with any testing as I'm currently busy
with a big project with 20+ iPads and believe this method of control
is the only real solution. I'm currently just rebooting by AV2 (latest
firmware) after any uploads to the iPad I'm using for testing. I keep
Toolbox open to make use the IP ID is online.

Thanks!


On Aug 3, 5:38 am, Josh Tyson <enco.j...@gmail.com> wrote:
> Pro2 newest firmware
>
> Josh Tyson
> ENCO Electronics
>
> >> For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.

Jarrod Bell

unread,
Aug 4, 2011, 11:18:03 AM8/4/11
to CommandFusion
Etienne: I just setup a quick test here using the CIP implementation,
and could not reproduce your problem.
I have a single button, which when pressed sends back 24 serial joins
of data + 6 serial joins of image urls.
So thats 32 serial joins being sent every time I press this one
button.

I can press the button slowly, medium pace, or extremely fast (using
two fingers to tap as fast as I can) and the communication with
Crestron processor (QM-RMC in my case) never dies, all data comes in
as expected.

Is there anything else happening at this time that I should also
implement in my test case to reproduce your problem?

Jarrod

On Aug 3, 9:31 pm, Etienne Terblanche <etie...@be-in-control.co.za>
wrote:
> I agreed. The CrestronCIPinterface via JS is a big step forward and
> I'm more that happy to help with any testing as I'm currently busy
> with a big project with 20+ iPads and believe this method of control
> is the only real solution. I'm currently just rebooting by AV2 (latest
> firmware) after any uploads to the iPad I'm using for testing. I keep
> Toolbox open to make use the IP ID is online.
>
> Thanks!
>
> On Aug 3, 5:38 am, Josh Tyson <enco.j...@gmail.com> wrote:
>
>
>
> > Pro2 newest firmware
>
> > Josh Tyson
> > ENCO Electronics
>
> > On Aug 2, 2011, at 9:31 PM, Scott Shanafelt <sgsha...@gmail.com> wrote:
>
> > > There is a known issue (you can see it on github issue tracker) where if the crestron processor thinks there are more than one connection to the IP ID, the response code is different than what is being tested for inCIP.  If your timing is right and your processor thinks the IP ID is still online while yourCIPis attempting to connect again, you will likely see this error.
>
> > > Should this error occur the result would be thatCIPwill not begin the heartbeat, and possibly not send an update request.
>
> > > Please run your debug mode on the javascript and see if this is what your seeing.  Also what model of processor are you using, and what version of firmware?
>
> > > Thanks,
> > > Scott
>
> > > On Aug 2, 2011, at 10:19 PM, Mqsack wrote:
>
> > >> Hey Josh:
>
> > >> I am using iViewer4 (4.0.5 build 171).
>
> > >> I am having very good results in general, but seeing the same "kinks"
> > >> you are describing. Once connected, it's solid. My iPad stayed
> > >> "connected" (ie reconnected correctly on wakeup) for over a day.
>
> > >> I was running with multitasking OFF. And debugger was OFF as well.
>
> > >> My iPOD Touch was less forgiving. It also kills its wireless almost
> > >> immediately after sleep which may be a factor there. I have not
> > >> fleshed it out completely.
>
> > >> After a fresh load I do have to do the "jog" as Adam described in an
> > >> earlier post to get that initial connection. This needs to be
> > >> corrected if we are to use this for clients.
>
> > >> In general, I think it's a huge step forward.
>
> > >> To be prime-time, we need it to connect [quickly] every time from all
> > >> sleep/wake/switch task/new load states.
>
> > >> So lets all work to get good feedback to those who have invested time
> > >> and effort to create theCIPinterface so we can make it

Scott Shanafelt

unread,
Aug 4, 2011, 3:36:38 PM8/4/11
to comman...@googlegroups.com
I fixed an issue I've been watching with CIP regarding IPID status response handling. It could cause the ipad to not transmit heartbeats properly if the pro2 thinks there are more than one device connected to an IP ID (which can happen when sockets break uncleanly, take a while to timeout). CIP will now accept that connection state and begin connect methods. As a side note, if the connection is open but heartbeat isn't transmitting, the processor will release presses quickly because it thinks there is a connectivity issue with the panel (among other strange oddities).

Anyone using iViewer 4 (don't bother with any other version of iViewer) who is having occasional connection issues on launch should update to the CIP I just committed to github and see if it helps you.

regards,
Scott

xAPPO

unread,
Aug 4, 2011, 8:13:22 PM8/4/11
to CommandFusion
I'm seeing this Scott on an MC3 with your latest version.

> iViewer version: v4.0.5 build 171
> Start running user code
> Initializing CIP1...
> Success:
CIP Ready for System: CIP1
Module Version: 1.0
IP ID: 11
Online Feedback Join: 1000
Digital Range: 1-255
Analog Range: 1-255
Serial Range: 1-255
> Warning: Update Request Pending for IP ID: 11

It connected fine a few times but after letting the iPad sleep it is
hung.
No multitasking and the system shows connected.
Button clicks send data to the system but I am not receiving anything
(just 4 bytes at connect)

Kevin

Jarrod Bell

unread,
Aug 4, 2011, 8:17:29 PM8/4/11
to comman...@googlegroups.com
I tested with latest version and am having no problems at all.
Let the iPad sleep for an hour or so, pick it up and instantly connected
(no power connected keeping wifi alive either).
Testing with multitasking off at the moment.

I'm not running with debugger on though, maybe thats making a difference
(as all JavaScript is run in the debugger, rather than on the device).

Jarrod

xAPPO

unread,
Aug 4, 2011, 8:40:34 PM8/4/11
to CommandFusion
Although I did have the debugger option set I think I ran without it
(useful new feature) but it hung , and so that screenshot came from a
second launch shortly after. So I'm not thinking it's related to JS
running in the debugger, although it could be timing or something.

I'll let you know if I can narrow it down at all and be more certain
of the environment, I am not sure if the sleep was relevant
either...

K

Scott Shanafelt

unread,
Aug 4, 2011, 8:58:18 PM8/4/11
to comman...@googlegroups.com
I've done a fair bit of testing and cannot reproduce this. Let us know if you find any more information.

Also do you have any unusual logic in the program related to forcing update requests?

Thanks,
Scott

xAPPO

unread,
Aug 5, 2011, 5:45:24 AM8/5/11
to CommandFusion
I'm just playing using the template project you included - with just
one change . I have the time displayed in a serial join in iViewer
which is updated every second...

I checked the MC3 log error log and I am seeing this circa the time I
had the issue. Does that imply a non XPanel protocol message was
received ?

3. Error: LogicEngine.exe [App 3] # 01:32:23 8-04-2011 # Message
from device Slot-02.IP-ID-11:

I'm not sure what disconnection timeouts the Crestron side handles
automatically, and how long they need to be. I tried again about 30
minutes after it had failed and it still wouldn't connect but this
morning after several hours it has connected again without rebooting
the processor.

K

Jarrod Bell

unread,
Aug 5, 2011, 6:56:10 AM8/5/11
to comman...@googlegroups.com
I'm testing with 2 series. Wonder if it's just a 3 Series issue you are
seeing?

Jarrod

xAPPO

unread,
Aug 5, 2011, 7:38:51 AM8/5/11
to comman...@googlegroups.com
I'll try it on 2 series when I get some time...

K

Mqsack

unread,
Aug 5, 2011, 9:05:05 AM8/5/11
to CommandFusion
I'm seeing the same excellent results with the example program running
on an iPad connected to a QM-RMC and also a iPod Touch connected with
my own program connected to a Pac2m.

I have yet to have a blown connection....been testing since about 10pm
last night on/off.

One limitation I have noticed is that you must use the default CIP
port of 41794.

I had my Pac2m at 41894 (for port forwarding purposes)....and that
would not connect.

Not a big issue, but just wanted to mention it in case others had a
non-standard port defined.

Matt

Scott Shanafelt

unread,
Aug 5, 2011, 9:46:33 AM8/5/11
to comman...@googlegroups.com
I'll put this on the list of things to check out.

S

Scott Shanafelt

unread,
Aug 5, 2011, 9:48:17 AM8/5/11
to comman...@googlegroups.com
I did most of my testing of CIP on an MC3. However not with the latest MC3 firmware that was recently released…

S

Scott Shanafelt

unread,
Aug 5, 2011, 9:52:43 AM8/5/11
to comman...@googlegroups.com
Thanks, please give it a try. As we go forward, if we are not able to reproduce the problem I may ask you to add some debugging commands to your CIP module so that we can see what's actually happening. But for now give a 2 series system a quick try and see what you find.

Scott

xAPPO

unread,
Aug 5, 2011, 1:45:49 PM8/5/11
to comman...@googlegroups.com
Hi Scott,

Been trying both series 2 and 3 all day and can't get it to go wrong on
either...
Last night was the first time I'd seen it fail... I'll keep trying..

cheers Kevin

Lawrence Jones

unread,
Aug 7, 2011, 12:01:27 PM8/7/11
to CommandFusion

Hi Jarrod,

I'm testing the CIP using 5 iPads on an existing system, I've noticed
problems when using the Kaleidescape SATP and receiving text to the
touch panel. It's almost as if sending different text to the same join
to quickly locks up the iViewer4 app and eventually resets to the iPad
home page. The same coding using the simpl+ module doesn't suffer from
this. Any ideas?

Regards,

Lawrence

Scott Shanafelt

unread,
Aug 8, 2011, 1:46:34 AM8/8/11
to comman...@googlegroups.com
One thing to be aware of is the Kscape module uses a rarely used feature in Crestron that instructs the CIP client (touchpanel) to append a string instead of replace it (indirect text). This allows you to have movie descriptions with more than 255 characters. CIP 1.0 supports this option switch, however the mechanism for appending the string may not be sufficient if the text commands are fast (as it may be doing an expensive lookup, not recalling right now). I am short on time to look closer right now, but this is definitely worth looking at as a potential cause.

S

Etienne Terblanche

unread,
Aug 8, 2011, 8:43:51 AM8/8/11
to CommandFusion
Sorry Jarrod, I've been away and will investigate this further on
Thursday.

tx

Adam Zatorski

unread,
Aug 8, 2011, 9:49:12 AM8/8/11
to comman...@googlegroups.com, CommandFusion
I am still having issues with reconnecting after a load/reboot or when I bring my iPad back home at night (if the app was left running). Multitasking does not seem to have an effect whether it is on or off.

I am running CIPv1.0.

Scott, is there a way to have CIP always ask for an update request when the app loads up?

Adam Zatorski
King Systems LLC
Audio/Video Design & Installation
Certified DBE, MWBE & SBE
www.kingsystemsllc.com

(303) 410-0924 Office
(303) 875-7897 Cell

Scott Shanafelt

unread,
Aug 8, 2011, 10:50:25 AM8/8/11
to comman...@googlegroups.com
That may be possible, however normally (and in my experience) it does that automatically because the socket is broken during sleep. Is your ipad jailbroken or using any special jailbreak software?

S

Adam Zatorski

unread,
Aug 8, 2011, 11:08:17 AM8/8/11
to comman...@googlegroups.com, comman...@googlegroups.com
It is not jailbroken or using any special software.

The problem is stated below and I I could use someone else to test for verification

If the app is left on as the active screen and then the power button is pressed to force sleep, no offline signal is sent.

I then leave the house, and return later. Wifi disconnects etc. but still no offline signal sent.

Upon return, I swipe ipad on, and app is still the active one and connection does not automatically return.

I can typically get connection back by running thru the steps I documented earlier in the thread. This behavior exists in both published CIP versions.

Adam Zatorski
King Systems LLC
Audio/Video Design & Installation
Certified DBE, MWBE & SBE
www.kingsystemsllc.com

Scott Shanafelt

unread,
Aug 8, 2011, 12:07:04 PM8/8/11
to comman...@googlegroups.com
I have tested this many times in many setups, as we've been using this in production for a while. I've also asked a few colleagues who are using it and nobody has seen this.

There appears to be something unusual with your situation that I cannot identify. I'd recommend familiarizing with the javascript a bit and adding log commands to various parts to isolate where and what is occurring. As far as an "offline signal" there is no such thing, the processor reports a device offline when the socket is broken. And if a socket is broken uncleanly (no close sent from ipad) the processor should time out the socket. So either the socket isn't being closed, or your pro2 thinks it's open when it's not.

You could try sending the update request message when the panel wakes, but I don't believe the socket exists. Are there any unusual network setups between your ipad and the processor?

S

yellowfin

unread,
Aug 9, 2011, 8:00:18 PM8/9/11
to CommandFusion
First off thanks to Scott and his team for this great potential
advancement in iViewer. I have have implemented the CIP approach and
currently i am experienceing 3 three problems:

1) Nothing works above Digital Join 255. In the Global Tokens
properties I changed CIP1:Digital_High from 255 to 1000 and saved and
uploaded. Still did not work. Do I need to edit the js file?
2) Currently I am experiencing between 1-2 seconds of latency from
pressing the button on the ipad to seeing the button press in SIMPL
debugger. This also means Feedbacks for buttons are taking about as
long to go high.
3) When loading the gui file or starting the app when the app has not
been running in the background, the CIP module doesn't seem to go to
the Crestron processor and sync serial text. For instance, I have
serial text that tells me the name of the room that the ipad is
controlling. The indirect text doesn't populate with out first
changing rooms then changing back to the room I came from



On Aug 8, 10:07 am, Scott Shanafelt <sgsha...@gmail.com> wrote:
> I have tested this many times in many setups, as we've been using this in production for a while.  I've also asked a few colleagues who are using it and nobody has seen this.
>
> There appears to be something unusual with your situation that I cannot identify.  I'd recommend familiarizing with the javascript a bit and adding log commands to various parts to isolate where and what is occurring.  As far as an "offline signal" there is no such thing, the processor reports a device offline when the socket is broken.  And if a socket is broken uncleanly (no close sent from ipad) the processor should time out the socket.  So either the socket isn't being closed, or your pro2 thinks it's open when it's not.
>
> You could try sending the update request message when the panel wakes, but I don't believe the socket exists.  Are there any unusual network setups between your ipad and the processor?
>
> S
>
> On Aug 8, 2011, at 11:08 AM,AdamZatorski wrote:
>
>
>
>
>
>
>
> > It is not jailbroken or using any special software.
>
> > The problem is stated below and I I could use someone else to test for verification
>
> > If the app is left on as the active screen and then the power button is pressed to force sleep, no offline signal is sent.
>
> > I then leave the house, and return later. Wifi disconnects etc. but still no offline signal sent.
>
> > Upon return, I swipe ipad on, and app is still the active one and connection does not automatically return.
>
> > I can typically get connection back by running thru the steps I documented earlier in the thread. This behavior exists in both publishedCIPversions.
>
> >AdamZatorski
> > King Systems LLC
> > Audio/Video Design & Installation
> > Certified DBE, MWBE & SBE
> >www.kingsystemsllc.com
>
> > (303) 410-0924 Office
> > (303) 875-7897 Cell
>
> > On Aug 8, 2011, at 8:50 AM, "Scott Shanafelt" <sgsha...@gmail.com> wrote:
>
> >> That may be possible, however normally (and in my experience) it does that automatically because the socket is broken during sleep.  Is your ipad jailbroken or using any special jailbreak software?
>
> >> S
>
> >> On Aug 8, 2011, at 9:49 AM,AdamZatorski wrote:
>
> >>> I am still having issues with reconnecting after a load/reboot or when I bring my iPad back home at night (if the app was left running). Multitasking does not seem to have an effect whether it is on or off.
>
> >>> I am running CIPv1.0.
>
> >>> Scott, is there a way to haveCIPalways ask for an update request when the app loads up?
>
> >>>AdamZatorski
> >>> King Systems LLC
> >>> Audio/Video Design & Installation
> >>> Certified DBE, MWBE & SBE
> >>>www.kingsystemsllc.com
>
> >>> (303) 410-0924 Office
> >>> (303) 875-7897 Cell
>
> >>> On Aug 8, 2011, at 6:44 AM, "Etienne Terblanche" <etie...@be-in-control.co.za> wrote:
>
> >>>> Sorry Jarrod, I've been away and will investigate this further on
> >>>> Thursday.
>
> >>>> tx
>
> >>>> On Aug 4, 5:18 pm, Jarrod Bell <jar...@guilink.com> wrote:
> >>>>> Etienne: I just setup a quick test here using theCIPimplementation,
> >>>>> and could not reproduce your problem.
> >>>>> I have a single button, which when pressed sends back 24 serial joins
> >>>>> of data + 6 serial joins of image urls.
> >>>>> So thats 32 serial joins being sent every time I press this one
> >>>>> button.
>
> >>>>> I can press the button slowly, medium pace, or extremely fast (using
> >>>>> two fingers to tap as fast as I can) and the communication with
> >>>>> Crestron processor (QM-RMC in my case) never dies, all data comes in
> >>>>> as expected.
>
> >>>>> Is there anything else happening at this time that I should also
> >>>>> implement in my test case to reproduce your problem?
>
> >>>>> Jarrod
>
> >>>> --
> >>>> You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> >>>> To post to this group, send email to comman...@googlegroups.com.
> >>>> To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
> >>>> For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> >>> To post to this group, send email to comman...@googlegroups.com.
> >>> To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
> >>> For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> >> To post to this group, send email to comman...@googlegroups.com.
> >> To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.

Scott Shanafelt

unread,
Aug 9, 2011, 8:05:17 PM8/9/11
to comman...@googlegroups.com
Hi

1) You do not need to edit the JS file. There are join ranges defined in the .js, but they are only used if the JS is unable to read the global tokens, and I believe they are 255. This means you likely have a problem with your syntax or naming conventions in your global tokens.
2) I can't guess on this issue without more information. I have found that this system is very fast.
3) Others have reported this issue and we have, as yet, been unable to reproduce it.

If you want, send me your .gui file and I'll take a look.

Regards,
Scott

Jared Haleck

unread,
Aug 9, 2011, 8:17:25 PM8/9/11
to comman...@googlegroups.com
Thx for the super fast reply. I am headed out but I will email my files to you in a couple of hours.

Josh Tyson

unread,
Aug 9, 2011, 9:13:32 PM8/9/11
to comman...@googlegroups.com
1) You will have to load the GUI with the persist value of the token
unchecked as well as the new valie. Then upload the GUI with it
checked.

2) I am experiencing this as well.

3) XPanels have always required extra make string permanents than the
regular Crestron panels.

Josh Tyson
ENCO Electronics

It is loading more messages.
0 new messages