Search found 14 matches
- Thu Sep 30, 2021 8:36 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: LVAR R/W using C/C++
- Replies: 4
- Views: 7187
Re: LVAR R/W using C/C++
The problem is you are trying to access local gauge variables and the only way to do that is through the pdk, not the simconnect interface. Simconnect can only access simulation variables. I actually think the 2nd suggestion I gave is what you want to do, because I did not see a function to set loca...
- Thu Sep 30, 2021 6:37 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: LVAR R/W using C/C++
- Replies: 4
- Views: 7187
Re: LVAR R/W using C/C++
Another possible work-around if the LVar is in an xml gauge, you could just register your own variables and callbacks in your c++ code and change the xml to read from your variable instead of the original one. You can access c++ registered variables like you would simulation variables in xml (ie. (A...
- Thu Sep 30, 2021 6:26 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: LVAR R/W using C/C++
- Replies: 4
- Views: 7187
Re: LVAR R/W using C/C++
From my understanding, local variables are global in scope in the prepar3d and you should be able to access them the same way you would simulation variables in c++ gauges as long as they are loaded before your c++ gauge. Basically you can look at radar alt sdk example to see how it is done. You need...
- Wed Sep 29, 2021 3:59 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: Accessing custom events in XML gauges
- Replies: 1
- Views: 5627
Accessing custom events in XML gauges
I know from the SDK documentation that we can access custom events in the range of eventIDs 0x11000 to 0x1FFFF through both simconnect and c++ gauges, but I was wondering if it is also possible through xml gauges? I would like to set a value on a custom event when the user clicks in the mouse area x...
- Sat Jan 23, 2021 5:56 am
- Forum: Software Development Kit (SDK) Questions
- Topic: IVRServiceV452 questions
- Replies: 0
- Views: 10117
IVRServiceV452 questions
Just a little background on what I am trying to do. We are trying to build an augmented reality simulator for our lab for upcoming research. We currently have a Vive pro, and I know we could use the standard pass through cameras to fill in the real world areas of our augmented reality sim using the ...
- Fri Sep 18, 2020 2:10 pm
- Forum: Prepar3D Professional Plus Client Application Questions
- Topic: MultiChannel not connecting issue
- Replies: 4
- Views: 13539
Re: MultiChannel not connecting issue
Okay, it didn't end up being a name resolving issue, what had happened was one of the other engineers here had installed a virtual box on the client computer, for some reason Prepar3d decided to bind to the virtual network adapter instead of the real adapter, so all the traffic was being diverted th...
- Fri Sep 18, 2020 1:33 pm
- Forum: Prepar3D Professional Plus Client Application Questions
- Topic: MultiChannel not connecting issue
- Replies: 4
- Views: 13539
Re: MultiChannel not connecting issue
I am using short names in the multichannel, I didn't know IP addresses were allowed for that. For the pinging I did just use the IP's of the 2 machines. I will give it a test today and see if either I can resolve the short names at the command prompt or if changing to IP addresses in the multichanne...
- Thu Sep 17, 2020 9:19 pm
- Forum: Prepar3D Professional Plus Client Application Questions
- Topic: MultiChannel not connecting issue
- Replies: 4
- Views: 13539
MultiChannel not connecting issue
I am having an issue with the multichannel feature for the Pro+ version of Prepar3d, basically yesterday I set it up for the first time and it worked as it should, but today the client instance of Prepar3d just sits at the "trying to find simulation for autostart" message box and never con...
- Tue Sep 01, 2020 9:01 pm
- Forum: SimConnect Interface Questions
- Topic: Connecting to a real aircraft/ raspberry pi
- Replies: 2
- Views: 33616
Re: Connecting to a real aircraft/ raspberry pi
I did something vary similar to what you are trying to accomplish. If you look at the linuxsimulation example in the SDK it offers a pretty good starting point for this type of project. If you start with that example, then Simulation::Update is where you will pass your aircraft state into P3D. Of co...
- Tue Sep 01, 2020 8:25 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: SimEvents in external simulation
- Replies: 0
- Views: 7327
SimEvents in external simulation
So a little background on what I am doing before I ask my question. I am basically using an aircraft to drive the simulation of P3D. We have the GUS provide flight state variables to prepar3d, using the linuxsimulation example from the SDK as the starting point for this project. Prepar3d then simula...
- Thu Feb 06, 2020 9:18 pm
- Forum: Simulation Object Development Questions
- Topic: P3D External Sim Driven Aircraft
- Replies: 4
- Views: 27161
Re: P3D External Sim Driven Aircraft
Never mind I am an idiot. I had hard coded a path looking for a configuration file that would return an E_FAIL result if it wasn't found, problem is I changed hard drives on the development computer and created a new user for myself but it was different from the default user we use here. So long sto...
- Thu Feb 06, 2020 7:54 pm
- Forum: Simulation Object Development Questions
- Topic: P3D External Sim Driven Aircraft
- Replies: 4
- Views: 27161
Re: P3D External Sim Driven Aircraft
Mike, that worked out great for getting me going. However, no I am running into a weird issue. I am developing the modified MFD on one computer and we are deploying it on a second computer. For a while it was working fine on both computers, but now on the computer I am developing on I get the error ...
- Tue Jan 28, 2020 1:38 pm
- Forum: Simulation Object Development Questions
- Topic: P3D External Sim Driven Aircraft
- Replies: 4
- Views: 27161
Re: P3D External Sim Driven Aircraft
Great, thanks Mike for pointing me in the right direction. I will see what I can get working.
- Mon Jan 27, 2020 10:56 pm
- Forum: Simulation Object Development Questions
- Topic: P3D External Sim Driven Aircraft
- Replies: 4
- Views: 27161
P3D External Sim Driven Aircraft
Basically, I am trying to use an in house simulator to drive P3D. Following the linuxsimulation example in the PDK samples I was able to get our simulator to send UDP packets to P3D and drive the position and orientation of the aircraft in P3D. So now I am attempting to get this to work with the F-3...