Citect function/Cicode help

Loordi100n

Member
Join Date
Aug 2006
Location
irl
Posts
20
Hi

If any Citect guru would see this, I'd be very :geek: and even more if answers...
Using v7.10 and would like to get some .pdf or something, to help me out a bit to understand these FUNCTION codes more, (why not also CiCode...)
Help files (only ones?) are quite useful, but mainly tired to compile all the time and see that the code is wrong, no validate command is available i assume...
e.g.
exec("calc.exe");
but how to check if calc is already open or not? or should it be done by using IF, ELSE IF and so on..? with InTouch this was pretty easy, also adding these functions to the library, is this possible with Citect??

Thanks
 
Hi

If any Citect guru would see this, I'd be very :geek: and even more if answers...
Using v7.10 and would like to get some .pdf or something, to help me out a bit to understand these FUNCTION codes more, (why not also CiCode...)
Help files (only ones?) are quite useful, but mainly tired to compile all the time and see that the code is wrong, no validate command is available i assume...
e.g.
exec("calc.exe");
but how to check if calc is already open or not? or should it be done by using IF, ELSE IF and so on..? with InTouch this was pretty easy, also adding these functions to the library, is this possible with Citect??

Thanks

FUNCTION VIEWCALC()
int calc;
calc=WNDFIND("Calculator");
if calc=0 then
EXEC("C:\windows\calc.exe")
else
WNDSHOW(calc,9)
end
end
 

Similar Topics

Hi, I'm trying to use an Event that will happen once a week. This event will execute a function that I have made with Cicode. Here is my...
Replies
1
Views
8,141
My system are taking data from RHT sensors, around 45 points. Now I want to make a function in which, if the data is #BAD or 0 in values for all...
Replies
0
Views
477
Hi guys . Im trying to monitor gas detection controller Vortex model from Crowcon /UK on Citect SCADA by modbus RTU RS485 . Reading analog value...
Replies
0
Views
1,793
Hi everyone, I'm new to Vijeo Citect. I have to upgrade an existing project which i only have to add a few DPM in existing pages. I managed to...
Replies
2
Views
3,101
Hello everyone ! Is there a way I can monitor what functions are used when a project starts ? For example could I print a message whenever a...
Replies
8
Views
3,649
Back
Top Bottom