Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

 

Page Index Toggle Pages: 1 Send TopicPrint
SDK (Read 459 times)
Skipy
Full Member
*
Offline



Posts: 22
Joined: May 28th, 2018
SDK
Apr 4th, 2021 at 9:10pm
Print Post  
Hi,

Is an SDK documentation already available so I can program my VRi MCP with ipc.controls and LVars? It was very easy to use it for the 757 and 767 instead or searching information with scan tools.
  
Back to top
 
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 11998
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: SDK
Reply #1 - Apr 5th, 2021 at 1:46am
Print Post  
No SDK yet
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 10 Pro 64 - FSX/FSX-SE/P3D3/P3D4/P3D5
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
EY
CS Team
*
Offline



Posts: 162
Location: Canada
Joined: Nov 9th, 2005
Gender: Male
Re: SDK
Reply #2 - Apr 5th, 2021 at 4:00pm
Print Post  
  

Back to top
WWW  
IP Logged
 
Skipy
Full Member
*
Offline



Posts: 22
Joined: May 28th, 2018
Re: SDK
Reply #3 - Apr 5th, 2021 at 9:33pm
Print Post  
EY wrote on Apr 5th, 2021 at 4:00pm:


Perfect Smiley. Thanks a lot.

Skip.
  
Back to top
 
IP Logged
 
Skipy
Full Member
*
Offline



Posts: 22
Joined: May 28th, 2018
Re: SDK
Reply #4 - Apr 17th, 2021 at 3:47pm
Print Post  
Hum,
I've just started to program my VRi MCP using the SDK and I have issues with I don't have with 757/767 products.

First function with battery switch and writing to O07_004_CAP and O07_004_SW2 LVars has no effect at all. Ok I'll use standard FS command to switch it on and off.

Then I wanted to start the APU. Writing to O17_001_SW3 LVar makes the switch move correctly (0=Off, 1=On, 2=Start) but nothing really happens. APU doesn't start. If I use the mouse to start it up and then use ipc.writeLvar("L:O17_001_SW3", 0) to switch it off, the switch is moving to off but the APU is still running?

Are you sure the SDK is fully implemented?

Skip.


  
Back to top
 
IP Logged
 
Skipy
Full Member
*
Offline



Posts: 22
Joined: May 28th, 2018
Re: SDK
Reply #5 - May 9th, 2021 at 9:15pm
Print Post  
No answer?
  
Back to top
 
IP Logged
 
EY
CS Team
*
Offline



Posts: 162
Location: Canada
Joined: Nov 9th, 2005
Gender: Male
Re: SDK
Reply #6 - Jun 8th, 2021 at 6:12pm
Print Post  
Sorry for the late response  Embarrassed
1) For battery on/off - you can use the standard FS command, or, set 2507004 to (L:klid). How to use klid is written in the CS737CLASSIC_MANUAL_PART6.pdf
2) APU. It's a bit more complicated. To start APU the pilot has to hold the start position for more than 2 seconds. So, set the value 2 to O17_001_SW3 and set the value 2517001 to klid variable.
  

Back to top
WWW  
IP Logged
 
Skipy
Full Member
*
Offline



Posts: 22
Joined: May 28th, 2018
Re: SDK
Reply #7 - Jun 15th, 2021 at 1:44pm
Print Post  
Thanks for the answer. I'm resuming my work on the CS737 now Smiley. With the other models klid method was not necessary for switches...

Skip.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
 
  « Board Index ‹ Board  ^Top