(UTC)
Welcome, Guest. Please
Login
or
Register
Board Index
Help
Search
Login
Register
CAPTAIN SIM FORUM
›
737 Classic
›
737 Classic - General
› SDK
‹
Previous Topic
|
Next Topic
›
Pages: 1
Send Topic
Print
SDK (Read 2926 times)
Skipy
Full Member
Offline
Posts: 25
Joined: May 28
th
, 2018
SDK
Apr 4
th
, 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.
IP Logged
Markoz
CS Team
Offline
Posts: 12360
Location: Victoria, Australia
Joined: Apr 24
th
, 2009
Gender:
Re: SDK
Reply #1 -
Apr 5
th
, 2021 at 1:46am
Print Post
No SDK yet
Mark Fletcher
PC:
i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop:
i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
IP Logged
EY
CS Team
Offline
Posts: 347
Location: Canada
Joined: Nov 9
th
, 2005
Gender:
Re: SDK
Reply #2 -
Apr 5
th
, 2021 at 4:00pm
Print Post
The manuals
and
list of the elements
WWW
YouTube
IP Logged
Skipy
Full Member
Offline
Posts: 25
Joined: May 28
th
, 2018
Re: SDK
Reply #3 -
Apr 5
th
, 2021 at 9:33pm
Print Post
EY wrote
on Apr 5
th
, 2021 at 4:00pm:
The manuals
and
list of the elements
Perfect
. Thanks a lot.
Skip.
IP Logged
Skipy
Full Member
Offline
Posts: 25
Joined: May 28
th
, 2018
Re: SDK
Reply #4 -
Apr 17
th
, 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.
IP Logged
Skipy
Full Member
Offline
Posts: 25
Joined: May 28
th
, 2018
Re: SDK
Reply #5 -
May 9
th
, 2021 at 9:15pm
Print Post
No answer?
IP Logged
EY
CS Team
Offline
Posts: 347
Location: Canada
Joined: Nov 9
th
, 2005
Gender:
Re: SDK
Reply #6 -
Jun 8
th
, 2021 at 6:12pm
Print Post
Sorry for the late responseĀ
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.
WWW
YouTube
IP Logged
Skipy
Full Member
Offline
Posts: 25
Joined: May 28
th
, 2018
Re: SDK
Reply #7 -
Jun 15
th
, 2021 at 1:44pm
Print Post
Thanks for the answer. I'm resuming my work on the CS737 now
. With the other models klid method was not necessary for switches...
Skip.
IP Logged
Knoblet
New Member
Offline
Posts: 4
Joined: Jan 29
th
, 2019
Re: SDK
Reply #8 -
Jul 21
st
, 2021 at 12:47pm
Print Post
What parameters should be used for the engine start levers
P10_010_LVR and P10_011_LVR?
Using an FSUIPC mouse macros set to drag via an Honeycomb throttle button works ok setting to idle but cutoff does not. Parameters used are 0 and 100
IP Logged
Skipy
Full Member
Offline
Posts: 25
Joined: May 28
th
, 2018
Re: SDK
Reply #9 -
Jul 24
th
, 2021 at 9:32pm
Print Post
To stop engines I'm using:
ipc.writeLvar("P10_011_LVR", 100) -- Fuel R
ipc.writeLvar("P10_010_LVR", 100) -- Fuel L
For startup I'm cheating using default autostart engines function:
ipc.control(66224)
IP Logged
Knoblet
New Member
Offline
Posts: 4
Joined: Jan 29
th
, 2019
Re: SDK
Reply #10 -
Jul 28
th
, 2021 at 7:23pm
Print Post
Thanks Skipy. I will try again.
I use a GoFlight MCPPRO and have managed to program all buttons and switches on the aircraft MCP via GIT (Goflight Interface Tool from Pollypot software) but this software does not recognise the 7 rocker switches on the Bravo so cannot program them, hence the FSUIPC mouse macro. The two remaining problems (well not much) for the MCPPro are IAS displaying -1 in VNAV and -8100 when not in VS. All other modes are fine.
IP Logged
Gary Anderson
New Member
Offline
Posts: 2
Joined: Aug 6
th
, 2021
Re: SDK
Reply #11 -
Aug 13
th
, 2021 at 8:36pm
Print Post
Aloha,
After trying to get Klid to work with Glareshield functions, and I know of others with input issues, I kinda found a work around.
I have a registered FSPUIC to be clear. I use the mouse macro for momentary buttons, switches etc.
Recall was giving me fits, active errors wound not latch. So here is my fix to get the latching and click. After getting the mouse macro, I modify with a p for push. than I copy it and name it with a r, and use mouse modifier 13 for release. I use Mobiflight and use the Lua function for my hardware, So far it has worked with ap and Glareshield functions. Hope it may help someone else.
[Macros]
1=Recallp=RX4000027d,3
2=Recallr=RX4000027d,13
3=MasterCautionp=RX400000ee,3
4=MasterCautionr=RX400000ee,13
5=FireWarnp=RX400000ef,3
6=FireWarnr=RX400000ef,13
Gary Anderson
Hilo Hawaii
IP Logged
Gary Anderson
New Member
Offline
Posts: 2
Joined: Aug 6
th
, 2021
Re: SDK
Reply #12 -
Aug 20
th
, 2021 at 10:38pm
Print Post
Proof of concept testing for home cockpit based on the CS 737-300, so far all is working well. Thanks much Captain Sim, Loving the plane so far.
Mahalo,
Gary Anderson
Hilo Hawaii
Testing.png
( 1215 KB | 60 Downloads )
IP Logged
Pages: 1
Send Topic
Print
‹
Previous Topic
|
Next Topic
›
Forum Jump »
Board Index
» 10 most recent Posts
» 10 most recent Topics
General
TYPICAL ISSUES
Hangar talks
MSFS2020
717 Captain
Hot Air Balloon
777 Captain III
767 Captain III
C-130 Captain
764 Captain
737 Classic
737 Classic - General ««
737 Classic - Wish list
737 Classic - Tech issues
767 Captain II (P3D4)
767 Captain II - GeneralĀ
1011 Captain II
1011 Captain II - GeneralĀ
777 Captain II (P3D4)
777 Captain II - General
757 Captain III
757 Captain III - General
737 Captain
737 Captain - General
1011 Captain (32-bit)
777 Captain (32-bit)
777 Captain (32bit) - General
727 Captain
727 Captain
Weapon for FSX
Weapon for FSX
B-52 Driver
B-52 Driver
707 Captain
707 Captain
767 Captain (FSX)
767 Captain (FSX)
CS Weather Radar
CS Weather Radar
757 Captain
757 version 4.x (FSX ONLY)
757 version 1.x-2.x (FS9 ONLY)
C-130 X-perience
C-130 X-perience - General
X-Load
XLoad
Space Shuttle
Space Shuttle
FS9
Legendary 727
Legendary 707
Legendary C-130
L-39, MiG-21, F-104, Yak-3
« Board Index
‹ Board
^Top
CAPTAIN SIM FORUM
» Powered by
YaBB 2.6.0
!
YaBB Forum Software
© 2000-2024. All Rights Reserved.