Meadville Space Center

Project Apollo - NASSP => Support & Bugs => Topic started by: macieksoft on February 22, 2018, 04:18:01 PM



Title: LVDC++ switch event list?
Post by: macieksoft on February 22, 2018, 04:18:01 PM
On PA MFD now i see option to change switch events or how is this called for the stages.
Is there any list of all those switch events with their effect? Is there any documentation for new IU related PA MFD functions?


Title: Re: LVDC++ switch event list?
Post by: indy91 on February 23, 2018, 05:24:11 AM
On PA MFD now i see option to change switch events or how is this called for the stages.
Is there any list of all those switch events with their effect? Is there any documentation for new IU related PA MFD functions?

Yeah, I've added a bunch of uplink options for the IU to the PAMFD. It's not all properly documented yet, but it will be.

Each Saturn stage (S-I, S-II, S-IVB, IU) has a switch selector, that the LVDC can use to send commands to each stage, by selecting switches in a switch box (the switch selector). All the LVDC has to sent to the stage is an ID number of the desired event. What each code means is documented in code at least right now:

S-IB: https://github.com/dseagrav/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/s1bsystems.cpp#L755
S-IC: https://github.com/dseagrav/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/s1csystems.cpp#L473
S-II: https://github.com/dseagrav/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/siisystems.cpp#L341
S-IVB-200: https://github.com/dseagrav/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/sivbsystems.cpp#L506
S-IVB-500: https://github.com/dseagrav/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/sivbsystems.cpp#L607
IU (Saturn IB): https://github.com/dseagrav/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/iu.cpp#L1526
IU (Saturn V): https://github.com/dseagrav/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/iu.cpp#L1699

Uplinking a switch selector command through the LVDC would be rarely done, the other uplinks will be used more frequently. As an example, on Apollo 9 a lot of switch selector commands were uplinked to the S-IVB and IU for the 2nd restart of the S-IVB. It's quite a powerful tool, you can command every step for S-IVB reingnition through the IU uplink.


Title: Re: LVDC++ switch event list?
Post by: macieksoft on February 23, 2018, 10:15:24 AM
Is it planned to make socket datalink for stages (data like propellant quantity, pressure, engine gimbal position, actual thrust and so on) aswel as LVDC (possibility to read various data like IU IMU attitude, velocity and first of all possibility to use switch events and to use APS on S-IVB by uplink)?

Would be nice to have this, this would make MCC telemetry client even more useful.