- Messages
- 261
- Country

Hi,
I can get around XML a wee bit and have developed gauges using it - but the l0, sp1, s0 etc commands really intimidate me and break me out in a cold sweat.
I have a Bendix-King radio in my FS2004 Cessna. I want to make it a bit more realistic and store frequencies as they can in real life.
I wanted to use XMLVars for the purpose.
The manual and example XML supplied with XMLVars are way above my head - though I have gone through both in search of the answer. (Taguilo did say that it wasn't easy!)
I have the XMLVars9.dll file in my Modules folder.
I have the macros in my radios.xml gauge.
The frequency required to be stored is in (L:Rad1Freq,Mhz).
The unidimensional array in which I want to put it is Radios1.
The slot number in which I want it to go is held in (L:Com1Stor, number).
So I thought that (L:Rad1Freq,Mhz) @NSA('>Radios1',(L:Com1Stor, number)) might work. No!
Or that (L:Rad1Freq,Mhz) @Va1('>Radios1',number,(L:Com1Stor, number)) might work. No!
I have stored the frequency using (L:Rad1Freq,Mhz) @NSA('>Radios1',2) and retrieved it using
@NLA('Radios1',2), so I know the thing works fine.
I was also successful storing it with (L:Rad1Freq,Mhz) @Va1('>Radios1',number,2) .
I suppose the big and basic question is - how do I bring the value of (L:Com1Stor, number) into the macros?
I might even use bidimensional arrays if I can master these basics!
Thanks
Walter
I can get around XML a wee bit and have developed gauges using it - but the l0, sp1, s0 etc commands really intimidate me and break me out in a cold sweat.
I have a Bendix-King radio in my FS2004 Cessna. I want to make it a bit more realistic and store frequencies as they can in real life.
I wanted to use XMLVars for the purpose.
The manual and example XML supplied with XMLVars are way above my head - though I have gone through both in search of the answer. (Taguilo did say that it wasn't easy!)
I have the XMLVars9.dll file in my Modules folder.
I have the macros in my radios.xml gauge.
The frequency required to be stored is in (L:Rad1Freq,Mhz).
The unidimensional array in which I want to put it is Radios1.
The slot number in which I want it to go is held in (L:Com1Stor, number).
So I thought that (L:Rad1Freq,Mhz) @NSA('>Radios1',(L:Com1Stor, number)) might work. No!
Or that (L:Rad1Freq,Mhz) @Va1('>Radios1',number,(L:Com1Stor, number)) might work. No!
I have stored the frequency using (L:Rad1Freq,Mhz) @NSA('>Radios1',2) and retrieved it using
@NLA('Radios1',2), so I know the thing works fine.
I was also successful storing it with (L:Rad1Freq,Mhz) @Va1('>Radios1',number,2) .
I suppose the big and basic question is - how do I bring the value of (L:Com1Stor, number) into the macros?
I might even use bidimensional arrays if I can master these basics!
Thanks
Walter



