Are the electrical system properties readable?

In NASAL, when I write

elec = getprop("/systems/electrical/volts[0]");
print("elec:");
print(elec);

It prints nothing.

The same for

/systems/electrical/outputs/bus-avionics[0]

but when I substitute

/consumables/fuel/tank/level-gal_us[0]

it reports a correct value.

The docs say that my script can monitor the property name associated
with an output to decide how to render an instrument. I have checked
the spelling and it looks correct to the value I see in the viewer
flying the Cessna 172.

Thanks,

Steve



_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to