Funktioniert ein Online Variablen Container auch Projektübergreifend?

Funktioniert ein Online Variablen Container auch Projektübergreifend?

Hallo!
Ich bin gerade an der Umsetzung eines großen Leittechnikprojektes und versuche die Funktionalitäten in Projekten zu verteilen.
Es soll ein zenOn Projekt in dem Verbund geben, in das möglichst alle VSTA - Funktionalitäten für das gesamte Leittechnikprojekt ausgelagert wird. Es gibt ansonsten ein Integrationsprojekt und Projekte, welche die SPS-Anbindungen, Variablen und den grafischen Teil des gesamten Projektes beinhalten.
Jetzt frage ich mich ob es möglich ist einen Online Container in dem Projekt für den VSTA Bereich zu erstellen der Variablen aus anderen Projekten beinhaltet.
Ich habe es wie in dem folgenden Beispiel versucht, aber der Change-Event wird nur von Variablen ausgelöst, die in dem Projekt angelegt sind in dem auch der Online Container definiert wird.
C# Code:

//...
try
{
Array.Resize(ref strVariables, 3);


//File Array with Variables

// Variable aus dem Projekt in dem der Online Container definiert wurde
strVariables[0] = "Intern_Variable_UINT_1";
// Variablen aus den anderen Projekten im System
strVariables[1] = "Projekt1#Intern_Variable_UINT_1";
strVariables[2] = "Projekt2#Intern_Variable_UINT_1";

///Create OnlineContainer
zOLV = this.OnlineVariables().Item("myOLV");

if (zOLV == null)
{
zOLV = this.OnlineVariables().CreateOnlineVariables("myOLV");
}
///Add Array to Bulk Container
zOLV.AddBulk(ref strVariables);
zOLV.ActivateBulkMode();
zOLV.Define();
//...

Kann mir jemand einen Tipp geben wie ich diese Thema angehen kann oder bin ich hier in der falschen Richtung unterwegs?
Danke!
Gruß,
H.-P.

This is a migrated post! Originally posted on 13.03.2013 by user hp. 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