see svgsample2.zip in my sig.
This shows an interactive way of using SVG
(needs 29-dec-2004 version of NR)
The numbers on the screen are updated in real time by NR.
And the state of the circuit breakers (click on the green/red squares) gets reported back to NR.
The SVG file is embedded in a html page.
The html page contains javascript that uses the new NR COM object to communicate with NR from inside the HTML page.
something like this is now possible :
Code:
var ax = new ActiveXObject('NetRemote.App');
ax.GenerateAction(-999,7,0,'NetRemote.MessageBox("Test")');
str=ax.GetVariable('MP.Artist');
str=ax.DecodeString('{MP.TrackPosition} / {MP.TrackLength}');
ax.SetVariable('varname','OPEN')
ax.GoHome('panelname');
ax.GoDevice('devicename','panelname');
ax.GoMacro('macroname','panelname');
I got the sample SVG file from http://www.wpsenergy.com/JayNick
the best way to create SVG files is with visio or adobe illustrator (or notepad
)...
Marcel