PDA

View Full Version : C-Touch talking to local CGate


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);

ashleigh
05 Jun 07, 08:52 PM
There is a utility in the CTC (setup page I think) that is used to open firewall ports.

You need to find that and use it, on the CTC, its not part of PICED.

Richo
05 Jun 07, 10:59 PM
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.

The colour c-touch doesn't have c-gate on it so you would need to run another PC on your network with cgate on it and connect to that PC from the C-Touch. This other PC would also need a C-Bus connection.

TDB
07 Jun 07, 10:07 AM
The colour c-touch doesn't have c-gate on it so you would need to run another PC on your network with cgate on it and connect to that PC from the C-Touch. This other PC would also need a C-Bus connection.


Thanks for info, I always assumed the C-Touch was running c-gate :confused: .

I'll set it up to talk to a PC.

Regards,
TDB