If you are having trouble with alarm printing to dot matrix (via DOS-PRINT)
Suspect trouble: Your alarm only printed once, after that you can’t print anymore even using manual command/script.
here is some trick to make your alarm print works:
configure your device (printer) as usual configuration (I assume you have configured DOS-PRINT)
This is the main trick, we need to Flush the printer (In my case, I put every 3 second)
and the function PrinterFlush() should be created in cicode.
And here is the cicode function:
FUNCTION PrinterFlush() INT hDevice; ErrSet(1); hDevice = DevOpen("PRINT1",0); IF IsError() = 0 THEN DevFlush(hDevice); DevClose(hDevice); END ErrSet(0); END
I hope these steps work for you, I worked really hard on this! Sometimes while working in front of the computer I worry I sit around too much. There is a lot of info online on the negative effects of doing so. I try to take care of myself by exercising when I can and watching what I eat, also whenever possible, but I sometimes wonder if it’s enough. I even take a health supplement to ensure I’m giving my body what it needs. I highly recommend it by the way. You can find it at http://kratommasters.com if you want to check it out.
Jika anda membutuhkan sebuah data logger dari Citect SCADA / vijeo citect ke SQL misal Ms SQL Server, atau anda ingin melalukan sejumlah sampling data dari Citect SCADA / Vijeo Citect ke database, berikut video solusinya:
Cara logging data Citect SCADA ke SQL, Citect to SQL