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

 

Page Index Toggle Pages: 1 Send TopicPrint
Heading bug LVAR (Read 1052 times)
thefrog
Full Member
*
Offline



Posts: 8
Joined: Mar 26th, 2012
Heading bug LVAR
Apr 4th, 2022 at 4:42pm
Print Post  
Hi
I've made my own controls and use SPAD.Next and FSUIPC to program then but I cannot find the LVAR for the heading bug, which would be very useful to be able to control. Any help would be very welcome. Many thanks!
  
Back to top
 
IP Logged
 
Angel of Attack
Full Member
*
Offline



Posts: 249
Joined: Dec 15th, 2019
Re: Heading bug LVAR
Reply #1 - Apr 5th, 2022 at 11:38am
Print Post  
Here is what I use in LINDA:
Code
Select All
function CS_HDGKNO_DEC()
    ipc.writeLvar("L:L07_005_KNOB_C",-1)
    ipc.sleep(10)
    ipc.writeLvar("L:L07_005_KNOB_C",0)
end
function CS_HDGKNO_INC()
    ipc.writeLvar("L:L07_005_KNOB_C",1)
    ipc.sleep(10)
    ipc.writeLvar("L:L07_005_KNOB_C",0) 


It'll move constantly  when set to -1/1 so you must move it back to 0 if you want only move by clicks
  
Back to top
 
IP Logged
 
thefrog
Full Member
*
Offline



Posts: 8
Joined: Mar 26th, 2012
Re: Heading bug LVAR
Reply #2 - Apr 5th, 2022 at 12:23pm
Print Post  
Thank you very much, I'll try this
  
Back to top
 
IP Logged
 
thefrog
Full Member
*
Offline



Posts: 8
Joined: Mar 26th, 2012
Re: Heading bug LVAR
Reply #3 - Apr 5th, 2022 at 12:57pm
Print Post  
I used your suggestion using SPAD.Next and it worked perfectly. Many thanks!
  
Back to top
 
IP Logged
 
dleitao
Full Member
*
Offline



Posts: 9
Joined: Dec 15th, 2019
Re: Heading bug LVAR
Reply #4 - Sep 20th, 2022 at 11:11am
Print Post  
Hi. I'm quite interested in knowing how to do this. I'm a very basic user of FSUIPC and I have Spad.Next installed. Maybe someone can explain how to program this into FSUIPC/Spad.Next?

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