Cicode function execution during startup

atomtm

Member
Join Date
Jun 2014
Location
Germany
Posts
130
Hello everyone!
Can anyone tell me how the Cicode is getting executed when citect runs? (is this done automatically by Citect , or only the functions assigned to a button for example, once there is the corresponding trigger?)
Can you run a function automatically once Citect starts ?

Thank you in advance
 
Yes you can
Normally you create a cicode function called startup. You need to configure this function in the ini file or set it as a parameter
 
Is the citect.ini file created once you compile your project , or do you have to create it by yourself ?
I apologize for my ignorance
 
The ini file is created automatically when project is created
You can edit it using the computer setup editor from the project explorer window
 
I have created a new testing project and there is no new citect.ini file created .When I search citect.ini on my system I find .ini files in Application Data\Citect\** , different for each project except the new one created for testing . When I change the .ini in computer setup, the one that changes is at C:\Windows . Is there anything else I should do?

Thank you for your replies
 
Go thru the computer setup wizard. You can enter a startup citect file, or point to a file on about the 2nd or 3rd last of the pages in the editor
 

Similar Topics

Hi all :) , I'm very new to CitectSCADA and Cicode programming, however have good programming experience in most major programming languages...
Replies
0
Views
1,249
Hi everyone, Using Cicode programming ... I'm try to make a function empressed Button's input command that still running forever until the user...
Replies
2
Views
1,827
I'm trying to copy a really nice window that someone made to tune PID loops, it was done by someone who worked at the company. How do I know, even...
Replies
1
Views
1,396
Hello everyone! I have made a cicode function of this form: STRING FUNCTION NumeroModo(INT MxP_MODO) SELECT CASE MxP_MODO CASE MxP_MODO=1...
Replies
8
Views
4,165
Need to run up a pop up box at a certain time of day. At the moment i've done it as such.... FUNCTION STRING sTime; //Set sTime to "00:00"...
Replies
3
Views
2,332
Back
Top Bottom