View Full Version : Piced 3.5 Warning
Dave Byron
04 May 06, 07:08 AM
Since upgrading to above and opening an operational project I now get lots of the following warning;
Warning W003 at line 45:40 - Level tag has been used in more than one group address.
From logic line ;
SetTriggerLevel("XTrig Blind B1 East", "East Stop");
attached Toolkit pic
Is it really saying the same level tag cannot be used on multiple groups ??
Things like fans have high.med,low.stop many many times in them.
dave
Mr Mark
04 May 06, 08:50 AM
Dave,
We found on previous projects this was all OK with the 'older' software.
The only time it was a hassle was when you had the same tag levels for different groups on the same page. i.e 'Bed 1 Fan' and 'Bed 2 Fan'.
You couldn't have "HIGH', "MEDIUM", "LOW" and "OFF" for both. One would be OK with the other showing " HIGH 02", "MEDIUM 02" etc...
This new feature will make it harder when you have a project with say ten fans.
Is there a possible work around for this apart from labelling tags as "HIGH", ".HIGH", "HIGH.", ".HIGH." for example.
Oh, and any chance of a custom button in PICED?
Mark
Dave Byron
04 May 06, 12:04 PM
Dave,
We found on previous projects this was all OK with the 'older' software.
The only time it was a hassle was when you had the same tag levels for different groups on the same page. i.e 'Bed 1 Fan' and 'Bed 2 Fan'.
You couldn't have "HIGH', "MEDIUM", "LOW" and "OFF" for both. One would be OK with the other showing " HIGH 02", "MEDIUM 02" etc...
This new feature will make it harder when you have a project with say ten fans.
Is there a possible work around for this apart from labelling tags as "HIGH", ".HIGH", "HIGH.", ".HIGH." for example.
Oh, and any chance of a custom button in PICED?
Mark
mark,
U can have the same tag name on different groups on the same page, do it all the time, see attached pic all have high,medium,low and off as tags.
Is this what u meant ??
dave
Dave Byron
04 May 06, 12:23 PM
Since upgrading to above and opening an operational project I now get lots of the following warning;
Warning W003 at line 45:40 - Level tag has been used in more than one group address.
From logic line ;
SetTriggerLevel("XTrig Blind B1 East", "East Stop");
attached Toolkit pic
Is it really saying the same level tag cannot be used on multiple groups ??
Things like fans have high.med,low.stop many many times in them.
dave
Have found that "off" works,
SetCBusState("Local", "Trigger Control", "XTrig Blind B1 East", OFF);
and percent works
SetTriggerLevel("XTrig Blind B1 East", 0%);
but not a tag
dave
Mr Mark
04 May 06, 01:04 PM
Dave,
Sorry for the confusion. We normally set up one button the control the fan speed, with a label underneath to reflect the set speed. First press sets the speed to high, next press to medium etc...
Hopefully I've attached a picture showing two such buttons and their labels below.
Mark
Dave Byron
04 May 06, 02:16 PM
Maybe my problem can be fixed before re release or i have to go back to prevoius version.
dave
I'll have to get back to you on that question. Obviously we want to make the minimum number of changes possible. The relevant people are researching the problem and likely impact.
Hi all,
The problem lies in the fact that the touch screen uses the V2 Cbus tag format. C-Bus v2 file format only allows level tags to be applied to applications and not to GA's. Toolkit allows level tags to applied to GA's individually.
Toolkit therefore allows you to create multiple level tags with the same name on differnet GA's. When these are added to logic code for the ctc it doesn't actually know which one it should be using. This warning is saying that each level tag must have a different name for logic to work.
If it has worked in the past it is only because the same name happened to have the same value.
It appears that this will cause upgrade problems. This is currently being researched further.
Regards,
Matty
Dave Byron
04 May 06, 05:56 PM
Hi all,
The problem lies in the fact that the touch screen uses the V2 Cbus tag format. C-Bus v2 file format only allows level tags to be applied to applications and not to GA's. Toolkit allows level tags to applied to GA's individually.
Toolkit therefore allows you to create multiple level tags with the same name on differnet GA's. When these are added to logic code for the ctc it doesn't actually know which one it should be using. This warning is saying that each level tag must have a different name for logic to work.
If it has worked in the past it is only because the same name happened to have the same value.
It appears that this will cause upgrade problems. This is currently being researched further.
Regards,
Matty
Worked well on prior version of piced.
Your keys now have to include network,app,group,level to be unique, then the level tag can be used on all groups.
But watch the top of the tree as you will have trouble with level 0 being the same as the group.
dave
ashleigh
04 May 06, 08:58 PM
Sorry chaps. Any re-release will concentrate on only 2 issues:
- upgrade installer
- sliders not dragging
To get this out early next week (allowing for testing and the various other QA processes) will be a gut-busting effort.
Adding any other changes will delay release, possibly for weeks. That won't be permitted to happen.
Darren
05 May 06, 12:08 AM
Worked well on prior version of piced.
We found that using the same level tag on multiple groups was causing a crash. For this reason, we added a check to warn that this was going to be a problem. We will look into this further, but I would be surprised if a project using duplicate level tags has ever worked :confused:
I think it works if each of the duplicates is on the same level value. E.G a level tag of "halfway" used on the value of 50% on multiple groups. This might explain why some people have no problems. This is ofcourse currently under investigation.
Dave Byron
05 May 06, 04:31 AM
I think it works if each of the duplicates is on the same level value. E.G a level tag of "halfway" used on the value of 50% on multiple groups. This might explain why some people have no problems. This is ofcourse currently under investigation.
Richo
Your correct had a look, all the levels with same name have same levels, like fans have levels high,med,low and off with same level value. I just copied the first into the others so have 15 fans all with same level settings.
Have a look at files i send Matty - rodwell project.
dave
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.