SOEArchive

Hi,

Anyone tried using SOEArchive function? I am testing it out and currently getting the error: "Failed to write data - They system cannot open device or file specified. I could  not find any reference to this error message.

TIA

Parents
  • Hi  ,

    I have seen a report of this error in a previous case. It was related to Citect runtime trying to write a binary file to C:\ and being blocked by UAC of Windows. The work around suggested was:

    1. Right Click on the Citect Runtime shortcut and select "Run as Administrator" and then execute the command.  After the workaround, you can run CitectSCADA Runtime as a non-administrator or change the volume path to other folders on the C drive, archiving action can write data without problem.
    2. Disable the UAC, reboot the machine, and then enabling the UAC

    Please also be aware that archiving will commence according to the values defined for the "ArchiveAfter" and "KeepOnlineFor" parameters. See online help for more info:

    gcsresource.aveva.com/.../InitiateArchivingwithaCicodeFunction.html

  • Hi Oliver,

    Thanks for the response. I discovered this myself yesterday, I ran the citect runtime as administrator to check if it is just a file permission issue. 

    I played around those two parameters and was able to get some archiving after I played around the date time setting on my computer. I tried just to set the computer date to more than a week and got some data archived in the folder. 

    regards,

    Mark

  • Hello mark , 

    i think that i am currently facinf the same problem

    i have configured the archiveafter to 0 ,

    And keeponlinefor for 6 weeks ,

    i made an event as : SOEArchive("C:\Archiving Folder") ,

    i took the output of this function and it gives me the number and it gives me the numbe 537

    which indicates that the operation wasnt successful ,

    and i want to know where i made things wrong ,

    because i have enabled the UAC ,

    and i dont know exactly what do you mean by running the runtime as administrator , do u mean to login as user who has the role of an administrator ?

    and btw i want to know when data are archived they are archived in which format ?

  • Hi Yahya,

    You need to run citect runtime as administrator (windows account). The format is very similar to the database files you see in the alarm server folder.

  • So I cannot have those archives as excel or text ? 

    I have run it as administrator but still nothing happens , also I don't see any notification in the soe page , it gives me nothing other than that tye dismount was successful 

    I didnt know that archiving data was this hard in citectscada

Reply
  • So I cannot have those archives as excel or text ? 

    I have run it as administrator but still nothing happens , also I don't see any notification in the soe page , it gives me nothing other than that tye dismount was successful 

    I didnt know that archiving data was this hard in citectscada

Children
No Data