Is the a way to "Reset" the T-ILS page scratch pad?
-
I am trying to create a Voice Attack profile to change/set ILS channel and course.
I know how to set it but the sequence for it depends on the position of the cursor in the T-ILS page on the DED.
This position of the cursor stays in the last page position and i would like to reset it to a knows position so that the actions to change the ILS course/frequency will always be the same.e.g.
for frequency i simply enter the frequency and press enter
for ILS course i press DCS right & DCS down & enter the numberCurrently, since the position of the cursor is not knows this may vary.
-
I am trying to create a Voice Attack profile to change/set ILS channel and course.
I know how to set it but the sequence for it depends on the position of the cursor in the T-ILS page on the DED.
This position of the cursor stays in the last page position and i would like to reset it to a knows position so that the actions to change the ILS course/frequency will always be the same.e.g.
for frequency i simply enter the frequency and press enter
for ILS course i press DCS right & DCS down & enter the numberCurrently, since the position of the cursor is not knows this may vary.
Hey,
To move the cursor around, you would need to program voice command in your created voice profile for the DED panel like dcs up, dcs down, return, sequence, enter etc.
Check out this linked video though application is on some other flightsim
-
Yes, I know how to move and enter key and i already created my set of commands to do these via voice commands.
In any case such a command cannot check the the state of the cursor in the DED starch pad.
The issue I have with the ILS frequency and course derives from the fact that the actual action to perform - key presses, depends on the initial position of the cursor and since I do not know it I want to reset it to a known position before i issue my command. -
Oh I get it.
In my experience with that profile, the cursor default to the input section on the DED scratchpad where you enter radio frequency or channel preset by default.
Without voice attack, depressing com1 or com2 defaults to same point.
I would use the dcs switch down to move the cursor. -
It’s not COM1/2 its:
T-ILS and that stays in the last cursor position for this page -
I think for the cursor remaining at old position when you return to T-ILS page could be hard coded. Have no idea how that maybe set to go back to first position of the scratchpad.
Perhaps someone who know better will come along.
I would just use dcs control down voice command to move the cursor where I want between tacan channel/band, cmd strg, and CRS pads after which I just input my values. -
Technically you would be able to read the scratchpad position from SharedMemory. You might write a voice attack DLL plugin which includes SharedMem and read the current position of the carret out of the DEDLines string array
Visual Representation of DEDLines
-
Technically you would be able to read the scratchpad position from SharedMemory. You might write a voice attack DLL plugin which includes SharedMem and read the current position of the carret out of the DEDLines string array
Visual Representation of DEDLines
Can you direct me where I can find some more info regarding accessing the shared memory?
-
I think that’s only going to help you if your voice command program can read the shared memory and take action based on what it finds. Looking at the code, there’s no way in there right now to definitively place the input cursors on a particular field. That’s just not how the ICP works so there’s nothing in the code state machine that does what you are talking about since all the state machine does is implement how the real thing works and that just toggles the cursor around on pages that have more than one point of entry. I suppose you could try turning off the ICP/DED completely and then turning it on again…although to be honest I haven’t looked at the code to know whether that really does bring you back to a default state. Chances are that might be a cure worse than the pain though…might dump other state that you care about (mode selections and other sundry state that the ICP stores as it goes along).
-
Lightningtoos git in general
https://github.com/lightningviper/lightningstoolshttps://github.com/lightningviper/lightningstools/tree/master/src
F4SharedMemoryViewer is a C# app. You could review the source code of all SharedMem Variables apart of image based stuff which is located in SharedTexMemoru
Gesendet von meinem SM-G930F mit Tapatalk
-
I think that’s only going to help you if your voice command program can read the shared memory and take action based on what it finds. Looking at the code, there’s no way in there right now to definitively place the input cursors on a particular field. That’s just not how the ICP works so there’s nothing in the code state machine that does what you are talking about since all the state machine does is implement how the real thing works and that just toggles the cursor around on pages that have more than one point of entry. I suppose you could try turning off the ICP/DED completely and then turning it on again…although to be honest I haven’t looked at the code to know whether that really does bring you back to a default state. Chances are that might be a cure worse than the pain though…might dump other state that you care about (mode selections and other sundry state that the ICP stores as it goes along).
VoiceAttack offers the possibility to include your own dll as plugin. So a Voice Command could have a multi command script
opening DED page,
calling own dll
and
read actual carret position from SharedMem and return as value,
conditional VA script depending on returned value.Gesendet von meinem SM-G930F mit Tapatalk
-
Thanks,
I do have programming experience but not with C.
I’m sure that given an simple example I could try and extract what I need.
I’ll try and look for one but if you have one which you can share than it would be a good place to start with.
A function to read anything from the shared memory and return it…
I can paste it as a command in VA. -
VoiceAttack offers the possibility to include your own dll as plugin. So a Voice Command could have a multi command script
opening DED page,
calling own dll
and
read actual carret position from SharedMem and return as value,
conditional VA script depending on returned value.Gesendet von meinem SM-G930F mit Tapatalk
Interesting. I’m not familiar with VA but as you say – that could work. Very laborious though…I mean you’d have to home the DED and then bring up the T-ILS page before looking at the in-memory DED strings to find the cursor, compute the field shifts needed (if any) and input those just to get the scratchpad placed before you even think about entering the frequency.
-
I’ts working! I got help on another thread here.