outbaxx Posted March 21, 2023 Posted March 21, 2023 Hi guys I would like to have my steppers go to zero when I exit the cockpit. Is there a way to check if data has stopped running? RegardsF
milit Posted March 22, 2023 Posted March 22, 2023 10 часов назад, outbaxx сказал: Hi guys I would like to have my steppers go to zero when I exit the cockpit. Is there a way to check if data has stopped running? Regards F I think you have to check acft name from Metadata section. When u leave the cockpit it turns to empty string. =WRAG=345 R7 5800X @ 4,8 GHz; DDR4 64Gb RAM (+32Gb swap); Radeon RX 6800 16Gb; 3840x2160; Oculus Quest 3; Win10-64
lesthegrngo Posted March 22, 2023 Posted March 22, 2023 Just a question, is that so that all your gauges read zero when you return to DCS next time? If so, a simple zeroing code in the sketch will do that, I have it on virtually all my stepper driven gauges, so when I connect all my gauges go to the zero position automatically Cheers Les
outbaxx Posted March 22, 2023 Author Posted March 22, 2023 I think you have to check acft name from Metadata section. When u leave the cockpit it turns to empty string.Nice!, I’ll try that!Cheers
outbaxx Posted March 22, 2023 Author Posted March 22, 2023 Just a question, is that so that all your gauges read zero when you return to DCS next time? If so, a simple zeroing code in the sketch will do that, I have it on virtually all my stepper driven gauges, so when I connect all my gauges go to the zero position automatically Cheers LesYes, I have zeroing on connect too but some gauges like fuel is often low after a flight and the zeroing routine do many steps to make sure it’s on zero, it sound like grinding gears and I don’t like it :)If it’s on zero when I leave I don’t have to do as many steps to zero, probably best to have some zeroing if some steps get skipped when running the sim./F
No1sonuk Posted March 22, 2023 Posted March 22, 2023 You might be able to use one of the time parameters in the common data. Something like compare the mission time after a couple of seconds and see if it has advanced or stopped - Though this could give a false reading if you pause.
Recommended Posts