PDA

View Full Version : Battery voltage in overhead



Barrykensett
11-19-2016, 06:12 PM
My battery voltage indicators in my hardware overhead usually read zero but occasionally 28 volts.
They always worked fine with my previous software and are driven by SIOC as follows:

// Batt voltage in overhead


Var 0115, Link FSUIPC_IN, Offset $4650, Length 2 // BATT 1
{
L0 = V0115
V0116 = L0
}
Var 0116, Link IOCARD_DISPLAY, Digit 64, Numbers 3 // BATT 1 Display



Var 0117, Link FSUIPC_IN, Offset $4652, Length 2 // BATT 2
{
L0 = V0117
V0118 = L0
}
Var 0118, Link IOCARD_DISPLAY, Digit 67, Numbers 3 // BATT 2 Display

Anyone got any ideas?
Barry

Fritz
11-19-2016, 07:03 PM
Try the sioc_creator. It's much easier to assign the displays.
It works fine also in the new release.

Barrykensett
11-20-2016, 05:09 AM
I understand that I could start again on my SIOC routines but they have been working OK for 8 years and I could do without the work. I was just trying to understand why my proven routine works sometimes and not others with JH.
Barry

iwik
11-20-2016, 01:23 PM
Barry,
Have you checked to see when JH soft is run if there is a .ssi file that JL has run
automatically that may be using variables that you already use.
Regards
Les