Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VRinsight combo panel & JS41

Featured Replies

next question =)i got myself the mcp combo panel from vrinsighti found several post with people quite happy about itand also a post with additional lua key commands via fsuipcon this forumbut what aircraft do you guys choose in serial fp2?ive updated fsuipc and also have the newest version of serial fp2(both installed under administrator priviledges)but several things wont work on the combo panel eg. ap heading,enable/disable autopilotand if i want to set keycommands for buttons through fsuipcit seems that fsuipc wont register the button pressi can press arround on all buttons and nothing happenesbut if i press a button in a throttle quadrant from saitek it works instantlyam i missing something? does anyone have a tip that has his/her combo panel working?thank you

Mike Karlsky

Hi Mike,You need to set up FSUIPC to work with the VRi hardware before it will recognise the buttons and dials etc on the MCP Combo. Please see Appendix 3 in the Advanced Users Guide that comes with FSUIPC.

Cheers, Andy.

  • Author

alright, thank you andyfor anyone strugling to find the advanced manual: check the modules folger in your fsx folderthere might be 2 pdf's one with apendix 3 and 1 without it (like in my case) dont panic, just check for the other pdf in the same dir or sub-diri didnt quite get the meaning behind all the com ports describednote, the 1st two port you setup in VSPE are:- 1 the port serial fp2 will be using in future (note dont use >90 as serial fp2 wont let you choose it)- 2 the port fsuipc will be usingthen the two ports in fsuipc.ini:- 1 is the actual com port the panel uses (the one used if you just run serial fp2 without anything else open)- 2 the 2nd port from the VSPE setupnow fsuipc recognizes the buttonsbut im still struggling with the heading knobwhat aircraft do you chose in serial fp2 for the js41?maybe that will help, i tried 2-3 things where the heading knob will work, but other things wont, or my mouse suddenly just starts doing rightclicks nonstop and i can only save myself with alt-f4 (ctrl+alt+delete wont work) =)

Mike Karlsky

  • Author

it seems i have another problem =)i wanted to try and simply assign a mouse macro to the heading knob (and all other things that dont work yet)so i open up fsuipc, click on buttons+switches and click on create mouse macronext i enter "js41" and click ok and ok againback in the cockpit i click arround on the heading knob, but nothing happenesas far as i know, a window should open up now, where i can enter the macro namebut nothing happenes =/i tried running fsx normally and as admin and also tried exiting fsuipc with cancel instead of okand also tried different buttons and even aircrafts (fsx-standard included)but the window to enter the macro name just wont showam i doing something wrong?

Mike Karlsky

Mouse macros don't work on items in the VC, they only work on 2d panels and even then only on panels that are programmed in a certain way, XML gauges for example won't work with mouse macros. For the Jetstream for the most part you need to use the Lua scripts that were created by one of the forum members, you will find them in the FSUIPC forum in the user contributions section. All the hard work has been done already, it's just a case of assigning buttons and dials on the VRi hardware to the various scripts after you have installed them to the modules folder.Look here.

Cheers, Andy.

  • Author
Mouse macros don't work on items in the VC, they only work on 2d panels and even then only on panels that are programmed in a certain way, XML gauges for example won't work with mouse macros. For the Jetstream for the most part you need to use the Lua scripts that were created by one of the forum members, you will find them in the FSUIPC forum in the user contributions section. All the hard work has been done already, it's just a case of assigning buttons and dials on the VRi hardware to the various scripts after you have installed them to the modules folder.Look here.
aah alright thank you, i had the lua part but it seems i missed the macro parti got the lua working but not the macrosi created a file "js41.mcro" in the same directory as the "js41.lua"but unlinke the lua i cant find the mcro in the dropdowndo i have to place the mcro somewhere else?

Mike Karlsky

You are lucky you just caught me, I was about to go to bed.They should appear in the drop down list, they should start with JS41.Heading etc etc if you did everything correctly. The file goes in the same modules folder, don't forget to restart FSX too.

Cheers, Andy.

  • Author
You are lucky you just caught me, I was about to go to bed.They should appear in the drop down list, they should start with JS41.Heading etc etc if you did everything correctly. The file goes in the same modules folder, don't forget to restart FSX too.
cheers ill give it another try, thank you and good night

Mike Karlsky

  • Author

got everything working =)the only "bugs" left are that i can only turn the heading slowly and the value shown on the panel is different from the one in fsx

Mike Karlsky

  • Author

ive been thinking...has anyone tried calling the heading multiple times through a lua?as it basically appears as if one click on the panel seems to be morethan a click through the macromy thaught was, when a click is trigered through the panelit just needs to be performed multiple times, to basically synchronize itie. through a lua

Mike Karlsky

If you PM the chap that wrote the profile I'm sure he will fix it for you, he did what you suggested in a few of his other scripts for other aircraft, he may have forgotten to do it for the Jetstream, I've not really looked closely at the script to be honest. Most of the dials in the VRi hardware have two speeds for each function,i.e. fast and slow, so they appear as four assignable functions for each dial. You could then assign an increase and decrease function through the Lua that would change by 5 degrees/steps for each tick of the fast function.

Cheers, Andy.

  • Author
If you PM the chap that wrote the profile I'm sure he will fix it for you, he did what you suggested in a few of his other scripts for other aircraft, he may have forgotten to do it for the Jetstream, I've not really looked closely at the script to be honest. Most of the dials in the VRi hardware have two speeds for each function,i.e. fast and slow, so they appear as four assignable functions for each dial. You could then assign an increase and decrease function through the Lua that would change by 5 degrees/steps for each tick of the fast function.
yep i tried setting the macro 2ce for the fast dial (1ce for the action and 1ce after the action)but that doesnt help much, if i turn 180º it turns about 10º in fsx =)i couldnt find a solution for the js41, just someone that mentioned that hes got it working (but not how)im going to give it a try making my own lua, even though i dont quite understand how it works =)if that someone (Kensi) that has it working, has a tip for me - its more than welcomethank you

Mike Karlsky

  • Author

alright, got it workingjust didnt find the VS parameters, some of the press'es wont work and altitude/speed isnt synchronized =/probably because the panel starts with a different value than the js41 in fsx - might there be a way to set this on start?but its faar better than before =)created a new lua called js41_ap.luawith the following:

-- Test Lua			1-- AP Course Left		6-- AP Course Left Fast		7-- AP Course Right		8-- AP Course Right Fast		9-- AP Course Press		10-- AP Speed Left		11-- AP Speed Left Fast		12-- AP Speed Right		13-- AP Speed Right Fast		14-- AP Speed Press		15-- AP Heading Left		16-- AP Heading Left Fast		17-- AP Heading Right		18-- AP Heading Right Fast	19-- AP Heading Press		20-- AP Altitude Left		21-- AP Altitude Left Fast	22-- AP Altitude Right		23-- AP Altitude Right Fast	24-- AP Altitude Press		25-- AP V-Speed Press		30-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- if ipcPARAM == 1 then     ipc.display("Test...")end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP COURSE LEFTif ipcPARAM == 6 then  Var = "L:AP_CRS_Left"  Speed = 1  Control1 = 66587  Control2 = 26701endif ipcPARAM == 7 then  Var = "L:AP_CRS_Left_Fast"  Speed = 5  Control1 = 66587  Control2 = 26701end-- AP COURSE RIGHTif ipcPARAM == 8 then  Var = "L:AP_CRS_Right"  Speed = 1  Control1 = 66587  Control2 = 26702endif ipcPARAM == 9 then  Var = "L:AP_CRS_Right_Fast"  Speed = 5  Control1 = 66587  Control2 = 26702end-- AP COURSE PRESSif ipcPARAM == 10 then  Var = "L:AP_CRS_Press"  Speed = 1  Control1 = 66587  Control2 = 2672end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP SPEED LEFTif ipcPARAM == 11 then  Var = "L:AP_SPD_Left"  Speed = 1  Control1 = 66587  Control2 = 26801endif ipcPARAM == 12 then  Var = "L:AP_SPD_Left_Fast"  Speed = 10  Control1 = 66587  Control2 = 26801end-- AP SPEED RIGHTif ipcPARAM == 13 then  Var = "L:AP_SPD_Right"  Speed = 1  Control1 = 66587  Control2 = 26802endif ipcPARAM == 14 then  Var = "L:AP_SPD_Right_Fast"  Speed = 10  Control1 = 66587  Control2 = 26802end-- AP SPEED PRESSif ipcPARAM == 15 then  Var = "L:AP_SPD_Press"  Speed = 1  Control1 = 66587  Control2 = 2681end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP HEADING LEFTif ipcPARAM == 16 then  Var = "L:AP_HDG_Left"  Speed = 1  Control1 = 66587  Control2 = 26901endif ipcPARAM == 17 then  Var = "L:AP_HDG_Left_Fast"  Speed = 5  Control1 = 66587  Control2 = 26901end-- AP HEADING RIGHTif ipcPARAM == 18 then  Var = "L:AP_HDG_Right"  Speed = 1  Control1 = 66587  Control2 = 26902endif ipcPARAM == 19 then  Var = "L:AP_HDG_Right_Fast"  Speed = 5  Control1 = 66587  Control2 = 26902end-- AP HEADING PRESSif ipcPARAM == 20 then  Var = "L:AP_HDG_Press"  Speed = 1  Control1 = 66587  Control2 = 2691end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP ALTITUDE LEFTif ipcPARAM == 21 then  Var = "L:AP_SPD_Left"  Speed = 1  Control1 = 66587  Control2 = 3920endif ipcPARAM == 22 then  Var = "L:AP_SPD_Left_Fast"  Speed = 10  Control1 = 66587  Control2 = 3920end-- AP ALTITUDE RIGHTif ipcPARAM == 23 then  Var = "L:AP_SPD_Right"  Speed = 1  Control1 = 66587  Control2 = 3921endif ipcPARAM == 24 then  Var = "L:AP_SPD_Right_Fast"  Speed = 10  Control1 = 66587  Control2 = 3921end-- AP ALTITUDE PRESSif ipcPARAM == 25 then  Var = "L:AP_SPD_Press"  Speed = 1  Control1 = 66587  Control2 = 281end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP V-SPEED LEFTif ipcPARAM == 26 then  Var = "L:AP_VS_Left"  Speed = 1  Control1 = 66587  Control2 = 283endif ipcPARAM == 27 then  Var = "L:AP_VS_Left_Fast"  Speed = 10  Control1 = 66587  Control2 = 283end-- AP V-SPEED RIGHTif ipcPARAM == 28 then  Var = "L:AP_VS_Right"  Speed = 1  Control1 = 66587  Control2 = 283endif ipcPARAM == 29 then  Var = "L:AP_VS_Right_Fast"  Speed = 10  Control1 = 66587  Control2 = 283end-- AP V-SPEED PRESSif ipcPARAM == 30 then  Var = "L:AP_VS_Press"  Speed = 1  Control1 = 66587  Control2 = 283end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ipc.writeLvar(Var, 1)for i = 0, Speed, 1 do  ipc.control(Control1, Control2)end

Mike Karlsky

  • Author

ive updated it a little bit, with seting the action for the release action of the altitude knob helpsbut it still comes to unsynchronized values on panel comared to fsx - think i still need something to synchronize the valuesand it already starts with panel alt 4000 and fsx alt 10000 when starting up everythingi found a lua plugin from pete dowson that helps synchronizing the values on startupbut everything else wont work properly anymoreand i couldnt extract how he did it =/for the heading ie it works nicely, its just the problem with the altitude

-- Test Lua			1-- AP Course Left		6-- AP Course Left Fast		7-- AP Course Right		8-- AP Course Right Fast		9-- AP Course Press		10-- AP Speed Left		11-- AP Speed Left Fast		12-- AP Speed Right		13-- AP Speed Right Fast		14-- AP Speed Press		15-- AP Heading Left		16-- AP Heading Left Fast		17-- AP Heading Right		18-- AP Heading Right Fast	19-- AP Heading Press		20-- AP Altitude Left		21-- AP Altitude Left Fast	22-- AP Altitude Right		23-- AP Altitude Right Fast	24-- AP Altitude Press		25-- AP V-Speed Press		30-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Var = ""Speed = 0Control1 = 0Control2 = 0-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- if ipcPARAM == 1 then   ipc.control(66587, 8031)    ipc.display("Test...")-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP COURSE LEFTelseif ipcPARAM == 6 then  Var = "L:AP_CRS_Left"  Speed = 1  Control1 = 66587  Control2 = 26701elseif ipcPARAM == 7 then  Var = "L:AP_CRS_Left_Fast"  Speed = 5  Control1 = 66587  Control2 = 26701-- AP COURSE RIGHTelseif ipcPARAM == 8 then  Var = "L:AP_CRS_Right"  Speed = 1  Control1 = 66587  Control2 = 26702elseif ipcPARAM == 9 then  Var = "L:AP_CRS_Right_Fast"  Speed = 5  Control1 = 66587  Control2 = 26702-- AP COURSE PRESSelseif ipcPARAM == 10 then  Var = "L:AP_CRS_Press"  Speed = 1  Control1 = 66587  Control2 = 2672end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP SPEED LEFTif ipcPARAM == 11 then  Var = "L:AP_SPD_Left"  Speed = 1  Control1 = 66587  Control2 = 26801elseif ipcPARAM == 12 then  Var = "L:AP_SPD_Left_Fast"  Speed = 10  Control1 = 66587  Control2 = 26801-- AP SPEED RIGHTelseif ipcPARAM == 13 then  Var = "L:AP_SPD_Right"  Speed = 1  Control1 = 66587  Control2 = 26802elseif ipcPARAM == 14 then  Var = "L:AP_SPD_Right_Fast"  Speed = 10  Control1 = 66587  Control2 = 26802-- AP SPEED PRESSelseif ipcPARAM == 15 then  Var = "L:AP_SPD_Press"  Speed = 1  Control1 = 66587  Control2 = 2681-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP HEADING LEFTelseif ipcPARAM == 16 then  Var = "L:AP_HDG_Left"  Speed = 1  Control1 = 66587  Control2 = 26901elseif ipcPARAM == 17 then  Var = "L:AP_HDG_Left_Fast"  Speed = 5  Control1 = 66587  Control2 = 26901-- AP HEADING RIGHTelseif ipcPARAM == 18 then  Var = "L:AP_HDG_Right"  Speed = 1  Control1 = 66587  Control2 = 26902elseif ipcPARAM == 19 then  Var = "L:AP_HDG_Right_Fast"  Speed = 5  Control1 = 66587  Control2 = 26902-- AP HEADING PRESSelseif ipcPARAM == 20 then  Var = "L:AP_HDG_Press"  Speed = 1  Control1 = 66587  Control2 = 2691-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP ALTITUDE LEFTelseif ipcPARAM == 21 then  Var = "L:AP_SPD_Left"  Speed = 1  Control1 = 66587  Control2 = 3920elseif ipcPARAM == 22 then  Var = "L:AP_SPD_Left_Fast"  Speed = 10  Control1 = 66587  Control2 = 3920-- AP ALTITUDE RIGHTelseif ipcPARAM == 23 then  Var = "L:AP_SPD_Right"  Speed = 1  Control1 = 66587  Control2 = 3921elseif ipcPARAM == 24 then  Var = "L:AP_SPD_Right_Fast"  Speed = 10  Control1 = 66587  Control2 = 3921-- AP ALTITUDE PRESSelseif ipcPARAM == 25 then  Var = "L:AP_SPD_Press"  Speed = 1  Control1 = 66587  Control2 = 281-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AP V-SPEED LEFTelseif ipcPARAM == 26 then  Var = "L:AP_VS_Left"  Speed = 1  Control1 = 66587  Control2 = 283elseif ipcPARAM == 27 then  Var = "L:AP_VS_Left_Fast"  Speed = 10  Control1 = 66587  Control2 = 283-- AP V-SPEED RIGHTelseif ipcPARAM == 28 then  Var = "L:AP_VS_Right"  Speed = 1  Control1 = 66587  Control2 = 283elseif ipcPARAM == 29 then  Var = "L:AP_VS_Right_Fast"  Speed = 10  Control1 = 66587  Control2 = 283-- AP V-SPEED PRESSelseif ipcPARAM == 30 then  Var = "L:AP_VS_Press"  Speed = 1  Control1 = 66587  Control2 = 283end-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --   val = 0  if ipc.readLvar(Var) == 0  then	val = 1  end  ipc.control(66587, 8031)  ipc.writeLvar(Var, val)  for n=1, Speed, 1 do	ipc.control(Control1, Control2)  end

Mike Karlsky

You can't syncronise things like the altitude and heading displays on aircraft that don't use default autopilot systems unless the developer supplies a way for companies like VRi to get this information from the aircraft with something like an SDK, similar to how Level-d did.

Cheers, Andy.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.