Vijeo Citect, Save as, Open, and Print

HenryDan

Member
Join Date
Sep 2009
Location
Toronto
Posts
7
Dear All,

I made a project in the Vijeo Citect program. In the Alarm Summary I have used "Save As", "Print" and "Open" tabs. I used the following commands;

Save As:
DspRichTextSave(36,
FormSaveAsFile("Save As","","All Files (*.*)|*.*|txt Files (*.txt)|*.txt|" ));


Print:
CSV_Nav_PagePrint();

and Open:
DspRichTextLoad(36, FormOpenFile("RTF File to Display", "*.txt", "TXT Files|*.txt| All Files|*.*|"));

But none of the above commands are working. For instance, the open command makes an open window, but that window can not open any (txt …) file or when I try to save the alarm summary as any text or rtf file, the new file is not made.

I defined a user with full privilege, but it did not helped!!!
I have defined alarm category and assigned the summary and log devices. Also, I defined report names and the other parts of report, but did not help again.
Please help me to find the solution to save the alarm summary page as any files (txt, rtf...) and I can open text (rtf) file of alarm summary and be able to print it.

Thanks in advanced for your cooperation,

Regards,

Henry
 
Dear All,

I made a project in the Vijeo Citect program. In the Alarm Summary I have used "Save As", "Print" and "Open" tabs. I used the following commands;

Save As:
DspRichTextSave(36,
FormSaveAsFile("Save As","","All Files (*.*)|*.*|txt Files (*.txt)|*.txt|" ));

Print:
CSV_Nav_PagePrint();

and Open:
DspRichTextLoad(36, FormOpenFile("RTF File to Display", "*.txt", "TXT Files|*.txt| All Files|*.*|"));

But none of the above commands are working. For instance, the open command makes an open window, but that window can not open any (txt …) file or when I try to save the alarm summary as any text or rtf file, the new file is not made.

I defined a user with full privilege, but it did not helped!!!
I have defined alarm category and assigned the summary and log devices. Also, I defined report names and the other parts of report, but did not help again.
Please help me to find the solution to save the alarm summary page as any files (txt, rtf...) and I can open text (rtf) file of alarm summary and be able to print it.

Thanks in advanced for your cooperation,

Regards,

Henry

You dont need to do any of this, just create a Device (Citect Project Editor > System > Devices) with the fields you require and in your alarm categories specify this device as its summary device.

You can specify what type of file to write to and how many files worth of history you want to keep in the device.

Lookup "Devices" in the help Index for info
 
You dont need to do any of this, just create a Device (Citect Project Editor > System > Devices) with the fields you require and in your alarm categories specify this device as its summary device.

You can specify what type of file to write to and how many files worth of history you want to keep in the device.

Lookup "Devices" in the help Index for info
Hi there,

I did what you wrote me, but nothing happend!. Could you please help me more to find out the problem.

Thanks,
Henry
 
Hi there,

I did what you wrote me, but nothing happend!. Could you please help me more to find out the problem.

Thanks,
Henry

Post an image of:

- your Alarm categories you are trying to log
- your alarms summary device from the devices form
- details of one alarm from the alarm form
 
Hi again,

I tried to enclose the image files that you asked, but the Forum asks me a URL!!! For the images. Is it possible that I send to your email address? If yes, could you please provide it for me as private massage?

Regards,
Henry
 
If you email them to me then it becomes a one to one support case, thats not what the forum is intended for. Other people may want to contribute or see the reply.

If you clcik the "Go Advanced" button after you have hit the reply button you get the option to attach files to the post
 
Vijeo citect, Save as...

Hi there,
The Category form is located
HenryDan

The device form is located at:
HenryDan


I hope you can access to the images.

Regards,
Henry
 
For a start, in your device form you need to assign a format for the alarm to write to the summary device in, like you have in the alarm category.

Also why have you got a display format assigned to your alarm category but have the set not to display ?

I always seem to suggest this but if you are a new user you really need to get yourself some training to make any sense of Citect, it can be the difference between a job working well and not working at all.
 
{DATE,20}{TIME,20}{EQUIPMENT_ID,20}{ALARM_NAME,80}{USER_ID,100}{ACK_DATE_AND_TIME,50}{ACK_STATUS,10}{COMMENT,10}




Hello,

I have configure some digital alarm and thats alarm i have to Log in SQL using cicode but when i am trying to this this it cant work please can any one help me for the cicode for alarm log in SQL.
in the SQL table i want
{LogDate}{LogTime}{EqId}{AlarmName}{AckDate}{AckTime}{Comment}

in which EqId is my plc name in string whatever i will deside.

please give me a sample of the cicode for this

regards,
Chetan Patil
+91 9637138565
 

Similar Topics

Hi there, I did what (tragically1969) wrote me, but nothing happend!. Could you please help me more to find out the problem. Thanks, Henry...
Replies
1
Views
4,600
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
470
I have DI module ICPCon M7024UD connect to my pc using COM3 MODBUS RTU and also RHT sensors are using MODBUS TCPIP.. The problem is, it cannot...
Replies
9
Views
1,651
I need help with vijeo citect 7.4 as I use Modbus TCPIP to get the data, it turns out the address is having error.. For example, when I write...
Replies
2
Views
870
Hi everybody, I have a simple question for anyone who knows.We cant try because system is working and we dont have a permission about it. We have...
Replies
2
Views
729
Back
Top Bottom