TDB
05 Jun 07, 05:43 PM
Hi all,
I have just completed my C-Bus installation and amnow trying to do the really tricky stuff.
In PICED when I created my project I added a couple of CGate Procudures to allow me to dynamically change DLT labels via Logic. This all works well in PICED, but when I upload the project to C-Touch the CGate commands don't work anymore.
Is this a local Firewall thing on the C-Touch?
Here is an example of my code:
{Connecto to CGate}
SetProject : boolean;
if SetProject = false then
begin
OpenClientSocket('127.0.0.1',20023);
WriteClientSocket('PROJECT USE HOME_PROJECT'#13#10);
SetProject := true;
end;
{Change DLT label}
WriteClientSocket('lighting label 254/60 1 6 - text Fan LOW'#13#10);
I have just completed my C-Bus installation and amnow trying to do the really tricky stuff.
In PICED when I created my project I added a couple of CGate Procudures to allow me to dynamically change DLT labels via Logic. This all works well in PICED, but when I upload the project to C-Touch the CGate commands don't work anymore.
Is this a local Firewall thing on the C-Touch?
Here is an example of my code:
{Connecto to CGate}
SetProject : boolean;
if SetProject = false then
begin
OpenClientSocket('127.0.0.1',20023);
WriteClientSocket('PROJECT USE HOME_PROJECT'#13#10);
SetProject := true;
end;
{Change DLT label}
WriteClientSocket('lighting label 254/60 1 6 - text Fan LOW'#13#10);