Page 1 of 2

Device 39 AFT OVH gauge scripted?

Posted: Fri Jun 28, 2019 9:37 am
by PH-JRJ
Hello,

Working on my AFT OVH at the moment and I can't find the script for Device 39 in v4.6. Is this correct?

thanks

Br Remco

Re: Device 39 AFT OVH gauge scripted?

Posted: Fri Jun 28, 2019 11:39 am
by mvr1918
I do not believe the OXY gauge was ever implemented in 4.6 script.

I can be scripted fairly easy by using the same logic part as in other gauges.

Re: Device 39 AFT OVH gauge scripted?

Posted: Mon Jul 01, 2019 7:41 am
by PH-JRJ
Ok I will try thanks Roar

Re: Device 39 AFT OVH gauge scripted?

Posted: Thu Aug 08, 2019 9:57 pm
by mvr1918
If you made a script for OXY and it is working, consider to share it here so it can be implemented in an updated script.

Re: Device 39 AFT OVH gauge scripted?

Posted: Fri Aug 09, 2019 4:48 pm
by PH-JRJ
I’m not started yet, but will share for sure, now the building of my flightdeck is almost completed, I can start learning and understanding SIOC.
Maybe an idea to open a topic on the forum and request OC4BA Users to share the missing parts like wx rader, PFD/ND brightness dimming, rudderpanel incl servo in de pedestal etc?

Best regards Remco

Re: Device 39 AFT OVH gauge scripted?

Posted: Fri Aug 09, 2019 7:40 pm
by mvr1918
Good idea. I will make a topic for missing script parts.

Re: Device 39 AFT OVH gauge scripted?

Posted: Wed Apr 22, 2020 11:46 am
by PH-JRJ
Hi Roar,

Due to the Covid-19 able to spend alot of time at Home and tried to make a script for Gauge.
Sioc offset is 1024 = OXY_Needle

made script like this and inserted this into the existing script

Var 0639, name SERVO_OXY, Link USB_SERVOS, Device 39, Output 1, PosL 192, PosC 511, PosR 1023, Type 1

Var 1024, name TXRX_OXY, static
{
L0 = 249
L1 = &TXRX_OXY * 0.9
L0 = L0 + L1
&SERVO_OXY = L0
}

Compiled the script and no error, but unfortunately the Gauge does not show any activity.
Al tough this is not a OC4BA problem I hope you can give me some advise what I do wrong.

Thanks

best regards

Remco

Re: Device 39 AFT OVH gauge scripted?

Posted: Thu Apr 23, 2020 8:16 pm
by mvr1918
Check with SIOC's IOCPConsole to see if you get any data to Variable 1024 from the virtual airplane and that this value correspond to the what you see in the virtual OVH-AFT OXY gauge

Re: Device 39 AFT OVH gauge scripted?

Posted: Tue Apr 28, 2020 8:55 am
by PH-JRJ
No data to variabele 1024, value is 0. When I add a value manual servo moves.

Br Remco

Re: Device 39 AFT OVH gauge scripted?

Posted: Thu Apr 30, 2020 6:13 pm
by mvr1918
I did a check in with both the NGX and the NGXu airplanes.

The Var 1024 is set to 0 from the virtual airplane in a Cold and Dark system setup.

Turning the BAT on sets Var 1024 to 192 for NGX and 160 for NGXu.

The NGXu data correspond to the needle position in the virtual gauge.

There seems to be no "live" data flow to the Var 1024. Only 0 with no power and 160/192 with power.

It could be as it is in the real airplane, I really do not know.