Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Copy counter problem
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Tuesday Sep 18th, 2012 03:43 pm
   PM  Quote  Reply 
1st Post
BernardW
Member
 

Joined: Tuesday Aug 21st, 2012
Location:  
Posts: 9
Status: 
Offline

  back to top

I have a number of counters which I need to copy to another set every night.
The problem is that if you look at the action code reference 198 it can have a variable number of parameters which end in 255 which also terminates the response. This means that you can only have one copy per response and that has to be the last action.
Comfigurator doesn't allow multiple target counters incidentally.
Comfigurator also allows multiple lines of copy and than adds an extra 255 at the end anyway even though only the first copy will work!
A copy command from one counter to another which can be used for multiple copies within a response would be useful



 Posted: Wednesday Sep 19th, 2012 12:02 pm
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

The Copy Counter action in Comfigurator can actually specify multiple target counters, but it may not be so obvious, as it appears that you can only specify one counter

What you do is when the Select Counters windows opens, you can select multiple counters by pressing the CTRL Key

hence the action becomes, eg
Copy Counter Counter000 To Counter004,Counter006,Counter007,Counter008



 Posted: Wednesday Sep 19th, 2012 03:48 pm
   PM  Quote  Reply 
3rd Post
BernardW
Member
 

Joined: Tuesday Aug 21st, 2012
Location:  
Posts: 9
Status: 
Offline

  back to top

Thanks but my problem was putting several copy commands into the same response:
Copy Counter C_LR_status To C_Hall_status
Copy Counter C_Front_door To C_door_page

Only the first copy will work as it terminates in 255 which ends the response as well as the command.



 Posted: Thursday Sep 20th, 2012 08:37 am
   PM  Quote  Reply 
4th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

That wil be changed in the next firmware so you can have more than 1 copy counter command in a Response



 Posted: Thursday Sep 20th, 2012 09:20 am
   PM  Quote  Reply 
5th Post
BernardW
Member
 

Joined: Tuesday Aug 21st, 2012
Location:  
Posts: 9
Status: 
Offline

  back to top

Thanks for your help



 Posted: Thursday Sep 20th, 2012 11:38 am
   PM  Quote  Reply 
6th Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1255
Status: 
Offline

  back to top

Would it work if you put each "copy" in its own separate response and then call each of these responses in turn from a "parent response"

Wondered if that may workaround.

J



 Posted: Thursday Sep 20th, 2012 11:53 am
   PM  Quote  Reply 
7th Post
BernardW
Member
 

Joined: Tuesday Aug 21st, 2012
Location:  
Posts: 9
Status: 
Offline

  back to top

Thanks rather a lot of them I'm afraid!
Worked round by using Get counter value and Set counter value to LastActionValue. Works OK but is just a bit more tedious!



 Posted: Thursday Sep 20th, 2012 12:50 pm
   PM  Quote  Reply 
8th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

ULT 6.028 is available in the attachment in this forum http://www.comfortforums.com/view_topic.php?id=3074&forum_id=69&jump_to=12996#p12996

It fixes a bug in ULT 6.027 where the event log announcement does not correspond to the events displayed on the LCD

The new function of multiple  Copy counters was added as well. Please upgrade and test.



 Current time is 01:47 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems