Run Cicode in startup of Citect

joigunni

Supporting Member
Join Date
Jan 2011
Location
Iceland
Posts
52
how can I let my cicode run in startup of Vijeo Citect.
I have a button where I can choose between language on my program, but when I restart the progrma it starts always on orginal language. So I want to make cicode and run it on startup of Citect, any idea how to do that?
I can run it on startup of a page(properties/events/on page entry) but as I have many pages I don't want to run this cicode every time I change page.:unsure:
 
Read data from citect on excel

hi

I got a problem I trying to read data from citect but citect doesn't write to it, I don't what might be the problem.

Here is the code I wrote:

Function WriteExcelData( STRING sData);

INT hChannel;

IF hChannel >-1 THEN
hChannel= DDEhInitiate("Excel","Traing.xls");

DDEhSetMode(hChannel,2);

DDEhWriteLn(hChannel, "", "1,2,3,4");

DDEhWriteLn(hChannel, "R1C1:R2C4","5,6,7,8");

DDEhWriteLn(hChannel, "R1C1:R2C4","");

DDEhTerminate(hChannel);

hChannel =-1;
END;
END
 

Similar Topics

I'm looking to get some spare keys for this PLC. Does anyone know a source or have a part number? My searches are turning up nothing at the moment.
Replies
1
Views
57
I have a few questions about Studio5000. 1. Why is my RA folder so big? its well over 100 GB. 2. How do you delete versions or extra files...
Replies
3
Views
269
Hello The plant is running and there is no shutdown nowadays therefore I can add 1734- AENTR and its card while PLC is in Run? I do not wanna...
Replies
8
Views
332
I have an issue with Power Flex 525 during running processing, the VFD stopped suddenly while the PLC and VFD connection ok, VFD does not have any...
Replies
1
Views
106
I am new In a CCW and as a beginner I am trying to learn programming but i am noticing that my CCW software is taking around 1 minute to download...
Replies
2
Views
96
Back
Top Bottom