Alarm XML Export

Alarm XML Export

Guten Tag!
Ich habe folgendes Problem. œber die XML-Exportfunktion exportiere ich im Moment meine Alarmwerte in das XML- Format. Das ganze manipuliere ich in VBA mit folgendem Code:
With zFCT
.DynProperties("Filter[0].TimeFilter[0].ARVTime1") = start
.DynProperties("Filter[0].TimeFilter[0].ARVTime2") = ende
.start
End With
In der Variable „start“ steht die Startzeit und in der Variable „ende“ steht die Endzeit. Die Funktion funktioniert wunderbar, es werden aller Alarme die zwischen Startzeit und Endzeit gesetzt und zurückgesetzt werden protokolliert. Die Funktion exportiert allerdings nicht die Alarme, die vor Startzeit gekommen sind und zwischen Start- und Endzeit zurückgesetzt wurden. Was muss ich einstellen, damit auch „Alarm zurückgesetzt“ exportiert wird.
Ich habe auch schon in der VBA- Hilfe nachgeschaut. Ist in zenOn 6.50 schon die Funktion zAml.AlarmItems(„strFilter“) implementiert? Damit nicht immer alle Alarme zurückgeben werde, sondern nur die im Filter angegebenen. Am besten wäre es wenn man nur einen Anfangs- und Endzeitstempel übergeben kann.
Gruß
Stimpfig

This is a migrated post! Originally posted on 26.01.2010 by user stimpfig. Please be aware that information can be outdated.

    Disclaimer

    This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.

    The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.

    Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.

    Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.

    COPA-DATA reserves the right to change this document from time to time at own discretion.


    Ing. Punzenberger COPA-DATA GmbH
    Karolingerstraße 7b · 5020 Salzburg · Austria
    www.copadata.com