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