Gremlin77 Posted May 20, 2012 Posted May 20, 2012 Hi, wondering if anybody has an idea on how to export the PRESET Channel of UHF and VHF Radios with the export.lua. Managed to set up the hole radio panel with working switches and rotary encoders, changing and displaying Frequency on 7-segment-LEDs But have no idea about the preset.... Hope someone can help visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Gadroc Posted May 20, 2012 Posted May 20, 2012 I believe these are can be configured in the mission. There was discussion earlier about how to extract mission data and use in a Helios profile. Not sure how far anyone got with it, but here is a thread about it.
Gremlin77 Posted May 20, 2012 Author Posted May 20, 2012 hi gadroc, thanx for information. but i just want to extract the channel number. i can change the channel number with my hardware. but i have to get the actual preset channel number for exporting via sioc to the 7segment display. any idea? visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Duckling Posted May 20, 2012 Posted May 20, 2012 Haven't yet tried to get the freq info out of DCS myself but if the 'current' set freq can be extracted, could the info you looking for be possible by itarate/stepping through each channel ? i.e. creating a function or a SIOC script that select pre channel 1, get the current freq and load it to a sioc var "prechan_1", select chan +1 and so on ? I'm a bit out in deep water here but just a thought - - - -
Gadroc Posted May 20, 2012 Posted May 20, 2012 Ahh sorry. You extract the preset channel number the same way you do with the dial info. If you are just pulling the currently tuned frequency instead of pulling the dial position you will run into problems.
Gremlin77 Posted May 21, 2012 Author Posted May 21, 2012 okay thank you, i will give it a try. hope it works. will send some pictures on my threat. visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Gremlin77 Posted May 21, 2012 Author Posted May 21, 2012 super, works fine. dont know why i had the same idea, cause i export the actuall frequency by getting the dial value..... sometimes i think i am getting old...... visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Gremlin77 Posted May 21, 2012 Author Posted May 21, 2012 why i didn't have the same idea, so its right......my english is so bad, damn it visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Recommended Posts