I’ve waded through the devsupport questions on “circuit” but didn’t find that answer for this:
I have an instrument on a given circuit, and I’d like to put a ‘voltage’ indication on that instrument (of it’s own power supply). Independent of the instrument, the supply can be switched between different sources.
I was initially expecting an indexed simvar like “A:CIRCUIT VOLTS:20” but failed to find anything in the docs for that (instead I can see volts for the various upstream sources e.g. ELECTRICAL BATTERY BUS VOLTAGE) but to use those I’d need to somehow work out within my the html/js gauge what the routing of source power is to my gauge. Obviously the real instrument just measures its actual power input…
Have I missed the method for circuit volts? Or is there a way to programmatically work out if a given gauge is getting it’s electrical energy from (say) main battery 1 or 2 ?
Gracias,
B21